Comment

Comment by mrkeen

> If a test runs by first setting up its own test fixture, creating from scratch all the data it will be using as input, then that test is guaranteed to be isolated. It doesn’t matter what order you run the tests, the results will be exactly the same.

Completely backward. This definition requires isolation, rather than granting it.

In reality, you (or your test framework) provides the isolation by hobbling along, executing only one test at a time.

parent mrkeen 2 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton