Commit graph

311 commits

Author SHA1 Message Date
Julian Stirling
8a77c09305 Add some basic tests for base stage implementation 2026-02-16 21:37:05 +00:00
Julian Stirling
f4d11b3c83 Simplify JogCommand class structure, and remove unneeded event logic 2026-02-16 17:31:39 +00:00
Julian Stirling
728880e49d Fix jog queue blocking waiting to put new commands. 2026-02-16 17:31:39 +00:00
Julian Stirling
d4f26e8536 Fix static file check and associated tests 2026-02-15 16:03:06 +00:00
Joe Knapper
704fc5569f Merge branch 'flash-led-sim' into 'v3'
Illumination Thing

See merge request openflexure/openflexure-microscope-server!468
2026-02-12 16:37:53 +00:00
Joe Knapper
e0a8eb08c8 Test illumination baseclass 2026-02-12 15:33:58 +00:00
Joe Knapper
3423d4ed0e Test calling base Illumination 2026-02-11 16:28:15 +00:00
Joe Knapper
7da3dbbf8f Test illumination 2026-02-11 16:11:39 +00:00
jaknapper
d0f55786ce Test raster scan planner and z estimate from raster and snake 2026-02-11 15:13:17 +00:00
jaknapper
21f42d4698 Remove flash-led from SangaTest 2026-02-11 12:58:46 +00:00
Julian Stirling
351a66a42c Cleaning up workflows and fixing tests. 2026-02-11 11:03:08 +00:00
jaknapper
1f01717a1b Fix UI workflow test as order changed 2026-02-10 14:24:41 +00:00
jaknapper
f1845c3039 RectangleWorkflow as a baseclass 2026-02-10 14:05:38 +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