Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for project-level bootstrap script #21

Closed
molovo opened this issue Feb 5, 2017 · 0 comments
Closed

Check for project-level bootstrap script #21

molovo opened this issue Feb 5, 2017 · 0 comments

Comments

@molovo
Copy link
Member

molovo commented Feb 5, 2017

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.
@molovo molovo added this to the v0.4.0 milestone Feb 5, 2017
@molovo molovo added the has pr label Feb 8, 2017
@molovo molovo self-assigned this Feb 13, 2017
@molovo molovo closed this as completed in 7be15fa Feb 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant