qutilz

CLI tool for generating opinionated specs templates for a quick unit-tests setup including dependencies mocking with the ts-mockito mocking library.

Usage no npm install needed!

<script type="module">
  import qutilz from 'https://cdn.skypack.dev/qutilz';
</script>

README

npm version

CLI tool for generating opinionated specs templates for a quick unit-tests setup including dependencies mocking with the ts-mockito mocking library.

Run npx qutilz --specs from a local folder to generate a new spec template for local class-based components/services (Jest + ts-mockito) and for exported functions.

npx qutilz --report from the local tests' folder to print a report of all existing suites/tests.

Resources: background-blog-post