SKILL7.0K installs7.8K

Property Based Testing

Provides guidance for property-based testing across multiple languages and smart contracts. Use when writing tests, reviewing code with serialization/validation/parsing patterns, designing features, or when property-based testing would provide stronger coverage than example-based tests.

Type
Skill
Author
trailofbits
Category
Testing
GitHub stars
7.8K
Installs
7.0K
Last updated
October 28, 2026

Install

npx skills add https://github.com/trailofbits/skills --skill property-based-testing

Use cases


Frequently Asked Questions

When should I use property-based testing instead of example-based tests?

Use it when example-based tests won't cover enough cases, such as serialization, validation, or parsing patterns.

Does it support more than one language?

Yes, it provides guidance across multiple languages and smart contracts.

Is this skill only for writing new tests?

No, it also helps when reviewing code, designing features, or deciding where property-based testing gives stronger coverage.


About this skill

Guidance for writing property-based tests across multiple languages and smart contracts. Useful when reviewing code with serialization, validation, or parsing patterns, or when example-based tests won't cover enough cases. It helps decide where property-based testing gives stronger coverage.

Summary written with AI assistance from the project's public description.


Categories


More from trailofbits


Similar Skills