Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Smoke Testing: General

Elliot Oram edited this page Sep 11, 2018 · 1 revision

Checkout

  • Ensure that all the resources are pulled down correctly from git. The following should be on each node:
  • Linux
    • QueueProcessors/
    • utils/
    • setup.py
    • requirements.txt
  • Windows (Webapp):
    • Webapp/
    • setup.py
    • requirements.txt
  • Windows (Utility machine):
    • EndOfRunMonitor/
    • utils/
    • setup.py
    • requirements.txt

Installation

Install the autoreduction project by opening a command line prompt (terminal) in the autoreduction directory and running the following:

pip install -e .
pip install -r requirements.txt

If you need to start any services for local testing please see the instructions

Unit tests

Run all valid unit tests on the node. These will vary depending on what node you are testing, but can be done with:

pytest <name_of_directory>

This should be an easy way to find quick errors in the setup of the project

Clone this wiki locally