@caplin/karma-test-runner

Package that allows running all the UTs and ATs in a package using Karma

Usage no npm install needed!

<script type="module">
  import caplinKarmaTestRunner from 'https://cdn.skypack.dev/@caplin/karma-test-runner';
</script>

README

CLI utility that runs UTs and ATs in older Caplin Solution applications.

Add -h to run the html reports, they will be created under reports-ATs and reports-UTs.

Add -c to run coverage stats, it'll build an html tree under coverage/html.

Add --keepCoverage To keep previous coverage runs. This allows them to combine

Add --includePackages To run tests on an apps dependencies

Add --includePackagesDepth To limit the depth of apps dependencies

Add --includeCrossPackageCoverage To track coverage on files not related to the current packages/subfolder