-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 midje :autotest does not run facts #434
Comments
Same issue here ... |
I got it to work by copying the tests from the test project into the local test file. Cool. Onward to learn Clojure! |
FWIW, I am also experiencing this issue, and worked around it using the same approach as @koss but surely it was designed like this (tests abstracted away) deliberately, i.e. Should Work (tm)? |
exactly the same issue here :-/ |
Same here. |
+1 |
+1 |
6 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
A better workaround (imho) is to run (use 'midje.repl)
(load-facts 'iloveponies.tests.structured-data 'structured-data) Obviously change the correct namespaces, eg. replace each Yes, still a PITA, but much faster than running |
It's also useful to call user=> (load-facts -2)
{:failures 38}
user=> (load-facts -2)
{:failures 36} |
Probably a stupid setup issue here, but when using "lein midje :autotest", the tests are run the first time, but after that, editing the source file only shows a "No facts where checked. Is that what you wanted?" message. What should I check ?
The text was updated successfully, but these errors were encountered: