This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Is there a recommended way (script?) of executing all my rcf tests? they're starting to pile up 🙂 P.S I'm on cljs
Yes. You can build your cljs for the Karma test runner.
See https://shadow-cljs.github.io/docs/UsersGuide.html#target-browser-test.
In RCF repository, you’ll find examples of:
• a https://github.com/hyperfiddle/rcf/blob/7105b43231140de6f2f39ce38611c9f6c9dfc976/shadow-cljs.edn#L10
• https://github.com/hyperfiddle/rcf/blob/7105b43231140de6f2f39ce38611c9f6c9dfc976/karma.conf.js
• required https://github.com/hyperfiddle/rcf/blob/7105b43231140de6f2f39ce38611c9f6c9dfc976/package.json#L5-L8
• a https://github.com/hyperfiddle/rcf/blob/7105b43231140de6f2f39ce38611c9f6c9dfc976/ci/run_tests_browser.sh
◦ note the usage of the :test
deps alias
◦ note :test
alias has "-Dhyperfiddle.rcf.generate-tests=true"