SobelowJunit
Convert sobelow.sarif.json files into JUnit XML. This tool was primarily made to produce JUnit consumable tests reports for CircleCI.
Usage
- Add sobelow_junit to your mix.exs
{:sobelow_junit, git: "https://github.com/byjpr/sobelow-junit", only: [:dev, :test], runtime: false}
- Run Sobelow and save output to reports/sobelow.sarif.json
$ mix sobelow $1 --format sarif >> reports/sobelow.sarif.json
- Convert sobelow.sarif.json to reports/sobelow.xml
mix sobelow_to_junit
Installation
def deps do
[
{:sobelow_junit, git: "https://github.com/byjpr/sobelow-junit", only: [:dev, :test], runtime: false}
]
end