Skip to content

Commit

Permalink
Fix examples not using :exec-args
Browse files Browse the repository at this point in the history
  • Loading branch information
camsaul committed Feb 10, 2023
1 parent 47e3abf commit d2af1a5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ Tell the test runner to only run tests against certain namespaces with `:namespa
;; only run tests against namespaces that start with `my-project` and end with `test`
{:aliases
{:test
{:exec-fn mb.hawk.core/find-and-run-tests-cli
:namespace-pattern "^my-project.*test$"}}}
{:exec-fn mb.hawk.core/find-and-run-tests-cli
:exec-args {:namespace-pattern "^my-project.*test$"}}}}
```

## Excluding directories
Expand All @@ -146,8 +146,8 @@ please submit a PR.
```clj
{:aliases
{:test
{:exec-fn mb.hawk.core/find-and-run-tests-cli
:exclude-directories ["src" "resources" "shared/src"]}}}
{:exec-fn mb.hawk.core/find-and-run-tests-cli
:exec-args {:exclude-directories ["src" "resources" "shared/src"]}}}}
```

## Skipping namespaces
Expand All @@ -157,8 +157,8 @@ You can optionally exclude tests in namespaces with certain tags by specifying t
```clj
{:aliases
{:test
{:exec-fn hawk.core/find-and-run-tests-cli
:exclude-tags [:my-project/skip-namespace]}}}
{:exec-fn hawk.core/find-and-run-tests-cli
:exec-args {:exclude-tags [:my-project/skip-namespace]}}}}
```

or
Expand Down

0 comments on commit d2af1a5

Please sign in to comment.