Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLI] binary level integration tests #1252

Open
billy1624 opened this issue Nov 24, 2022 · 0 comments
Open

[CLI] binary level integration tests #1252

billy1624 opened this issue Nov 24, 2022 · 0 comments

Comments

@billy1624
Copy link
Member

Motivation

Currently, we don't have tests on CLI binary for example running sea-orm-cli generate entity --options --flags then validate the behaviour of the command.

Without it, naive mistakes will be made, such as #1250.

Proposed Solutions

The CLI now has two main functionality, generate entity files and run migration. We could test both at the same time. Strat with running migration, then follow by generating entity files against the database schema with the applied migrations.

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

No branches or pull requests

1 participant