Commit a9b5300a by source_reader

added e2e details to readme

parent 63796858
Showing with 20 additions and 9 deletions
...@@ -22,16 +22,27 @@ nose2: ...@@ -22,16 +22,27 @@ nose2:
OK OK
You may additionally want to run end-to-end tests using the jouled This repository also contains an end-to-end test suite in the e2e
process. The configuration directory contains an main.conf file and directory. This suite uses docker-compose to build a NilmDB and Joule
corresponding stream and module configurations to run a local joule container for testing. See docker documentation for details on installing
instance. To automate this testing you can run the joule process in docker compose: https://docs.docker.com/compose/
Docker. See the e2e testing section in Joule for an example.
.. code-block:: bash .. code-block:: bash
$> cd example_modules $> cd example_modules/e2e
$> jouled --config e2e/main.conf & $> ./runner.sh
$> joule --config e2e/main.conf modules # ...output from e2e setup ...
$> fg # Ctrl-C to exit joule
# this is the e2e test output:
$> joule_1 | ---------[running e2e test suite]---------
$> joule_1 | OK
$> e2e_joule_1 exited with code 0
# the rest of output is from e2e shutdown:
$> Aborting on container exit...
$> Stopping e2e_nilmdb_1 ...
$> Going to remove e2e_joule_1, e2e_nilmdb_1
$> Removing e2e_joule_1 ...
$> Removing e2e_nilmdb_1 ...
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment