Remix.run Logo
▲ skydhash 2 hours ago

In my experience, designing tests cases to ensure that they're othogonal and verify your invariants (domain or technical) is very mentally taxing and not something you can truly delegate. The actual typing maybe, but testing is a lot of duplicate code and you can go far with just copy-pasting stuff around and building helpers.

▲aidenialislife 2 hours ago | parent [-]

Designing for testing helps as well. Pure functions for core logic, coding against interfaces etc.