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

Add a test suite for generated code #24

Open
jfilby opened this issue Jul 27, 2022 · 0 comments
Open

Add a test suite for generated code #24

jfilby opened this issue Jul 27, 2022 · 0 comments
Labels
Milestone

Comments

@jfilby
Copy link
Owner

jfilby commented Jul 27, 2022

A test project would be bundled with Nexus that has YAML definitions that define ORM and web-app/service code.

To test, first run nexus gen to generate any YAML definitions into code. Unit tests within this project would then be run, which would call the generated code.

This testing should ideally run against every available DB driver, but that requires the corresponding DBs to be available. At a minimum the SQLite driver and DB should be tested with.

@jfilby jfilby added enhancement New feature or request orm view labels Jul 27, 2022
@jfilby jfilby added this to the v0.1.3 milestone Jul 27, 2022
@jfilby jfilby added the testing label Jul 27, 2022
@jfilby jfilby modified the milestones: v0.1.3, v0.1.4, v0.2.1 Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant