-
Notifications
You must be signed in to change notification settings - Fork 327
Use conditions for reporting results #360
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 1 commit
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
7339f0d
test_that() return ok value from test_code()
5448986
update ok in enclosing environment
92aeb39
add test (currently failing for case of test failure)
6953645
results are handled using conditions and restarts
68249e8
use report_results() everywhere
5e105d6
tests for special and new-style expectations
3d6dd33
use signalCondition if tests passed
f1018a8
typo
46795a6
add test for error behavior with bare expectations
12e8d57
remove commented code
00d4d90
also test skip()
8481fd1
check return value in test_test_that()
0deb2e0
document (unrelated)
77d51dc
only stop if condition not handled and test didn't pass
e450fbc
simplify bare tests
58ab45c
move report_results
ca3b8b8
use signalCondition() to signal success, and stop() to signal failure
8424b89
update tests
84abb46
expectations are now first-class condition objects
485cbcb
minor refactoring
371f500
wording
d9cf5d4
Merge commit 'origin/master~10' into feature/return-value
ed95622
Merge commit 'origin/master~9' into feature/return-value
29372d8
Merge commit 'origin/master~5' into feature/return-value
67c91c9
Merge commit 'origin/master~4' into feature/return-value
20ac9ea
Merge commit 'origin/master~2' into feature/return-value
72ba350
Merge commit 'origin/master~1' into feature/return-value
c3e6137
Merge remote-tracking branch 'origin/master' into feature/return-value
26b3c41
Merge remote-tracking branch 'origin/master' into feature/return-value
2b5c28c
get rid of success_msg again
5b45d70
extract expectation_ok()
9d62f77
Merge remote-tracking branch 'origin/master' into feature/return-value
e6b0cd6
NEWS
cfd0489
move test
116e60d
usage of expectation_ok()
d1fb341
oops
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
get rid of success_msg again
- Loading branch information
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The srcref handling needs to be improved. This is currently just a placeholder, should be filled later by the calling handler to support file+line reporting.