More better system testing#1146
Merged
Merged
Conversation
- Revised stand-in header file creation to target directories
New function that does not rely on unnecessary test-specific preprocessing steps
- Added reliance on base Include class as a first-class member of the system - Rely on extracting all includes through make-rule dependencies preprocessor mode - Added specific Includes.reconciliation() method - Renaming
Activate/deactivate are only run if a virtual environment is in use (local vs. CI builds)
Removing newlines in functions can break coverage instrumentation for relative line numbering
-Broke up GCov plugin documenation into a sub-section - Created a new Code Coverage reference section to summarize GCov option lookup
Replaced brittle handling of function signature and code_block handling for function definitions. This new approach preserves newlines throughout an extracted function, still cleans the signature for other purposes, robustly handles decorator removal from a function definition block, and updates `#line` numbering if necessary due to leading newline cleanup after decoractor removal.
- Added system test for `#include`ing .c files in tests - Smarter system test execution giving better options on displaying and logging test failures
`to_s` and `to_str` are both needed and `FileList` handling requires a means to coerce Include into a string
- New Rake tasks that separate unit specs from system specs - Spec progress vs. documentation format via environment variable (for CI) - Custom formatting of system test specs for readability, etc. - System test test suite failures capture `ceedling <test>` logging output with debug verbosity to a log file instead of an ugly failing assertion at the console - Preserving the temp directory for a build is optional via environment variable
- Unit tests separate from system tests - All test supporting ruby and artifacts organized in support folders - Common test cases reorganized to their own files with modules renamed - Supporting Ruby decomposed into individual classes and files
1. Set environment variable for RSpec progress format (dots) 1. Upload system test failure logs as Github Action artifacts
Backed out system test rigging manual test accidentally committed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Functionality
ceedling <test>logging output with debug verbosity to a log file instead of an ugly failing assertion at the console.Reorganization
Github Actions