@fusionworks/grace-ts

Advanced decorator based testing tool which can replace all unit testings.

Usage no npm install needed!

<script type="module">
  import fusionworksGraceTs from 'https://cdn.skypack.dev/@fusionworks/grace-ts';
</script>

README

@FusionWorks/grace-ts

GitHub package.json version npm downloads Coverage Status

Decorator based unit testing.

grace-ts is an javascript solution for testing large amount of functions without wasting any extra time on that. The logger was designed to be extremely flexible and light; it doesn't require you to deep learn any framework, just give some dummy inputs and outputs which will be compared on build.

It was built for modern browsers using TypeScript.

Features

  • Handle multiple tests in a row for same functions.
  • Allow to declare global configuration file for all tests. ( better space management )

Features todo

  • Test all functions of a class.

Installation

To use grace-ts in your project install it via npm:

npm i @fusionworks/grace-ts --save-dev

Testing

You can test it out by running

  • cd demo
  • npm run test