scrypt-testgen
Automatic test generator for sCrypt-ts smart contracts. Generates comprehensive Mocha test files by analyzing contract structure.
Features
- Parses sCrypt-ts contracts
- Generates ready-to-run Mocha test files
- Includes happy-path tests for all public methods
- Creates edge-case tests for comprehensive coverage
- Produces clean and readable test code
Installation
```bash
npm install -g scrypt-testgen@latest
npx scrypt-testgen path/to/contract.ts
optional
--minimal or -- coverage