-
Notifications
You must be signed in to change notification settings - Fork 55
More test result methods #145
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
Conversation
764a6e0 to
ee24df5
Compare
|
CC @Cube707 |
ee24df5 to
f3ee6a3
Compare
13dcd90 to
83268bf
Compare
nice thanks 👍 |
Cube707
left a comment
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.
Some Thoughts I allready had on a previous iterration
Cube707
left a comment
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.
some more notes on stuff
| def result(self, value: Union[FinalResult, List[FinalResult]]): | ||
| # Check typing | ||
| if not (isinstance(value, FinalResult) or | ||
| isinstance(value, list) and all(isinstance(item, FinalResult) for item in value)): |
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.
I am always unsure how well people know about operator binding order.
So it might be preferable to make the order of operation clear by adding parenthesis around the .. and ..
Test Results 48 files ± 0 48 suites ±0 3m 23s ⏱️ -1s Results for commit 2b9358c. ± Comparison against base commit 3719033. This pull request removes 1 and adds 3 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
91c5255 to
1813897
Compare
1813897 to
b28d948
Compare
- Add is_failure and is_error to JUnit TestCase - Add is_rerun and is_flaky to XUnit2 TestCase - Provide access to XUnit2 interim (rerun & flaky) results Co-authored-by: Jan Wille <[email protected]>
Co-authored-by: Jan Wille <[email protected]>
7f4d4fe to
2b9358c
Compare
|
@weiwei Can you say anything on when the next release is planed? Alternatively could we get a development tag so that I can install as |
Adds more test state helper methods like
is_failure,is_error,is_rerunandis_flaky. Further, provides easier access to all interim result types (iterating overTestCaseor callinginterim_resultproperty).