This project contains a set of test projects to improve the quality of inspectIT. Please note that our unit tests are - as usual - contained with the code base of core inspectIT.
This project contains a set of tests that we use to manual perform regression tests on inspectIT. These test cases are meant to be run with an inspectIT agent attached to test the whole chain from agent to server to ui.
This project is structured as a set of testng testcases that perform a set of operations for the different sensors we have in inspectIT. We chose testng as this provides a well-defined structure and reporting for the tests.
Bear in mind that this is not an automated regression test in which the test cases themself report back in case of an error, but we use the testcases to structure the tests themselves. If a test succeeds this does not signal that the functionality is working (e.g. the UI does not display the information correctly, the server drops the data, ...)
The tests are meant to be run within the IDE of your choice by executing the LaunchTest.launch file (preferred) or by executing the testng suite at resources/testng/testng.xml (Running the test without the launch configuration will not integrate the java agent).
- Ensure that you [setup the development environment!] (https://inspectit-performance.atlassian.net/wiki/display/DEV/Development+Environment). Especially ivy and testng are required.
- Checkout the inspectIT core project
- Run the inspectIT Server (CMR)
- Run the test by executing the file "LaunchTest.launch" (in Eclipse you can easily right-click -> Run-As -> Launch Test
- Check the output within your IDE or navigate to test-output/index.html
If you realized a new (or enhanced and existing) feature please add additional tests.