Clojure example can't find cuke_steps.clj #291

Closed
undees opened this Issue Apr 5, 2012 · 7 comments

4 participants

@undees
Cucumber member

The project.clj in the Clojure example still points to the RC2 version of Cucumber-JVM. Once you fix it to point to 1.0.2, running lein test errors out with the following:

Testing clojure-cukes.test.core

ERROR in (run-cukes) (clj.clj:42)
Uncaught exception, not in assertion.
expected: nil
  actual: cucumber.runtime.CucumberException: java.io.FileNotFoundException: Could not locate cuke_steps__init.class or cuke_steps.clj on classpath: 
...
@aslakhellesoy
Cucumber member

/cc @hiredman @rplevy-draker @nilswloka @krukow - hoping some of you can help out here. I'd gladly make any of you a core committer if you want - then I can just assign clojure-related issues to you. Let me know if you want to.

On a related note - I noticed cuke.clj is a reimplementation of cucumber.cli.Main that doesn't System.exit.

It doesn't look right to me that it hard-codes paths and formatters. Wouldn't it be better to delete it and instead improve cucumber.cli.Main?

@krukow

I can take a look at this. Should find some time within a week or two. Is that ok?

@undees
Cucumber member

A few weeks would be fine; thanks for taking a look at this.

@krukow

Ok. Could you give be read/write access?

@nilswloka
Cucumber member

I just sent a pull request for an updated version of the examples: #309.

@aslakhellesoy
Cucumber member
@undees
Cucumber member

I pulled nilswloka's changes locally, and the Clojure example in cucumber-jvm now works correctly on my machine. Thank you, everyone, for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment