Skip to content

Make safeMode tests pass even when run alone.#74

Merged
brettle merged 2 commits into2024-betafrom
fix-safeMode-tests-failing-when-run-alone
Apr 16, 2024
Merged

Make safeMode tests pass even when run alone.#74
brettle merged 2 commits into2024-betafrom
fix-safeMode-tests-failing-when-run-alone

Conversation

@brettle
Copy link
Member

@brettle brettle commented Apr 16, 2024

Ensures the HAL is initialized before running the safeMode tests because if it isn't SmartDashboard doesn't work properly and the tests fail. This is not normally seen when running all tests because other tests were initializing the HAL.

Also rename some classes for clarity.

Ensures the HAL is initialized before running the safeMode tests because if it isn't SmartDashboard doesn't work properly and the tests fail. This is not normally seen when running all tests because other tests were initializing the HAL.

Also rename some classes for clarity.
@brettle brettle requested a review from CoolSpy3 April 16, 2024 21:22
Copy link
Member

@CoolSpy3 CoolSpy3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I applied the same patch to SafeJoystickTest and patched the test so that it actually runs (and passes).

@brettle brettle merged commit 426e0d4 into 2024-beta Apr 16, 2024
@brettle brettle deleted the fix-safeMode-tests-failing-when-run-alone branch April 16, 2024 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants