Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ESD-2013] Add more test specs #963

Merged
merged 2 commits into from
Apr 27, 2021
Merged

Conversation

woodfell
Copy link
Contributor

@woodfell woodfell commented Apr 26, 2021

The autogenerated tests don't cover a huge number of messages. A lot of them are quite old, some are organised as 1 spec file per module, some are 1 spec file per message type.

This PR tidies up the test specs by splitting up the per-module test specs to per-file specs and adding many more tests for more recent messages. The tests data was taken from an SBP recording from a test drive and covers all (most) of the messages produces and consumed by a recent starling-binary.

There is no attempt to cover every single SBP message, only the ones which are most likely to be used at the time of writing.

This PR covers just the test specs, the newly generated tests are moved over to a separate PR to keep this one easier to review - #964

Copy link
Contributor

@RReichert RReichert left a comment

Choose a reason for hiding this comment

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

Cant say I looked through the changes with a fine tooth comb, but given that these are only test codes, it shouldnt have an impact on production code.

Copy link
Contributor

@silverjam silverjam left a comment

Choose a reason for hiding this comment

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

🤘

Base automatically changed from woodfell/ESD-2014/js_soln_meta to master April 26, 2021 03:08
@woodfell woodfell force-pushed the woodfell/ESD-2013/add_test_specs branch 2 times, most recently from f6744eb to 4a1fd9b Compare April 27, 2021 00:20
@woodfell woodfell changed the base branch from master to woodfell/revert_formatting April 27, 2021 00:21
Base automatically changed from woodfell/revert_formatting to master April 27, 2021 00:33
@woodfell woodfell force-pushed the woodfell/ESD-2013/add_test_specs branch from 4a1fd9b to 2ea9310 Compare April 27, 2021 00:35
@woodfell woodfell merged commit e34d362 into master Apr 27, 2021
@woodfell woodfell deleted the woodfell/ESD-2013/add_test_specs branch April 27, 2021 04:12
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.

3 participants