Team-OKC-Robotics / FRC-2023

The FRC team #2718 Team OKC Robotics code for the 2023 season
Other
2 stars 0 forks source link

Make parameters work in unit tests #47

Open jkleiber opened 1 year ago

jkleiber commented 1 year ago

Summary We can't use parameters in unit tests because the build.gradle doesn't copy the deploy directory to the test executable's directory. In FRC-2022-CPP, I was working on adding this to the build script using a hack. However, I think we can deploy it to any desktop target rather elegantly.

In any case, the objective of this ticket is to allow parameters.toml to be loaded in CI and local unit tests.

Work Required

Verification