跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Property Based Testing

插件 已验证 活跃

Property-based testing guidance for multiple languages and smart contracts

1 个 Skill 0 个 MCP
目的

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

功能

  • 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

使用场景

  • 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

非目标

  • 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

安装

请先添加 Marketplace

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

质量评分

已验证
97 /100
1 day ago 分析

信任信号

最近提交3 days ago
星标5.2k
许可证CC-BY-SA-4.0
状态
查看源代码