thheller/shadow-cljs

Add more test filters for :node-test target

Open

#322 opened on Jun 22, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Clojure (2,396 stars) (187 forks)batch import
help wanted

Description

The helpers can be similar to the ones in the cljs-test-runner (now in a branch, will be PR-ed soon).

They are definitely useful in shadow because of the all-in-one classpath folder approach:

For instance:

  -n, --namespace SYMBOL                             Symbol indicating a specific namespace to test.
  -r, --namespace-regex REGEX  .*\-test$             Regex for namespaces to test. Only namespaces ending in '-test' are evaluated by default.
  -v, --var SYMBOL                                   Symbol indicating the fully qualified name of a specific test.
  -i, --include SYMBOL                               Run only tests that have this metadata keyword.
  -e, --exclude SYMBOL                               Exclude tests with this metadata keyword.

Contributor guide