Homework 5, Testing the DLCL List class.
Short Description:
Continue the Development of the test suite for the DLCL Class started in class.
This assignment is worth 20 points.
Goals
When you finish this homework, you should have:
- Used the BOOST Test Library Framework
- Employed gcov
- Developed and implemented a thorough test plan for your DLCL class.
- Developed robust unit tests for your DLCL class.
Formal Description
Continue developing the test framework from class for your DLCL class. Specifically you should
- Develop a test plan where you describe how you intend to test the different methods for your class. This should include
- A statement of the purpose for each test
- A basic algorithm for the test.
- A description of the input cases you will use.
- A corresponding description of the output you expect to see.
- If not completely obvious, a description of how you will validate the test results. (IE compare expected output with the output you received).
- You should thoroughly test the following
- InsertAfter
- Delete
- Overloaded Assignment operator
- Copy constructor
- In addition you should employ gcov to assure that 100% of the code in your class has been executed.
Additional Note
A certain amount of this will be subject to my judgment on what thorough testing means. I expect your coverage to be at least as thorough as the coverage discussed in class.
In your documentation, you should demonstrate that you have designed tests to cover the specification as well as covering edge cases.
Minimal effort will receive minimal credit.
Required Files
A single tar file containing the source code, makefile and written documentation for this assignment.
Submission
Submit your tar file to the D2L assignment folder Homework 5.