It is an automatic test running application. It lets you to run a set of test's applications. You can easy configure running process with .xml project file. Working on OS Windows.
All information about your test(s) after running is saved in .txt and .html formatt and you can check if some tests failed and why. If you run your test(s) immediately, you can see that information on screen in console mode.
- Create directory “TestSuite”.
- Copy trs.exe and TRSLibrary.dll into “TestSuite”.
- Create Suite.xml file there as in the example.xml
Add test execution file in “TestSuite” directory and set execution tag with name of your execution file into Suite.xml file
Set return value of your test into Suite.xml file in result tag.
Open command line in “TestSuite” directory
Execute “trs.exe run -p .”
- Run - run tests.
- List - write list of tests in current folder.
- Validate - write information about current folder (if everithing is Ok with .xml and .exe files).
- Pause - pause tests running.
- Stop - stop tests running.
- -p D:\TestStructure - set path to your test's folder
- -n Test1 - set name of test(s) which you want to run
- -t Release - set tag of test(s) which you want to run
- -j 17 - set amount of threads for test(s) running
- -log D:\TestStructure - set path for .txt reporter
- -hlog D:\TestStructure - set path for .html reporter
There is more comfortable way to use it if you don't like to work with console! Just run TRSui.exe file and you will be able to manipulate functionality in the other way. You will see application window where you will be able to add you folder(s), to set all parameters, to watch information about each test just by clicking on right mouse button on it in tree view. If you will run test(s) by clicking Run button, you will see the result of each test's running in the same window. If you don't want to run test(s) immediately, you can even set time for application to do this automatically (once or more).