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

Integration test coverage for generating deployable jar task provider #1308

Closed
ZachiNachshon opened this issue Oct 24, 2019 · 3 comments
Closed
Labels
lang: scala Scala rules integration topic: meta / development Meta issues around plugin development

Comments

@ZachiNachshon
Copy link

Hey,

I would like to add an integration test to cover the previously closed issue #1172.
GenerateDeployableJarTaskProviderTest should cover the ability to generate a deployable jar task provider in scala_library.

Thanks,
Zachi

@jin
Copy link
Member

jin commented Oct 24, 2019

Happy to take additional tests.

@ZachiNachshon
Copy link
Author

Hey @brendandouglas ,

After looking into the GenerateDeployableJarTaskProviderTest flow I wish to implement, it seems more beneficial to implement an end-to-end test based on the BazelInvokingIntegrationTest that actually builds a deployable jar.

The actual problem for this issue was the fact that although IntelliJ had a valid run configuration before-launch build step, it failed building a deployable jar.

I believe that by only testing IntelliJ Swing UI, we might miss proper coverage in case of additional changes to this task flow.

I'll be glad to get your input on the matter. In case you think it's not a valid point, It'll be great to hear how do you suggest to properly add good coverage for this task.

Thanks

@mai93 mai93 added topic: meta / development Meta issues around plugin development lang: scala Scala rules integration labels Feb 11, 2021
@sgowroji
Copy link
Member

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang: scala Scala rules integration topic: meta / development Meta issues around plugin development
Projects
None yet
Development

No branches or pull requests

4 participants