Commit graph

299 commits

Author SHA1 Message Date
jaknapper
21f42d4698 Remove flash-led from SangaTest 2026-02-11 12:58:46 +00:00
Joe Knapper
f230eef2dc New scan workflow for snake scans, move next pos into scan baseclass
Update tests that were testing wrong method, update all to new select_nearby_focus_site
2026-02-09 13:19:10 +00:00
Joe Knapper
b4957e0420 SnakeScan as a scan planner 2026-02-09 13:09:07 +00:00
Julian Stirling
cf941b1d11 Fix unit tests for scan workflows 2026-02-06 13:50:47 +00:00
Julian Stirling
504a47cbf8 Add some property tests for scanning 2026-01-18 23:37:10 +01:00
Julian Stirling
b26dda60a4 More tests and assoicated bugfixes 2026-01-18 23:19:44 +01:00
Julian Stirling
eb93342d9f Add test of logic for selecting worflow. 2026-01-18 14:23:18 +00:00
Julian Stirling
b22fcf4b88 Complete testing of HistoScanWorkflow 2026-01-16 18:16:50 +00:00
Julian Stirling
1bc6b9e0c4 Add a number of extra tests to ScanWorkflows 2026-01-16 17:02:07 +00:00
Julian Stirling
57b20782a0 Further fixes after introducing scan workflow selection 2026-01-16 13:04:23 +00:00
Julian Stirling
2a3a54b936 Get unit tests passing with Scan Workflows 2026-01-16 09:28:15 +00:00
Julian Stirling
c82523dd5b Start updating unit tests after refactoring into ScanWorkflows 2026-01-16 09:28:15 +00:00
Julian Stirling
b6343362b2 Start splitting ScanData into workflow specific data. 2026-01-15 12:59:06 +00:00
Julian Stirling
ca46439269 Rename "active_detector" for background detecor. Improve thing selector coercion 2026-01-14 15:10:13 +00:00
Julian Stirling
e46836ffe1 Test background detector UI specification 2026-01-14 15:10:13 +00:00
Julian Stirling
b494e7dc3c Fix picamera test suite 2026-01-14 10:05:04 +00:00
Julian Stirling
6b97d2da44 Fix unit tests for background detectors as Things 2026-01-14 10:05:04 +00:00
Julian Stirling
4b81d52a89 Add tests for _full_config_from_args 2026-01-13 20:32:05 +00:00
Joe Knapper
9df3fd6360 Merge branch 'fast-sim' into 'v3'
Simulation Camera Improvements

Closes #638

See merge request openflexure/openflexure-microscope-server!458
2026-01-13 14:15:35 +00:00
Julian Stirling
6f74e447cd Merge branch 'Windows-Testing' into 'v3'
Fix (most) unit tests on Windows

See merge request openflexure/openflexure-microscope-server!457
2026-01-12 22:15:51 +00:00
Julian Stirling
a15458c02d Apply suggestions from code review of branch Windows-Testing
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2026-01-12 21:40:58 +00:00
Julian Stirling
4c557612fb Apply suggestions from code review of branch fast-sim
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-01-12 17:41:51 +00:00
Julian Stirling
ad8dd55cca Update integration test for new labthings client exceptions 2026-01-12 16:23:10 +00:00
Julian Stirling
6ec60523cd Ensure that each integration test tests more than just a lack of errors 2026-01-12 16:23:10 +00:00
Julian Stirling
8b51a66ae4 Move test_dummy_server out of unit tests and into integration tests. 2026-01-12 16:23:10 +00:00
Julian Stirling
c9ac85bffc Rename the test that fully boots the server to lifecycle_test 2026-01-12 16:23:09 +00:00
Julian Stirling
d6b00ef1bb Change out of temp dirs in git version tests before closing so windows doesn't error 2026-01-12 16:20:22 +00:00
Julian Stirling
3e8511f281 Use Python not echo as a mock shutdown command for windows compatibility 2026-01-12 16:20:22 +00:00
Julian Stirling
ec29a1999f Update how stitching is called in Windows 2026-01-12 16:20:22 +00:00
Julian Stirling
00a0301e0c Close file logging hander in unit tests before tmpdir cleanup 2026-01-12 16:20:22 +00:00
Julian Stirling
52293ba948 Normalise expected paths in windows tests 2026-01-12 16:20:22 +00:00
Julian Stirling
40a2e4c6ed Continue improving simulation camera tests 2026-01-12 16:17:11 +00:00
Julian Stirling
8f52841f67 Add tests for new simulated camera poperites that update the canvas 2026-01-12 16:17:11 +00:00
Julian Stirling
dfe50f5c56 Split up generic camera tests and simulation specific ones. 2026-01-12 16:17:11 +00:00
Julian Stirling
3db83534e8 Update for how Labthings-Fastapi 0.0.14 impements the fallback server 2026-01-09 17:43:11 +00:00
Julian Stirling
b46f8af8e7 Bump labthings-fastapi to 0.0.14 and fix error types in unit tests 2026-01-09 17:17:24 +00:00
Julian Stirling
e85a1d3080 Final test fixes 2026-01-09 15:18:06 +00:00
Julian Stirling
18e89aa148 More typing fixes 2026-01-09 15:18:05 +00:00
Julian Stirling
2701576a2c Properly type the generic Background Detector class 2026-01-09 15:18:05 +00:00
Julian Stirling
99eee2e912 Fix camera type issues 2026-01-09 15:18:05 +00:00
Julian Stirling
d52548cc13 Improve camera buffer typing 2026-01-09 15:18:04 +00:00
Julian Stirling
4a8b88b34b Fix config path in integration test. Don't use fallback in integration test as it masks failure. 2025-12-19 09:31:45 +00:00
Julian Stirling
765404656a Fix typos when moving hardware test suit to new test env structure 2025-12-18 23:02:04 +00:00
Julian Stirling
782977e01c Move integration tests to tests dir 2025-12-18 17:30:56 +00:00
Julian Stirling
ef9a88104b Move hardware-specific-tests to tests dir 2025-12-18 17:28:05 +00:00
Julian Stirling
4e043f3df2 Move lt_test_utils into a shared testing directory 2025-12-18 17:19:48 +00:00
Julian Stirling
d08d4cd325 Move unit tests to their own sub-dir in tests 2025-12-18 17:08:02 +00:00
Julian Stirling
62b414af3c Update docs and internal names for LabThingsTestEnvironment 2025-12-18 16:43:38 +00:00
Julian Stirling
b70d36c629 Move main test suite to new use new test environment. 2025-12-18 16:26:37 +00:00
Julian Stirling
0d09dc58da Add way to get thing from test environment by type 2025-12-18 16:26:37 +00:00