Skip to content

Commit

Permalink
Move bb tests to own file
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Mar 9, 2023
1 parent 2624bda commit c6f365f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
16 changes: 16 additions & 0 deletions bb-tests.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#kaocha/v1
{:plugins [:kaocha.plugin.alpha/info
:profiling
:print-invocations
:hooks
:notifier
:kaocha.plugin/version-filter]

:tests [{:id :bb
:test-paths ["test/bb"]}]

:kaocha.hooks/pre-load [kaocha.assertions/load-assertions]

:kaocha/bindings {kaocha.stacktrace/*stacktrace-filters* []}

:reporter kaocha.report/documentation}
2 changes: 1 addition & 1 deletion bb.edn
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
{:extra-deps {nubank/matcher-combinators {:mvn/version "3.8.3"}}
:extra-paths ["test/bb"]
:requires ([kaocha.runner])
:task (apply kaocha.runner/-main "bb" *command-line-args*)}}}
:task (apply kaocha.runner/-main "bb" "--config-file" "bb-tests.edn" *command-line-args*)}}}
4 changes: 1 addition & 3 deletions tests.edn
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
:type :kaocha.type/cucumber
:test-paths ["test/shared"
"test/features"]
:cucumber/glue-paths ["test/step_definitions"]}
{:id :bb
:test-paths ["test/bb"]}]
:cucumber/glue-paths ["test/step_definitions"]}]

:kaocha.hooks/pre-load [kaocha.assertions/load-assertions]

Expand Down

0 comments on commit c6f365f

Please sign in to comment.