-
Notifications
You must be signed in to change notification settings - Fork 1.1k
add back the forgotten test file for patmat exhuastivity check #1609
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
I'd prefer not to have duplicate reporters (we actually already have a third one in the sbt bridge 😱) - would it be alright with you @liufengyun if I took the time to amend the check files in this PR? (I'll push to staging) |
@felixmulder I'm afraid that each refactoring of the reporter (even a minor change capitalisation) would require update the check files, which will be very tedious and become a burden of maintenance. |
@liufengyun - true, let me sleep on it and we'll talk again tomorrow :) |
@felixmulder @liufengyun, I'd remind you my suggestion for testing. Have a specific reporter that is only used in tests in order to provide minimal information used to compare test output to the expected value.
would be reported as
I'd also prefer to have this information defined inline in the tests itself, but that's a matter of taste. |
@DarkDimius - yes, we agreed upon this scheme this morning. Just haven't gotten around to it yet :) |
According my experience with testing, we often have the need to switch back and forth between check files and source code. Messages like |
This is why I propose to have this message defined inline inside the test On 19 October 2016 1:40:56 p.m. liu fengyun [email protected] wrote:
|
@felixmulder what's your opinion on this? Any changes in mind? |
I have a solution in mind for neg tests, and I will build upon this PR. On Tue, Nov 8, 2016, 10:11 liu fengyun [email protected] wrote:
|
1578b3e
to
7332e9c
Compare
Latest commit adds a very simplified version of the
WDYT @liufengyun? |
@felixmulder thanks for working on this. I'm fine for the changes. Good job 👍 |
By adding back the
ClassicReporter
, I'm not nostalgic, but to avoid rewriting all the check files :)Review @felixmulder .