Skip to main content

A test suite to provide simple testing of workflows

Project description

DRAGONS

Tests

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 :

  1. 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
  2. Each test must be in its own class and must implement a setup, submit_test_form and fill_in_form_values methods
  3. Add unit tests as appropriate
  4. Add data files needed(attachments, e.t.c) in the data folder
  5. Navigate to helpers and define the name of the test and class to be run for the test
  6. Change the version number in the setup.py (increment by one for minor changes)

  7. Push changes to your own branch
  8. After approval, merge to master
  9. 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

dragons_fire-0.2.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dragons_fire-0.2.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file dragons_fire-0.2.0.tar.gz.

File metadata

  • Download URL: dragons_fire-0.2.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for dragons_fire-0.2.0.tar.gz
Algorithm Hash digest
SHA256 953911f75be3c8915950dbb42169c9e19b56e8dcb1545593c747a28c7d6e1f71
MD5 a862530ac51f78927a90aa8e7cc7cab9
BLAKE2b-256 b77a66a447a578654d283e7ff96ae0e146b04891a37044a6a3e15937637f9f74

See more details on using hashes here.

File details

Details for the file dragons_fire-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dragons_fire-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for dragons_fire-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f1347b3bb99447eeed21b289e3aa07687953938817faffc66bd35f72c3a7097
MD5 4355ca37c6cb9cd8c750e5dd9e899fd3
BLAKE2b-256 e197bce9b7b5c438f0ea8d7533dd3897ab9d069bacf7bb04f969d998748018c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page