Global setup and teardown Introduction There are two ways to configure global setup and teardown: using a global setup file and setting it in the config under global Setup or using project dependencies.