-
Notifications
You must be signed in to change notification settings - Fork 1
Support multiple test suites and add helpful verifiers #18
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
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
b16ff12
snake_case tester
smurthys 0441166
snake_case logLine
smurthys 9240223
Helper fn templates to verify: more needed
smurthys 2267e15
Replace verify with is_true helper
smurthys 382745a
Support suite-level verification
smurthys 9304fb6
Initial support for multi-suite testing
smurthys 49b3bb6
Remove extra function declaration
smurthys 4f1e286
Run only suites indicated in options
smurthys 448ab41
Fix comment
smurthys 1880f95
Add TODO comment
smurthys a8a12ba
Format code
smurthys bb61528
Move fn replace_all to separate source file
smurthys 7483f75
Change default header text to "Running $suite"
smurthys 719b3fb
Expand $suite macro in header text
smurthys aadf258
Add fn template split
smurthys 859ec56
Rename field suites to suites_to_run
smurthys c9bbd94
Support -run option
smurthys a1f8982
Implement -run option
smurthys aad13fc
Rename runTests to array_test
smurthys 79bc61f
Add comment on declaring and specifying suite runners
smurthys 2d49734
Format code
smurthys a3563a0
Return early on empty input; use push_back
smurthys 9e534f2
Use unordered map
smurthys 3beef75
Update comment
smurthys 662a60b
Use UIS; prefer assignment when auto type
smurthys 5a39e23
Move verification helpers to verifiers.h
smurthys 0dd3329
Move test suites collection to suites.cpp
smurthys c332c9e
Update test/array-test.cpp
smurthys 01d08e6
Update test/array-test.cpp
smurthys 0705437
Update test/options.h
smurthys 690bf42
"Simplify" test suite definition
smurthys f76a21b
Remove assertion on empty suite name
smurthys a8540fc
Rename variable; improve comment
smurthys 561749a
Fix comments, format code
smurthys 062a092
define suites_map_type; add custom error class
smurthys da64ef4
Check duplicate test-suite name and other errors
smurthys 88b9fba
Handle test-suite addition error
smurthys b613060
Rename fn. message and move it to utils
smurthys ee8b695
Enhance custom error class
smurthys df45ae2
Reject empty test-suite name
smurthys 39d1242
Add enum for error code; print error code in show_error
smurthys d2efc87
Fix comment
smurthys File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.