tier list of “DX" for writing tests:
-
tier list of “DX" for writing tests:
- ruby: rspec: yes. absolutely wonderful, until you realize that you're writing ruby. this is a subtoot.*
- python: pytest, hypothesis. 'nuff said. fixtures are the best feature that nobody knows how to use T_T. the stdlib has mocking???
- kotlin: close race with python, but it somehow makes junit feel *nice*. mocking is neat- haskell: quickcheck(?) seems cool, but i lack experience.
- swift: idk. wrote a handful of tests, i guess
- rust/doctest: yes. nice.
- js/vitest: closure syntax feels awkward. may grow, but… yeah.- java: junit sucks
- rust/non-doctest: kinda sucks, compile time reflection would fix it (rust! it/its pronouns, clearly.)- go: somehow worse than rust, imho. better than c.
- C/C++: seriously what the heck- bash: wait, what. you actually test those???
- nixlang: is it even testable for the average user?*look, how many people here spite-write rails? anyway, unfortunately it's something that ill get good at eventually
-
@kouhai I don't understand how people can like RSpec tbh, it's the worst testing system I've ever used
-
kouhai, Breaker of Cachesreplied to Erin 💽✨ last edited by
@erincandescent it’s bad, but writing tests feels nice
-
@kouhai idk I really hate the ad-hoc DSL