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

Is there a way to use native image agent while running test? #58

Open
bilal-fazlani opened this issue Jul 21, 2022 · 0 comments
Open

Is there a way to use native image agent while running test? #58

bilal-fazlani opened this issue Jul 21, 2022 · 0 comments

Comments

@bilal-fazlani
Copy link

I have developed a fairly large cli application using scala and am using sbt-native-image plugin to create its native image.
Ability to use sbt command "nativeImageAgentRun" is very helpful as it create the reflect-config.json automatically.

The issue is my application has many many logical branches. I supposed every cli application does have many code branches. To ensure I am creating correct reflect-config.json, I have run the CLI application many times with possibility. And it can be very hard depending on the size of application.

I have written tests for those scenarios. I would be very nice if there can be a way to execute the tests and use agent to derive the reflect-config.json via tests. That way I don't have to remember every code branch and manually test it every time.

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