| |
Alex's latest addition to SWEA is the ability to do NUnit test generation using his SWEA TestDriver. The SWEA TestDriver gives you the ability to run SWEA script files (*.hsc) as NUnit tests.
Integrating with NUnit is REALLY simple now. All you have to do is record your test using the SWEA Designer and then click the "Generate Unit Test Code" icon. When you click the icon a SWEA project, script, and C# file are generated for you. After SWEA does the generation, you can then easily add the C# file to a Visual Studio Project, add the SWEA TestDriver and NUnit as references, and then run the test in NUnit. Adding new/additional tests can be done through the SWEA Designer (which will add them to the already created .hsc file).
After working through the fact that SWEA requires the latest version of Nunit (2.2.7) I was able to have a simple test created and running in NUnit in just a few minutes. Really cool! Download the SWExplorerAutomation V1.7.8.2 (with NUnit test generation) here. Download my sample Visual Studio project here. Download the latest version of NUnit here.
The power of automating functional testing with NUnit as a test harness is growing. It's really cool and very productive when developers and QA can use the same tools to test (Developers can write there unit tests for NUnit and QA can tack on their automated functional tests by using SWEA). Here's another cool thing to think about, instead of attaching screenshots and writing meticulous steps to reproduce in your defect you can attach your SWEA *.hsc and *.htp file for the developer to re-create the issue... GoogleNUnit_updated.zip (98.26 KB) |
|