Commit 16e37fc3 authored by Flavio TARSETTI's avatar Flavio TARSETTI Committed by Samuel GAIST
Browse files

[doc] updated contribute for local dependencies and tests Fixes #214

parent ae9f1b02
......@@ -125,6 +125,38 @@ Will run all the tests verbosely and not capture the outputs of the test. The
`-s` option is mandatory if there's a need to brake in the code using python's
If you wish to build your own dependency packages (assume we wish to build our own `beat.core`, `beat.cmdline` and `beat.backend.python`) and run the tests, please do the following:
- In `buildout.cfg` add the line: ::
dependent-scripts = true
- In `development.cfg` add the following lines: ::
extensions = mr.developer
auto-checkout = *
develop = src/beat.backend.python
beat.core = git
beat.cmdline = git
beat.backend.python = git``
Make sure you have removed `beat.core`, `beat.cmdline` and `beat.backend.python` from your conda environment! ::
$ conda list # check
$ conda remove <package>
Then rebuild all packages (you can delete the bin/ folder to make sure it's rebuilt): ::
$ buildout -c development.cfg
Now running your tests would require pytest to use the current environment and use your dependency packages: ::
$ ./bin/python -m pytest -sv
Coding guidelines
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment