Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Regression: specs: ['spec-dir'] no longer works in 0.6.1 #29

Closed
davemo opened this issue Jul 13, 2013 · 2 comments
Closed

Regression: specs: ['spec-dir'] no longer works in 0.6.1 #29

davemo opened this issue Jul 13, 2013 · 2 comments

Comments

@davemo
Copy link
Contributor

davemo commented Jul 13, 2013

With 0.5.0 I can setup my conf.js file to point to a directory of spec files, which are automatically found and run:

// 0.5.0
jasmineNodeOpts: {
   specFolders: ['spec-dir']
}

With 0.6.1 and the change to minijasminenode this behaviour no longer works and users are required to enumerate each spec manually

// 0.6.1
specs: ['spec-dir/some_spec.js', 'spec-dir/some_other_spec.js']

This is a problematic regression as being able to point to specs-dir (or even a glob matcher) is preferable to enumerating each spec file manually IMHO.

@juliemr
Copy link
Member

juliemr commented Jul 13, 2013

I found the specification of a directory (which then only grabbed files with 'Spec' in the title) unintuitive, but I agree that globs should be included. Specs should understand

specs: ['spec-dir/*.js', 'one-off-spec-dir/thatOneTest.js']

@ghost ghost assigned juliemr Jul 13, 2013
@davemo
Copy link
Contributor Author

davemo commented Jul 13, 2013

Yeah that would be ideal :)

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

No branches or pull requests

2 participants