fix(tests): add package section to enable integration tests #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a [package] section to the root Cargo.toml to enable running integration tests in tests/boot_tests.rs. Previously, the tests were not runnable because integration tests require an associated package.
Type of Change
Related Issues
Fixes the inability to run tests/boot_tests.rs integration tests.
Changes Made
Code Changes
Build System:
Testing
Tests can now be run with:
cargo test --test boot_tests
Output:
running 3 tests
test test_boot_sequence_documented ... ok
test test_harness_works ... ok
test test_memory_region_types_documented ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
ADR Requirements
Safety Considerations
Testing
Checklist
Additional Context
The tests/boot_tests.rs file contains documentation tests describing memory region types and boot sequence stages.