(Article originally published in SDJournal)
This article presents an easy step-by-step formula that will get from code to a comprehensive test plan, that includes a complete set of unit test code, using the free Agile/ICONIX add-in for EA.
Here are the 6 steps that we’ll follow:
1)Reverse engineer some code
2)Generate tests from Class Operations
3)Add test scenarios in EA’s testing view
4)Transform the test cases to test classes
5)Generate the unit test code from the test classes
6)Generate a test plan report
We’ll illustrate this approach one step at a time in this article, using some reverse engineered ActionScript (Flex) code from the example project we built while writing Design Driven Testing.