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

"lein spec" uses a different namespace relative to "lein spec -a" #161

Open
brosenan opened this issue Dec 31, 2016 · 0 comments
Open

"lein spec" uses a different namespace relative to "lein spec -a" #161

brosenan opened this issue Dec 31, 2016 · 0 comments

Comments

@brosenan
Copy link

lein spec and lein spec -a do not agree on the namespace in which tests run.
lein spec -a runs tests in the namespace perscribed in the spec file, while lein spec runs them from the user namespace (like a REPL).

To reproduce this problem do this:

> git clone https://github.com/brosenan/speclj-bug.git
> cd speclj-bug
> lein spec
# this will fail...
> lein spec -a
# this will succeed

My configuration:

  • Leiningen 2.7.1 on Java 1.8.0_111 OpenJDK 64-Bit Server VM
  • [speclj "3.3.1"]

See also: https://github.com/brosenan/speclj-bug

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

No branches or pull requests

1 participant