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
Hide 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:
...
@@ -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 ...
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