You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -65,23 +71,34 @@ When running your app, the dashboard van be viewed by default in the route:
65
71
66
72
TravisCI unit testing
67
73
=====================
68
-
To enable Travis to run your unit tests and send the results to the dashboard, four steps have to be taken.
69
-
70
-
First off, the file 'collect_performance.py' (which comes with the dashboard) should be copied to the directory where your '.travis.yml' file resides.
74
+
To enable Travis to run your unit tests and send the results to the dashboard, four steps have to be taken:
71
75
72
-
Secondly, your config file for the dashboard ('config.cfg') should be updated to include four additional values, TEST_DIR, LOG_DIR, SUBMIT_RESULTS_URL and N.
73
-
The first specifies where your unit tests reside, the second where the logs should be placed, the third where Travis should upload the test results to, and the last specifies the number of times Travis should run each unit test.
74
-
See the sample config file in the section above for an example.
76
+
1. Update the config file ('config.cfg') to include three additional values, TEST_DIR, SUBMIT_RESULTS_URL and N.
77
+
- TEST_DIR specifies where the unit tests reside.
78
+
- SUBMIT_RESULTS_URL specifies where Travis should upload the test results to. When left out, the results will not
79
+
be sent anywhere, but the performance collection process will still run.
80
+
- N specifies the number of times Travis should run each unit test.
75
81
76
-
Then, the installation requirement for the dashboard has to be added to the 'setup.py' file of your app:
82
+
2. The installation requirement for the dashboard has to be added to the 'setup.py' file of your app:
0 commit comments