From 10c4fe1a835c556916f74f198a576df0aa024e96 Mon Sep 17 00:00:00 2001 From: Eugen Stan Date: Mon, 29 Aug 2022 16:34:31 +0300 Subject: [PATCH] FAQ entry for running RCF tests via poly tool --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3392000..106fb5b 100644 --- a/README.md +++ b/README.md @@ -215,6 +215,9 @@ Ran 1 tests containing 8 assertions. *How do I customize what’s printed at the REPL?* — see [reporters.clj](https://github.com/hyperfiddle/rcf/blob/03c821c3875c3dfe647c945430ecdc5a7c8b594f/src/hyperfiddle/rcf/reporters.clj), [reporters.cljs](https://github.com/hyperfiddle/rcf/blob/03c821c3875c3dfe647c945430ecdc5a7c8b594f/src/hyperfiddle/rcf/reporters.cljs) +*How do I run RCF tests in a polylith app via `clojure -Srepo -M:poly test` ?* see [https://github.com/ieugen/poly-rcf](https://github.com/ieugen/poly-rcf) for an example repo. +Short story: Add `:jvm-opts ["-Dhyperfiddle.rcf.generate-tests=true"]` to `:poly` alias in `./deps.edn` and for tests under `src/` add "src" to `:test :extra-paths` for each brick with tests. + # Community #hyperfiddle @ clojurians.net