SA

suissa/allascode-testscreator

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

0 stars 품질 48 트렌드 14

Automatic deterministic test generation for AllasCode function/Action contracts and behavior trajectories.

개요

Automatic deterministic test generation for AllasCode function/Action contracts and behavior trajectories. TestsCreator generates: - one fully valid synthetic case; - boundary cases from declared constraints; - isolated invalid cases, changing exactly one parameter/property at a time; - reproducible values from a seed; - trajectory tests that traverse modeled workflow branches to terminal outcomes; - edge-coverage reports that identify transitions not exercised from the declared start; - ephemeral test execution metadata so payloads and business events are never persisted. 1. — one valid synthetic case, boundary cases, and isolated invalid cases derived from declared constraints, using a reproducible seed. 2. — the PureCore DSL and scenario config compile into deterministic canonical JSON for five distinct test types: unit, load, stress, chaos, and security.

README

원문 README의 일부입니다. 원문 보기.

AllasCode TestsCreator

Automatic deterministic test generation for AllasCode function/Action contracts and behavior trajectories.

TestsCreator generates:

  • one fully valid synthetic case;
  • boundary cases from declared constraints;
  • isolated invalid cases, changing exactly one parameter/property at a time;
  • reproducible values from a seed;
  • trajectory tests that traverse modeled workflow branches to terminal outcomes;
  • edge-coverage reports that identify transitions not exercised from the declared start;
  • ephemeral test execution metadata so payloads and business events are never persisted.
  1. Contract-case generation — one valid synthetic case, boundary cases, and isolated invalid cases derived from declared constraints, using a reproducible seed.
  2. Semantic suite compilation — the PureCore DSL and scenario config compile into deterministic canonical JSON for five distinct test types: unit, load, stress, chaos, and security.

The semantic compiler validates matching suite/agent/intent identities, required test kinds, recognized configuration keys, and bounded non-zero load/stress settings. DSL/config are data, never executable assertions. The runtime executor remains the authority for observed pass/fail outcomes.

The Entity Driven Testing parser also preserves zero-padded identifiers such as CPF values, rejects duplicate input names, and validates that each Run argument refers to a declared Input before lowering.

Canonical test types

Unit/contract tests

For a function such as CreateUser(name: String(min=1,max=80), age: Int(min=18,max=120)), the generator creates valid, boundary, and isolated invalid cases. Every negative case keeps all other arguments valid.

Trajectory coverage

The structural path generator is in src/trajectory.zig, with its skill contract in skills/trajectory-coverage/SKILL.md and details in docs/TRAJECTORY-COVERAGE.md.

Given a directed graph with a declared start and explicit terminal states, it enumerates reachable terminal trajectories, handles cycles with a bounded policy, and reports uncovered edges. This is structural model-based path generation; guard satisfiability and runtime execution still require adapters.

Validation-Driven Synthetic Data Generation

The validation feedback layer emits structured diagnostics and applies deterministic, constraint-directed repairs while preserving the original failing case. See the VDSDG design and src/validation_feedback.zig. The real validator remains the pass/fail oracle; repair is not proof of validity.

Native Smith semantic fuzzing

GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add suissa/allascode-testscreator
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →