Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
example_modules
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a9b5300a
authored
Jan 30, 2017
by
source_reader
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
added e2e details to readme
parent
63796858
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
9 deletions
README.rst
README.rst
View file @
a9b5300a
...
...
@@ -22,16 +22,27 @@ nose2:
OK
You may additionally want to run end-to-end tests using the jouled
process. The configuration directory contains an main.conf file and
corresponding stream and module configurations to run a local joule
instance. To automate this testing you can run the joule process in
Docker. See the e2e testing section in Joule for an example.
This repository also contains an end-to-end test suite in the e2e
directory. This suite uses docker-compose to build a NilmDB and Joule
container for testing. See docker documentation for details on installing
docker compose: https://docs.docker.com/compose/
.. code-block:: bash
$> cd example_modules
$> jouled --config e2e/main.conf &
$> joule --config e2e/main.conf modules
$> fg # Ctrl-C to exit joule
$> cd example_modules/e2e
$> ./runner.sh
# ...output from e2e setup ...
# 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 ...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment