Repository navigation
test: Add system tests using NumTracker - #1118
Merged
Merged
Conversation
DiamondJoseph
force-pushed
the
numtrack-systests
branch
from
July 10, 2025 09:43
ee673dc to
9ca0baf
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1118 +/- ##
==========================================
+ Coverage 94.48% 94.49% +0.01%
==========================================
Files 41 41
Lines 2557 2544 -13
==========================================
- Hits 2416 2404 -12
+ Misses 141 140 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
DiamondJoseph
force-pushed
the
numtrack-systests
branch
from
July 10, 2025 12:25
ec8e442 to
ec12fd4
Compare
tpoliaw
reviewed
Jul 10, 2025
Comment on lines
+361
to
366
| metadata = [("instrument", "p46")] | ||
|
|
||
| for md in metadata: | ||
| assert md in empty_context.run_engine.md.items() |
Contributor
There was a problem hiding this comment.
Suggested change
| metadata = [("instrument", "p46")] | |
| for md in metadata: | |
| assert md in empty_context.run_engine.md.items() | |
| assert empty_context.run_engine.md["instrument"] == "p46" |
Are we likely to be adding other entries anytime soon?
tpoliaw
reviewed
Jul 11, 2025
DiamondJoseph
force-pushed
the
numtrack-systests
branch
from
July 14, 2025 15:22
8c35781 to
981c56d
Compare
tpoliaw
reviewed
Jul 14, 2025
DiamondJoseph
force-pushed
the
numtrack-systests
branch
from
July 15, 2025 12:31
981c56d to
b87d95c
Compare
DiamondJoseph
commented
Jul 15, 2025
tpoliaw
reviewed
Jul 15, 2025
| ports: | ||
| - "8001:8000" | ||
| post_start: | ||
| - command: /app/numtracker client configure adsim --directory '/tmp/' --scan '{instrument}-{scan_number}' --detector '{instrument}-{scan_number}-{detector}' |
Contributor
There was a problem hiding this comment.
Suggested change
| - command: /app/numtracker client configure adsim --directory '/tmp/' --scan '{instrument}-{scan_number}' --detector '{instrument}-{scan_number}-{detector}' | |
| - command: /app/numtracker client configure adsim --directory '/tmp/' --scan '{instrument}-{scan_number}' --detector '{instrument}-{scan_number}-{detector}' --number 43 |
Make it obvious it's taken its number from numtracker instead of starting from 1 as a default
tpoliaw
reviewed
Jul 15, 2025
DiamondJoseph
force-pushed
the
numtrack-systests
branch
from
July 22, 2025 11:52
c39c32c to
54185e1
Compare
callumforrester
force-pushed
the
numtrack-systests
branch
from
August 1, 2025 12:11
5c73783 to
468c71d
Compare
DiamondJoseph
commented
Aug 1, 2025
Co-authored-by: Joseph Ware <[email protected]>
callumforrester
force-pushed
the
numtrack-systests
branch
from
August 1, 2025 12:35
b216878 to
1f62f70
Compare
callumforrester
approved these changes
Aug 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Necessarily picks up dodal 1.54 for the adsim module to be able to use the PathProvider that we want to, and ophyd-async 0.12.1 for a bug fix in the ADHDFWriter