> For the complete documentation index, see [llms.txt](https://as-pect.gitbook.io/as-pect/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://as-pect.gitbook.io/as-pect/packages/assembly.md).

# @as-pect/assembly

AssemblyScript-side test runtime and ambient test declarations for `as-pect` Test suites.

This package provides the globals used in AssemblyScript tests, such as `describe`, `it`, `expect`, hooks, logging, and snapshot assertions. Projects normally receive the declarations through `asp --init` and compile the runtime through the `as-pect.asconfig.json` template.

## Documentation

Detailed test-author guidance and type references live in GitBook:

* [Getting started](/as-pect/docs/using/getting-started.md)
* [Writing tests](/as-pect/docs/using/writing-tests.md)
* [Assertion reference](/as-pect/docs/reference/assertion-reference.md)
* [`@as-pect/assembly` types](/as-pect/docs/types/assembly.md)

Hosted docs: [as-pect.gitbook.io/as-pect](https://as-pect.gitbook.io/as-pect/).
