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

Implement junit compatible report for Android Lint #167

Closed

Conversation

arunkumar9t2
Copy link
Contributor

@arunkumar9t2 arunkumar9t2 commented Apr 17, 2024

Implements a transform to convert default Android Lint result xml to Junit Compatible format. This has number of advantages since Junit format is widely adopted into many areas like IDEs and CI tools. This is accomplished without modifying existing console output by adding a dedicated Junit XML output from the lint action and writing to $XML_OUTPUT_FILE. Reference

With this change, console execution retains default lint xml while invoking from IDEs would be test tooling friendly.

Example Android Studio integration:

Screenshot 2024-04-17 at 1 46 29 PM

Gitlab CI:

Screenshot 2024-04-17 at 1 48 29 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants