Reference System for implementing Test-Methods to then be implemented into Barrakuda
Prerequisites: https://github.com/xdoo/mdsd <- Pull repository and follow the build instructions so that all artifacts are deployed in your local maven repository
- Edit the model .mdsd/referencesystem.barrakuda to your liking
- Execute
mvn compile
to start the barrakuda generator
Prerequisites: https://github.com/xdoo/gaia-common <- Pull repository and follow the build instructions so that all artifacts are deployed in your local maven repository
- Go to the
src
-directory mvn package
executes unit-, integration-, component- and consumer driven contract tests and builds executablejar
s for every service- Run
startServices.cmd
(for windows) or run all services manually. Wait for all services to startup fully - Extract `src/ETE Test Kongo/apache-jmeter-3.1.zip
- Run
apache-jmeter-3.1/bin/jmeter.bat
(for windows) and open the configurationsrc/ETE Test Kongo/End-To-End Test Kongo.jmx
- Execute the tests by clicking on the green "play"-Button. The results can be seen under
View Results Tree
- On systems with low RAM or slow CPUs it can happen that tests fail due to long response times. Running the tests more than once fixes this problem.
- Go to the
src
-directory - Execute
mvn cobertura:cobertura
. This will run all tests except the end-to-end tests and generate a coverage report for each module undertarget/site/cobertura/index.html