docs: Add parser testing strategy discussion paper#132
Open
Bernadette-Mohr wants to merge 1 commit intodevelopfrom
Open
docs: Add parser testing strategy discussion paper#132Bernadette-Mohr wants to merge 1 commit intodevelopfrom
Bernadette-Mohr wants to merge 1 commit intodevelopfrom
Conversation
Collaborator
Bernadette-Mohr
commented
Dec 16, 2025
- Covers unit, integration, and E2E testing principles
- Includes examples and best practices
- Documents testing schedule and anti-patterns
ndaelman-hu
approved these changes
Dec 16, 2025
Collaborator
ndaelman-hu
left a comment
There was a problem hiding this comment.
I already provided most of my feedback yesterday. I think the intro is new, so I just checked that.
|
|
||
| * For any function with conditional logic (if/else, loops) | ||
| * For data transformation functions (parsing, formatting, validation) | ||
| * For calculations and algorithms |
| * **Document behavior**: Unit tests serve as executable documentation of what each function should do | ||
| * **Catch logic errors: Off-by-one errors, incorrect conditionals, edge cases in algorithms** | ||
|
|
||
| #### When to write |
Collaborator
There was a problem hiding this comment.
I would redo this section, as it is kinda hand-wavy. More important is that tests build of off expected formats or interfaces (enhanced with type hinting). Lastly, don't forget that Coveralls already provides metrics for how well our tests cover the repo.
Collaborator
|
I suggest that we start focusing on applying the framework. |
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.