Is @bensu still around?
Ah yeah, just saw him on the history. Cool.
@bensu, got a question for you about doo
when you’re around.
@bensu: Short version… is there a way to indicate to doo
that it should do a injectJs
before running the tests? I’m using Jayq, so I’d need to inject jQuery.
Hi @ricardo: there should be.
file an issue, and I will handle it there. I've recently added ways of specifying paths for the runners, and what you are asking is similar.
what runner are you using?
phantomjs. Will do.
I was about to ask if that “should be” was “should be here some where” or “I should add that”. :simple_smile:
Done.
I'm sorry. I should add that. cemerick.test
lets you add files to the command directly. When using :none
and other runners like karma that is non trivial, but we should be able to handle it anyway.
Thanks! Over the weekend I'll be tuning doo
to improve karma support, and probably this as well.
@bensu: Not sure I understand the issue question. Add that <script src="path/to/jquery”>
where?
I'm sorry I wasn't clear, to the html page where the tests are going to run.
Is that how you currently add jquery?
Ah. Yes, that’s fine.
I currently have a unit-test.html which includes a reference to jquery.
perfect. using a script
tag.
Correct.
buenisimo 😉
:simple_smile:
I've been considering writing a minimal testing framework that has:
1. the simple syntax of clojure.test
2. reasonable output, such as by humane-test-output
3. color (green, red, yellow) when shown in a terminal
4. Java 8's WatchService for re-running tests
any interest in this?