UNPKG

@as-pect/assembly

Version:

Write AssemblyScript tests at blazing fast speeds

40 lines (25 loc) 2.05 kB
# jtenner/as-pect - @as-pect/assembly [![Test](https://github.com/jtenner/as-pect/actions/workflows/test.yml/badge.svg)](https://github.com/jtenner/as-pect/actions/workflows/test.yml) [![Coverage Status](https://coveralls.io/repos/github/jtenner/as-pect/badge.svg?branch=master)](https://coveralls.io/github/jtenner/as-pect?branch=master) [![Changesets](https://img.shields.io/badge/maintained%20with-changesets-176de3.svg)](https://github.com/changesets/changesets) Write your module in AssemblyScript and get blazing fast bootstrapped tests with WebAssembly speeds! ## Documentation To view the documentation, it's located [here](https://tenner-joshua.gitbook.io/as-pect/) on the gitbook. If there are any issues with the docs, please feel free to file an issue! ## Runtime vocabulary This package is the AssemblyScript-side testing runtime used by each Test suite. It calls into the JavaScript Wasm host for declaration-time and runtime facts, including Test tree recorder events, logs, reflected assertion values, and snapshot entries. Class instance comparisons and reflected object output depend on methods generated by the Class reflection transform in `@as-pect/transform`. Those generated methods implement the Class-member plan that runtime `Reflect` helpers consume. ## Contributors To contribute please see [CONTRIBUTING.md](./CONTRIBUTING.md). Thanks to [@willemneal](https://github.com/willemneal) and [@MaxGraey](https://github.com/maxgraey) for all their support in making `as-pect` the best software it can be. Other Contributors: - [@trusktr](https://github.com/trusktr) - Documentation Changes - [@MaxGraey](https://github.com/maxgraey) - Performance API suggestions - [@torch2424](https://github.com/torch2424) - Documentation Changes - [@dcodeIO](https://github.com/dcodeIO) - Made AssemblyScript itself! - [@9oelM](https://github.com/9oelM) - Misc functionalities ## Special Thanks Special thanks to the [AssemblyScript](https://github.com/AssemblyScript/assemblyscript) team for creating AssemblyScript itself.