5

I. Fucking. Hate. Tests.

I am writing a module according to a standard and this standard has a test suite. Awesome...this should make development go pretty smoothly especially since their human-readable "specification" is severely lacking.

I get the module passing most of the tests...however there are few I just can't get my module to pass, no matter what...well fuck.

I go digging deeper into the test cases, compare it to source code. What's this? The tests are fucking wrong. There are several other implementations that use this test suite, how the fuck have they not caught this?

Also come to find out, it is not possible to pass *all* the tests in the suite because some are for older versions that have different functionality.

Got to love a test suite that is incorrect and can't be passed 100%

Maybe they need tests to make sure the tests are working correctly.

Comments
  • 4
    TFW your test engine doesn't support test versions.
  • 5
    thanks for reminding me that I have to write tests
  • 2
    If I understood correctly, you hate maintaining tests that don't make sense anymore. That is absolutely relatable - but please don't blame testing for it ;) I wonder why your team mates write the tests like this... With any VCS, people should be able to get back the old tests along with the old feature if they ever needed to. Why do they want to have a set of mutual exclusively failing and passing tests in their test suite?
Add Comment