Objectives
Develop testing specification and the ability to automate testing
Assignment
An important aspect of any project is a solid testing plan. Testing can be done manually or also automated through the use of automated test tools (please see lecture below on Creating Automated Tests in VS). For this assignment there are 2 aspects.
1. Developing a list of tests necessary for validation of the project
2. Demonstration of ability to do automated testing
Please note that you do not need to have automated testing for all aspects of the project. Testing your application at its best can be done through a combination of manual and automated testing. For this assignment you must
1. Develop a software test plan
2. Demonstrate at least one automated test and document.
There are plenty of software test plan templates available over the internet. For the scope of your project I recommend a template that at its basic core describes the test, specifies manual or automated and gives an overview of your testing strategy.
You will submit a document that has your test plan for your project and in the document indicates your technology and methodology for automated testing. You may use ANY automated testing tool. I recommend NUnit (http://www.nunit.org/index.php?p=home ) or the built-in testing capabilities of .NET.
Information
NUnit test framework – http://www.nunit.org/index.php?p=home
Lectures on getting started on building testing suites – Topic – Testing Your Code
Step by Step on how to create and use Unit Test – https://msdn.microsoft.com/en-us/library/ms182532.aspx
Estimated Completion Time
About 10 hours for research and implementation
Supporting Lectures
Lecture – Creating Unit Tests in Visual Studio
Questions and Answers
This is extremely straightforward. Good coding design involves not only the interface and back-end, but also the testing framework and automated test suites.
External Resources
Learn all about the Intellitest capabilities of VS – https://msdn.microsoft.com/en-us/library/dn823749.aspx
Another good article on unit testing as it applies to VIsual Studio projects – https://www.visualstudio.com/en-us/get-started/code/create-and-run-unit-tests-vs
And yet another – https://msdn.microsoft.com/en-us/library/ms182532.aspx
Grading Criteria
Full credit for viable testing and test suites.