Structured Assertion Results
Registered by
blep
CppUnit 2 allows all assertions to provide structured assertion details through a JSON value, but all existing assertions just provide a string message.
A common JSON structure needs to be define for assertion and existing assertion modified to set it. A "standard" formatter should be used to convert this into a text message in the compiler outputter.
This will allow automated post processing of failures and smart display in user interface.
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Essential
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- Accepted for 0.1-essence
- Implementation:
- Beta Available
- Milestone target:
- v0.1.0
- Started by
- blep
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Assertions have been modified to generate structured result and the compiler outputter modified to output them.
Some refinement may still be needed for some assertion with regards to what should be in the structured results.
(?)
Work Items
Dependency tree
* Blueprints in grey have been implemented.