We have a large amount of legacy C++ code in shared libraries that are used on dozens of products. Ignoring the pros and cons of automatically generating tests (that's a discussion for another day), does anyone have any recommendations for a tool that would analyse the source and generate a set of tests to exercise that code?
Ideally it would be a Windows tool, Linux might be okay if absolutely necessary.
To generate unit tests, your types must be public. Open your solution in Visual Studio and then open the class file that has methods you want to test. Right-click on a method and choose Run IntelliTest to generate unit tests for the code in your method. IntelliTest runs your code many times with different inputs.
Answer: Selenium is a UI Functional testing tool and is used for web-based applications. It automates User interface testing through different language bindings and can run tests on multiple browsers and OS combinations.
ABAP Unit ABAP Unit is a testing tool used for automatic and manual test processes. It has both a free version as well as a commercial version, just like Embunit. The entire testing process from programming to implementation can be done in ABAP, allowing the user to scrutinize a unit of code for errors.
Unit testing can be done manually but is usually automated. Unit testing is a part of the test-driven development (TDD) methodology that requires developers to first write failing unit tests. Then they write code in order to change the application until the test passes.
I've heard Parasoft mentioned a few times. I've never used their products, but the article "Change Software Without Fear" (written by one of their employees) covers automatic test generation ("behavioral regression testing," they call it) in a non-salesy fashion and touches briefly on their software.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With