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

Allows for multiple sets of fixtures per tests. #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

robgrimball
Copy link

This allows for the sourceFolder to work off of the current working directory so that if you specify it, it will look in the cwd for that sourceFolder, instead of looking at the absolute path of sourceFolder. This way you can instantiate new barrels similar to this:

barrels = new Barrels('./test/fixtures/SomeSpecificTest');

Rather than having to specify the absolute path which can change depending on whether you are running the tests in one environment or another (ie, developer vs CI).

@albertpeiro
Copy link

+1 I need this. Why is this not being added? @robgrimball can you add some tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants