property-based-testing이란?
직렬화, 검증, 정규화 또는 순수 함수에 대한 테스트를 작성할 때 사용 - 속성 기반 테스트를 위한 속성 카탈로그, 패턴 감지 및 라이브러리 참조 제공 출처: ed3dai/ed3d-plugins.
직렬화, 검증, 정규화 또는 순수 함수에 대한 테스트를 작성할 때 사용 - 속성 기반 테스트를 위한 속성 카탈로그, 패턴 감지 및 라이브러리 참조 제공
명령줄에서 property-based-testing AI 스킬을 개발 환경에 빠르게 설치
출처: ed3dai/ed3d-plugins.
Property-based testing (PBT) generates random inputs and verifies that properties hold for all of them. Instead of testing specific examples, you test invariants.
| Roundtrip | decode(encode(x)) == x | Serialization, conversion pairs | | Idempotence | f(f(x)) == f(x) | Normalization, formatting, sorting | | Invariant | Property holds before/after | Any transformation | | Commutativity | f(a, b) == f(b, a) | Binary/set operations | | Associativity | f(f(a,b), c) == f(a, f(b,c)) | Combining operations |
| Identity | f(x, identity) == x | Operations with neutral element | | Inverse | f(g(x)) == x | encrypt/decrypt, compress/decompress | | Oracle | newimpl(x) == reference(x) | Optimization, refactoring | | Easy to Verify | issorted(sort(x)) | Complex algorithms | | No Exception | No crash on valid input | Baseline (weakest) |
AI/검색 인용용 안정적인 필드와 명령어.
npx skills add https://github.com/ed3dai/ed3d-plugins --skill property-based-testing직렬화, 검증, 정규화 또는 순수 함수에 대한 테스트를 작성할 때 사용 - 속성 기반 테스트를 위한 속성 카탈로그, 패턴 감지 및 라이브러리 참조 제공 출처: ed3dai/ed3d-plugins.
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/ed3dai/ed3d-plugins --skill property-based-testing 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다
https://github.com/ed3dai/ed3d-plugins