mirror of
https://github.com/metosin/reitit.git
synced 2025-12-22 10:31:12 +00:00
Merge pull request #72 from metosin/test-output
Upgrade to bat-test and make Circle test summaries work
This commit is contained in:
commit
61bcc4a723
2 changed files with 7 additions and 5 deletions
|
|
@ -17,7 +17,9 @@ jobs:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
command: ./scripts/test.sh clj
|
command: ./scripts/test.sh clj
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: ~/test/target/junit.xml
|
# path must be a directory under which there a subdirectories that
|
||||||
|
# contain the JUnit XML files.
|
||||||
|
path: ~/test/target/results
|
||||||
# - run:
|
# - run:
|
||||||
# name: Run coverage
|
# name: Run coverage
|
||||||
# command: ./scripts/submit-to-coveralls.sh clj
|
# command: ./scripts/submit-to-coveralls.sh clj
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
[lein-cljsbuild "1.1.7"]
|
[lein-cljsbuild "1.1.7"]
|
||||||
[lein-cloverage "1.0.10"]
|
[lein-cloverage "1.0.10"]
|
||||||
[lein-codox "0.10.3"]
|
[lein-codox "0.10.3"]
|
||||||
[metosin/boot-alt-test "0.4.0-20171019.180106-3"]]
|
[metosin/bat-test "0.4.0"]]
|
||||||
|
|
||||||
:profiles {:dev {:jvm-opts ^:replace ["-server"]
|
:profiles {:dev {:jvm-opts ^:replace ["-server"]
|
||||||
|
|
||||||
|
|
@ -70,14 +70,14 @@
|
||||||
"-XX:+PrintInlining"]}}
|
"-XX:+PrintInlining"]}}
|
||||||
:aliases {"all" ["with-profile" "dev"]
|
:aliases {"all" ["with-profile" "dev"]
|
||||||
"perf" ["with-profile" "default,dev,perf"]
|
"perf" ["with-profile" "default,dev,perf"]
|
||||||
"test-clj" ["all" "do" ["alt-test"] ["check"]]
|
"test-clj" ["all" "do" ["bat-test"] ["check"]]
|
||||||
"test-browser" ["doo" "chrome-headless" "test"]
|
"test-browser" ["doo" "chrome-headless" "test"]
|
||||||
"test-advanced" ["doo" "chrome-headless" "advanced-test"]
|
"test-advanced" ["doo" "chrome-headless" "advanced-test"]
|
||||||
"test-node" ["doo" "node" "node-test"]}
|
"test-node" ["doo" "node" "node-test"]}
|
||||||
|
|
||||||
:alt-test {:report [:pretty
|
:bat-test {:report [:pretty
|
||||||
{:type :junit
|
{:type :junit
|
||||||
:output-to "target/junit.xml"}]}
|
:output-to "target/results/reitit/junit.xml"}]}
|
||||||
|
|
||||||
:cljsbuild {:builds [{:id "test"
|
:cljsbuild {:builds [{:id "test"
|
||||||
:source-paths ["src" "test/cljc" "test/cljs"]
|
:source-paths ["src" "test/cljc" "test/cljs"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue