Fixtures on Purpose: The Rule of Four

Part 5 of Fixtures on Purpose , a series about designing test data for Rails. If you’ve made it this far in the series, congratulations. You now know more about my opinions on test data than most people who’ve worked with me. (They usually find out the hard way.) The case so far: fixture personas. Named archetypes that represent clusters of real-world data, with tests mutating them for edge cases…