PLAY PODCASTS
Test Data: To BeforeAll or to BeforeEach
Season 3 · Episode 6

Test Data: To BeforeAll or to BeforeEach

Eric asked this on 2022-10-12

The Call Kent Podcast

October 19, 20226m 17s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

Starting a new testing project, and I'm wondering if it's a bad practice to set up all the necessary seed data in a beforeAll to run the test suite then or if isolation is critical so that work should be done in a beforeEach. We have an application that requires a decent amount of data to get up and run, so we're trying to figure out what might be the best practices.

Test Data: To BeforeAll or to BeforeEach

Topics

testingplaywrightcypressjest