Skip to content

[76.3] Conjecture.Tool CLI project#95

Merged
kommundsen merged 2 commits intomainfrom
feat/76-88-conjecture-tool-cli-project
Apr 8, 2026
Merged

[76.3] Conjecture.Tool CLI project#95
kommundsen merged 2 commits intomainfrom
feat/76-88-conjecture-tool-cli-project

Conversation

@kommundsen
Copy link
Copy Markdown
Owner

Description

Adds the Conjecture.Tool CLI project — a packable .NET tool (conjecture) that generates sample data from user-supplied strategy providers found in a compiled assembly.

  • AssemblyLoader scans an assembly for IStrategyProvider<T> implementations and resolves providers by full or simple type name
  • GenerateCommand loads a provider via reflection, generates values with DataGen.Stream, and writes output using IOutputFormatter (json/jsonl)
  • Adds System.CommandLine to central package management

Type of change

  • New feature / strategy

Checklist

  • dotnet test src/ passes
  • New behavior is covered by tests (TDD: Red → Green → Refactor)
  • Follows .editorconfig code style

Closes #88
Part of #76

- New packable tool project with `conjecture generate` command surface
- AssemblyLoader scans assemblies for IStrategyProvider<T> implementations,
  resolving by full name or simple name of T
- GenerateCommand loads a provider at runtime via reflection and writes
  output using IOutputFormatter (json/jsonl)
- Adds System.CommandLine to central package management
@kommundsen kommundsen merged commit 41491c7 into main Apr 8, 2026
1 check passed
@kommundsen kommundsen deleted the feat/76-88-conjecture-tool-cli-project branch April 8, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[76.3] Conjecture.Tool CLI project

1 participant