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 new task to generate code and test the generated app #61

Open
stevehu opened this issue Feb 28, 2019 · 0 comments
Open

add a new task to generate code and test the generated app #61

stevehu opened this issue Feb 28, 2019 · 0 comments

Comments

@stevehu
Copy link
Contributor

stevehu commented Feb 28, 2019

Recently, we have made some enhancements to the light-codegen to resolve some issues and add new features. As a lot of our customers are using the tool to migrate to new light-4j releases, they found some regenerated models are not the same and existing code needs to to be updated to work with the new model classes.

The current light-codegen only has unit tests and it won't cover all use cases from our customers, in order to ensure that any update won't break customers code generation, we are going to add a new task in light-bot to call the light-codegen. Once the app is generated, we can test it against the example response defined in the specs.

Once this is done, we will encourage our users to submit their specs here and update the tests to ensure that their specifications won't be broken with new changes. For users who have internal API and don't want to reveal the specs, it is recommended to submit a stripped down version instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants