Skip to content

feat(cli): add offline starter suite initializer - #47

Open
Aaqibhafeezkhan wants to merge 1 commit into
OpenWave-India:mainfrom
Aaqibhafeezkhan:feat/issue-42-init
Open

Aaqibhafeezkhan wants to merge 1 commit into
OpenWave-India:mainfrom
Aaqibhafeezkhan:feat/issue-42-init

Conversation

@Aaqibhafeezkhan

Copy link
Copy Markdown

Closes #42

What this changes

  • Add modeldiff init <directory> to generate a ready-to-use starter project.
  • Generate a two-case suite with an exact check and a JSON Schema check.
  • Add baseline and candidate replay configurations.
  • Include matching recorded outputs clearly labelled as placeholders.
  • Print commands to validate, run and compare the generated suite.
  • Refuse non-empty directories unless --force is provided.
  • With --force, write only the starter files and preserve unrelated existing content.
  • Update the README quick start.

Tests

  • Added CLI coverage for starter project generation and the complete offline workflow.
  • Added overwrite protection and --force preservation tests.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your first pull request to ModelDiff! A maintainer will review it soon. CI for first-time contributors starts after a maintainer approves it.

While you wait, please check that:

  • The issue was assigned to you before you started (see One issue at a time).
  • The description links the issue (Closes #12) and says how you tested the change.
  • pytest, ruff check src tests examples and ruff format --check src tests examples pass locally.
  • The Files changed tab shows only changes for this issue.

@Aaqibhafeezkhan Aaqibhafeezkhan left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added offline starter suite

This branch has not been deployed

No deployments
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.

Add a modeldiff init command that creates a starter suite and configs

1 participant