DiamondLightSource / DiamondLightSource/crystallography-bluesky
i15-1: Create system tests
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 21h 40m
- Merged PRs (30d)
- 8
Description
We should be able to create a set of system tests that:
* Start up all the services we need (see https://github.com/DiamondLightSource/blueapi/blob/ab2ebc635684fc107bf2992339015ed1f18d1bb1/tests/system_tests/test_blueapi_system.py#L61)
* Run BlueAPI pointing at i15-1 with mock = True (https://github.com/DiamondLightSource/blueapi/blob/ab2ebc635684fc107bf2992339015ed1f18d1bb1/helm/blueapi/values.schema.json#L516)
* Run the plan
* Confirm data is written? Confirm analysis is triggered?
## Acceptance Criteria
- We can run our static collection plan is in a system test and confirm it does some useful things
- We add a doc in the BlueAPI repo aimed at other villages to explain how to do this with their plans
Contributor guide
Research direction
Start with the linked BlueAPI system test at tests/system_tests/test_blueapi_system.py and the mock setting in helm/blueapi/values.schema.json, then inspect this repository for the static collection plan and existing test entry points. Done means a system test starts the required services, runs the plan against i15-1 with mock=True, verifies useful data or analysis behavior, and adds the requested BlueAPI guidance for other villages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems, documentation, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100