A test suite to provide simple testing of workflows
Project description
DRAGONS
Our biggest fears are like dragons, guarding our deepest treasures. Go test your fears.
Releases the dragons to test the performance of Portal and Motorcade. This repository builds to a python package https://pypi.org/project/dragons-fire/
Installation
You can install this package in Motorcade or Portal or any other independent virtual environment by running the following
pip install --upgrade dragons-fire
Setup
dragon setup -u your_username -p your_password -s https://dev_portal_url.com
List tests available
dragon test list
Running a test
dragon test sample_test
where sample_test is the name of the test
Extending
You can be able to create and add additional tests to the package
Setup development
git clone git@github.com:broadinstitute/dragons.git
Add tests :
- All additional files are added in the dragon sub-folder in the name of the .py respond to the category of request as indicated in the portal
- Each test must be in its own class and must implement a setup, submit_test_form and fill_in_form_values methods
- Add unit tests as appropriate
- Add data files needed(attachments, e.t.c) in the data folder
- Navigate to helpers and define the name of the test and class to be run for the test
-
Change the version number in the setup.py (increment by one for minor changes)
- Push changes to your own branch
- After approval, merge to master
- A new version (version number above) should be available automatically
Security Warning
Do not commit or push password/secrets to master. Since pypi index is public anyone in the world can potentially see them
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dragons_fire-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f1347b3bb99447eeed21b289e3aa07687953938817faffc66bd35f72c3a7097 |
|
MD5 | 4355ca37c6cb9cd8c750e5dd9e899fd3 |
|
BLAKE2b-256 | e197bce9b7b5c438f0ea8d7533dd3897ab9d069bacf7bb04f969d998748018c1 |