R27 Build fixtures from made-up data only
Build every fixture from made-up data only, with no effect outside the test environment.
Reason
A fixture is kept in the repository and run again and again, by anyone and in CI: a real credential or real personal information in it leaks with it (Art. II §1, Art. II §4), and an effect outside the test environment repeats on every run and can reach people or systems outside the work at hand (Art. V §1(3)).
Verification
Made-up data means no real credentials, private information or real people’s data. No effect outside the test environment means no real network services or accounts, and no messages to people.
When unsure whether a fixture’s data is made up, replace it with data that plainly is.
Violated when a fixture uses real data or has an effect outside the test environment.