Skip to main content

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

Release files for dragons-fire 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dragons-fire 0.2.0
File Size Uploaded
dragons_fire-0.2.0.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dragons-fire 0.2.0
File Interpreter ABI Platform
dragons_fire-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.5 kB

Release files / dragons_fire-0.2.0.tar.gz

Download URL dragons_fire-0.2.0.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
953911f75be3c8915950dbb42169c9e19b56e8dcb1545593c747a28c7d6e1f71
BLAKE2b-256 checksum
How to use checksums
b77a66a447a578654d283e7ff96ae0e146b04891a37044a6a3e15937637f9f74
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / dragons_fire-0.2.0-py3-none-any.whl

Download URL dragons_fire-0.2.0-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f1347b3bb99447eeed21b289e3aa07687953938817faffc66bd35f72c3a7097
BLAKE2b-256 checksum
How to use checksums
e197bce9b7b5c438f0ea8d7533dd3897ab9d069bacf7bb04f969d998748018c1
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.6

2 release files

0.1.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page