Skip to content


Run tests for an app with python test survey. See testing for more information.


Local Testing

The Cannlytics Website can be built locally for testing:

docker build . --tag
gcloud auth configure-docker
docker push

Unit testing

In practice, you may not be able to test every case. Therefore, you may want to focus on

  • Null cases
  • Range tests, e.g., positive/negative value tests
  • Edge cases
  • Failure cases
  • Testing the paths most likely to execute most of the time