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

Add rake spec:units and rake spec:functionals #26

Closed
wants to merge 1 commit into from

Conversation

clayallsopp
Copy link
Contributor

Running the functional tests and unit tests together is kind of a pain since functionals usually take much longer (animations have to complete, etc).

These could be set on a project-by-project basis but I thought it'd be nice to have a sensible default. Took the nomenclature from Rails-land.

By default, these will run the tests in "#{app.specs_dir}/unit" and "#{app.specs_dir}/functional", but those can be overridden by setting app.unit_specs_dir and app.functional_specs_dir. rake spec functions like normal.

By default, these will run the tests in "#{app.specs_dir}/unit"
and "#{app.specs_dir}/functional", but those can be overridden
by setting app.unit_specs_dir and app.functional_specs_dir
@colinta
Copy link
Member

colinta commented Jun 26, 2013

These are very specific filters, and while useful, I thought it made more sense to support any folder. I propose this: #101, which adds the ability to filter by folder using the ENV['files'] setting.

@clayallsopp
Copy link
Contributor Author

lol "11 months ago". yeah that's better, cool!

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