@trey.ioTrey Hunner @trey.io
2026-11-25 22:00 UTC
This is called red-green-refactor: write a failing test and THEN fix your code to pass the test. In general, for every test, I'd ask yourself: • Does it test the intended behavior? • Does it exercise the code paths you think it does? • Would it fail if the code broke?
A reply in a thread.
0 likes, 0 reposts, 0 replies
3 Next post4 More from @trey.ioBackBluesky home