You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are many instances where all tests within a project need the same setup code (e.g. autoloading modules etc.). Including this same code in the @setup method for each file would be tedious. It would be far easier to have a project-level bootstrap script which could handle setup for the whole suite.
Check for a project-level bootstrap script (Probably in tests/_support/bootstrap) prior to tests being loaded, and execute it.
Create empty bootstrap script during init.
The text was updated successfully, but these errors were encountered:
There are many instances where all tests within a project need the same setup code (e.g. autoloading modules etc.). Including this same code in the
@setup
method for each file would be tedious. It would be far easier to have a project-level bootstrap script which could handle setup for the whole suite.tests/_support/bootstrap
) prior to tests being loaded, and execute it.init
.The text was updated successfully, but these errors were encountered: