Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Property Based Testing

Plugin Verifiziert Aktiv
Teil von:Trailofbits

Property-based testing guidance for multiple languages and smart contracts

1 Skill 0 MCPs
Zweck

To guide developers in leveraging property-based testing for more robust and comprehensive test coverage across different languages and smart contract frameworks.

Funktionen

  • Guidance on property-based testing patterns
  • Support for multiple programming languages
  • Coverage for smart contract testing frameworks
  • Identification of suitable code constructs for PBT
  • Recommendations for testing libraries and properties

Anwendungsfälle

  • Writing property-based tests for serialization and parsing logic
  • Designing new features with testability in mind using PBT
  • Reviewing code to identify areas that would benefit from PBT
  • Improving test coverage for pure functions and data structures

Nicht-Ziele

  • Automatically generating tests for all code
  • Replacing example-based testing entirely
  • Providing specific language runtimes or libraries
  • Testing code with side effects that cannot be isolated

Installation

Zuerst Marketplace hinzufügen

/plugin marketplace add trailofbits/skills
/plugin install property-based-testing@trailofbits

Qualitätspunktzahl

Verifiziert
97 /100
Analysiert about 16 hours ago

Vertrauenssignale

Letzter Commit3 days ago
Sterne5.2k
LizenzCC-BY-SA-4.0
Status
Quellcode ansehen