|
Last change
on this file was
72f17afa,
checked in by meejah <meejah@…>, at 2016-08-31T02:47:47Z
|
|
Move check_magicfolder_smoke.py to proper integration tests
This introduces a py.test-based integration suite (currently just
containing magic-folder end-to-end tests). Also adds a tox environment
("integration") to run them.
The test setup is:
- a "flogtool gather" instance
- an Introducer
- five Storage nodes
- Alice and Bob client nodes
- Alice and Bob have paired magic-folders
|
-
Property mode set to
100644
|
|
File size:
330 bytes
|
| Line | |
|---|
| 1 | Install: |
|---|
| 2 | |
|---|
| 3 | pip install -e .[test] |
|---|
| 4 | |
|---|
| 5 | run: |
|---|
| 6 | |
|---|
| 7 | py.test -s -v integration/ |
|---|
| 8 | |
|---|
| 9 | If you want to keep the created temp-dir around: |
|---|
| 10 | |
|---|
| 11 | py.test --keep-tempdir -v integration/ |
|---|
| 12 | |
|---|
| 13 | The fixtures also set up a "flogtool gather" process and dump all the |
|---|
| 14 | logs from all the running processes (introducer, 5 storage nodes, |
|---|
| 15 | alice, bob) to a tempfile. |
|---|
Note: See
TracBrowser
for help on using the repository browser.