Comments (15)
A better workaround (imho) is to run lein repl
, which fires up a JVM with all the dependencies loaded. Then run tests like this:
(use 'midje.repl)
(load-facts 'iloveponies.tests.structured-data 'structured-data)
Obviously change the correct namespaces, eg. replace each structured-data
occurence with training-day
. After that just press the up arrow to get the same input line again (or use plain (load-facts)
, which assumes the same namespaces as previous call had).
Yes, still a PITA, but much faster than running lein midje
.
from training-day.
Same issue here ...
from training-day.
I got it to work by copying the tests from the test project into the local test file. Cool. Onward to learn Clojure!
from training-day.
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)?
from training-day.
exactly the same issue here :-/
are there any other workarounds?
from training-day.
Same here.
from training-day.
+1
(I would love to see a proper solution in the guidelines)
from training-day.
+1
from training-day.
+1
from training-day.
+1
from training-day.
+1
from training-day.
+1
from training-day.
+1
from training-day.
+1
from training-day.
It's also useful to call load-facts
with a lower loglevel, so you don't get many screenfuls of failures when starting out.
user=> (load-facts -2)
{:failures 38}
user=> (load-facts -2)
{:failures 36}
from training-day.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from training-day.