Skip to content

Getting Started

Install as-test in your AssemblyScript project:

bash
npm install --save-dev as-test

Initialize the project structure:

bash
npx as-test init --dir .

Run the default test suite:

bash
ast test

Typical layout:

text
assembly/
  __tests__/
    math.spec.ts
  __fuzz__/
    parser.fuzz.ts
.as-test/
as-test.config.json

Next guides: