Implement a very basic core with a small number of packages

Assignment Help C/C++ Programming
Reference no: EM132291440

Project - Local Test Harness

Purpose: Developing software consisting of multiple packages requires frequent testing. If the software has complex features, we want to build it incrementally. First design and implement a very basic core with a small number of packages, then add features one-at-a-time by adding new packages, or adding a few lines of code to an existing package. Each time we add new functionality, we build and test. That way, if additions break existing code, we know where to look, e.g., in the newly added few lines of code. A test harness allows us to use that incremental process efficiently.

A test harness should allow us to define and aggregate many small tests, each of which run with exception handling and results logging. Our goal is to do that without littering our code with many try-catch blocks and many logging statements. The technique we use to do that is to define, in the test harness, an execution function that accepts a callable test object - function pointer, functor, or lambda - and invokes the object within the scope of a try block. A catch clause displays exceptions and returns false to indicate test failure. Otherwise the executor returns the test predicate returned by the test object, e.g., true or false for pass or fail.

The test executor also provides results logging with predefined messages. Your test harness should define several levels of loggin, e.g., just pass or fail, or more detailed, test-specific messages, or very detailed debugging messages, which display a time-date stamp and the values of key test-defined variables.

The test harness provides a mechanism to link any number of tests into a test sequence. Typically, during development, we keep adding tests for each new feature, and can rerun tests just for that feature, or all the tests of all the features, to insure that the new addition didn't break existing functionality.

Requirements: Your Local TestHarness Project:

1. Shall be prepared using the latest version of Visual Studio, and written in the standard C++ programming language, using the standard C++ libraries.

2. Shall use Visual Studio, Community Edition available at no cost.

3. Shall provide packages for an Executive, TestHarness, Logger, and FileManager.

4. Shall accept a TestRequest XML string defining one or more test elements. naming dynamic link libraries.

5. Each test element shall contain a testDriver element and one or more testedCode elements, naming dynamic link libraries.

6. TestDrivers shall implement an ITest interface1 that declares a test method taking no arguments and returning a boolean value indicating test pass or failure.

7. The TestDriver library shall also define a factory method of creating instances of the test driver.

8. On receiving a TestRequest, the TestHarness shall parse the request, load the corresponding libraries, sequentially create instances of each TestDriver using its factory method, and log pass-fail status of each test, along with a time-date stamp.

9. Shall provide one or more TestRequests that conduct testing of at least three of your project packages.

10. The Executive package shall provide processing to demonstrate that these requirements are met, by using facilities of the TestHarness.

11. Note: Please make sure that all the requirements are met and I need .h files and .cpp files for Executive, TestHarness, Logger, and FileManager.

Attachment:- Assignment Files.rar

Verified Expert

In this assignment we will do Ad-hoc simulation with 20 mobile nodes using NS2 simulator. We study and analysis various wireless protocol and their performance under different combinations of routing protocols AODV, DSDV. The routing protocols main functioning has to find route of forwarding data packets from the source node to the destination node. We evaluate and compare two routing protocols AODV DSDV. We evaluate the protocol using effective factor of the number of nodes based on outputs of delay and throughput rate .

Reference no: EM132291440

Questions Cloud

Conflict management within the organisational perspective : Conflict management within the organisational perspective is the process where the negative aspects borne out of conflict can limited thereby developing those
Case study - reviewing leadership styles overlaps : MGNT803 - Organisational Behaviour and Management - University of Wollongong - Sydney Business School - Case Study - Reviewing leadership styles overlaps
Which statements about the elitist theory is not true : The elitist theory holds that a power elite acts as a gatekeeper to the public policymaking process. Which statements about the elitist theory is NOT true
Write a program that prompts the user for a string : To test your function write a program that prompts the user for a string. Read the string character by character and pass each one to the bear function
Implement a very basic core with a small number of packages : Project- Local Test Harness. Developing software consisting of multiple packages requires frequent testing. Design very basic core with small number of packages
Civil actions n the state courts of florida : What Florida Rules govern civil actions n the state courts of Florida?
What is the legal theory of respondeat superior : What is the legal theory of respondeat superior and what is a court case that shows this theory
What is computrons net operating profit after taxes : Describe the organizational forms a company might have as it evolves from a start-up to a major corporation. List the advantages and disadvantages of each form
Implement decisions at discretion : What are three factors that can permit the lower court to implement decisions at their discretion?

Reviews

len2291440

4/23/2019 4:33:54 AM

Attached please file the Project 2. Please strictly follow the requirements specified in the word file named as Project 2. Note: Please make sure that all the requirements are met and I need .h files and .cpp files for Executive, TestHarness, Logger, and FileManager. The Executive package shall provide processing to demonstrate that these requirements are met, by using facilities of the TestHarness.

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd