Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
Lessons:15Length:2.4 hours
  • Overview
  • Transcript

2.6 Setup and Teardown

Running the same code in every test can be tedious and also dangerous. One slight change in that same code involves a lot of work to fix. In this lesson you'll learn how to use setup and teardown methods to write code once and run it multiple times in your test case.