-
Notifications
You must be signed in to change notification settings - Fork 30
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
Unit tests #327
base: master
Are you sure you want to change the base?
Unit tests #327
Conversation
Generally speaking I'm all in favor of unit tests. There's just a lot to unpack here. |
Unfortunately, there is. In my experience, unit tests are a lot less useful when they require a lot of maintenance to just keep working and I suspect this is the case here. Just having to keep I'll probably come back to it at some point and try to simplify the build. |
Starting with "I'd like to write a bunch of unit tests to be sure it works as I expected", I ended up having to do a LOT of changes just to have the existing ~50 unit tests to run and be able to add a few more.
I'd definitely like a simpler approach that need less changes but couldn't find one.
If this ends up merged I'll have a bunch more tests on the way to make it a bit more relevant but now that I have it running I'm not 100% convinced it's worth the trouble.
Some of those changes (mainly 741e741) might well break something elsewhere and I didn't even bother to test it past the "it compiles" phase because that's beyond the point until we agree if this should move forward or not.
What do you think @gjcope ?