Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
45 lines (32 loc) · 1.64 KB

testing_ui.md

File metadata and controls

executable file
·
45 lines (32 loc) · 1.64 KB

UI Tests

UI tests use the open source out of the box Django Test Framework. These are standard Python unit tests with a few additional Django helpers. Tests use command line credentials. Tests can be executed per Django instructons or via the helper bash script:

Steps

bash install/deploy.sh
  1. Option 1) Developer Menu
  2. Option 3) Test UI

Code

Manual Testing

When the UI is active it saves recipes to the local database. Those recipes can be executed by the worker using the following commands:

source starthinker_assets/development.sh
python starthinker_ui/manage.py job_worker --test --verbose --jobs 1

This will execute one loop of the worker, pulling one recipe at a time from the local databse and executing it as the worker.

Cloud Resources


© 2019 Google Inc. - Apache License, Version 2.0