All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Fix printing test failures with records. (#180)
- Support for code coverage with karma-coverage. (#125)
- Fix merging Karma
files
option. (#173)
- New runner: Headless Firefox (
firefox-headless
, #160) - Add support for arbitrary Karma configuration. (#108, #43, #171)
- Add support for custom Karma launchers. (#108)
- Quoted values for
:main
in:compiler-opts
are deprecated. Use a plain value instead. (0f6bc87
)- Quoted values will continue to work for now, but doo will print a deprecation warning if you use them.
- Example: if you have
{:main 'my-project.runner}
, change it to{:main myproject.runner}
.
- Make ClojureScript compiler warnings about
:preloads
go away. (#163) - Make Karma warnings about matchers go away. (#153)
- Fix the need to quote symbols in Doo build configuration. (#133, #172)
- New runner: Headless Chrome (
chrome-headless
, #136)
- Improve the error messages when an exception is thrown outside the tests. (#151)
- Made doo exit correctly with ClojureScript 1.9.854 and later. (#141)
- Added support for Leiningen 2.7's managed dependencies. (#143)
- Wait 1sec after starting the Karma server so that the tests are run right after starting auto
- Fixed
lein doo
with no arguments - Drop
experimental
for Karma
- Karma PhantomJS, Karma SlimerJS, and Karma Electron as new experimental runners
:debug
option todoo.core/run-script
.- Support for Chrome Canary from Karma.
- Add AppVeyor CI.
:exec-dir
option todoo.core/run-script
.
- Fixed a problem with empty :alias map in configuration. (#113)
- BREAKING CHANGE: changes the default
:karma
path to"karma"
to use the CLI tool. If you were using the local installation, add{:path {:karma "./node_modules/karma/bin/karma"}}
to yourdoo
config inproject.clj
. - Removes
cljsbuild
as a dependency. - Swaps
selmer
fordata.json
. - Removes limitations around absolute and relative paths for
doo.core/run-script
and thecompiler-options
. - In auto mode, run karma as a server to avoid starting/stopping the browsers.
- Print the output of the script as it comes.
:debug
option todoo.core/run-script
.:verbose
option todoo.core/run-script
.- Optional regex argument to
doo-all-tests
to mirrorrun-all-test
's behavior. nashorn
runner.- Option to pass command line arguments to runners through
:paths
. - Option to pass the Default Builds under
:doo {:build "build-id"}
inproject.clj
. - Option to pass
'example.runner
,"example.runner"
, orexample.runner
to:main
.
- Karma with
chrome
,firefox
,safari
,opera
, andie
as runners. - Custom
:paths
for the runners. - Custom
:alias
to group runners.
- Deletes the
browser
alias and replaces it withheadless
forslimer
andphantom
- BREAKING CHANGE signature for
doo.core/run-script
.
- Allows
:optimizations :none
for all platforms except forrhino
. browsers
alias to the plugin.
valid-compiler-options?
's signature to takejs-env
.
- Remove many superflous compiler option requirements.
- Support for absolute paths in the runners
- Allows projects to use node dependencies through
lein-npm
. Requiresnode => 0.12
.
node
support
doo.core/run-script
's signature.
- Option to run the plugin
once
- Returns an UNIX exit code reflecting if the tests failed.
- BREAKING CHANGE: requires
[org.clojure/clojurescript "0.0-3308"]
or newer.