-
Notifications
You must be signed in to change notification settings - Fork 3
Extended CI use case
msporna edited this page Jul 2, 2019
·
1 revision
- lava server is running constantly on some VM
- clean checkout app under test
- instrument app
- send post request to
/assign_new_files_to_module
to assign newly found sources to some module (if any new sources) , if module not found will be created and then sources assigned - start new test session via POST to
/set_test_session_start
- do the testing
- end test session via GET to /set_test_session_end
- view latest report by visiting [lava_url]/report/latest
- not that also there is always html report generated in the physical path of instrument_server.py whenever report is opened, so it can be picked up and emailed etc.
sample request to '/assign_new_files_to_module' endpoint: curl -X POST http://localhost:5000/assign_new_files_to_module -H 'Accept: /' -H 'Cache-Control: no-cache' -H 'Connection: keep-alive' -H 'Content-Type: application/json' -H 'Host: localhost:5000' -d '{"module_name":"moduleX"}'
POST requests do not require any authentication (not implemented).
- How it works
- Initial setup
- Setup for Unity game
- Setup for Android app
- Setup for javascript
- Setup for Angular app
- GETTING THE COVERAGE
- Getting coverage for build (multiple coverage sessions consolidated
- Setup modules
- Managing tags
- Managing users
- Create and End test session automatically (CI)
- Instrumenting code on every iteration
- Coverage report explained
- Accessing latest report
- How to interpret covered lines report
- Config explained
- Settings
- Send custom values along with line statistics
- Examples
- Extended-CI-use-case
- Troubleshooting