Skip to content
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

Configurable Strictness in XmlSuite #8

Closed
wants to merge 2 commits into from

Conversation

mouyang
Copy link
Contributor

@mouyang mouyang commented Oct 12, 2019

My reason for doing this is outlined in this issue comment

git commit body
parameter key is "org.mockito.testng.strictness"

  • upgrade TestNG to minimum version (6.3.1 -> 6.4) required to get ISuite.getParameters from ITestResult
  • separate test task for lenient strictness tests + hook up to test task
  • not testing Strictness.WARN - can't test this properly because that requires an accessible MockitoLogger

parameter key is "org.mockito.testng.strictness"
- upgrade TestNG to minimum version (6.3.1 -> 6.4) required to get ISuite.getParameters from ITestResult
- separate test task for lenient strictness tests + hook up to test task
- not testing Strictness.WARN - can't test this properly because that requires an accessible MockitoLogger
@mouyang
Copy link
Contributor Author

mouyang commented Oct 13, 2019

Closing until PR #9 gets approved.

@mouyang
Copy link
Contributor Author

mouyang commented Oct 13, 2019

Created a new PR - I didn't know you can't reopen a PR if you do a rebase and force push.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant