Skip to content

adrienmo/ex_unit_sonarqube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExUnit Sonarqube

Generate a generic test execution file to be used with SonarQube

GENERIC_EXECUTION_BASE_FOLDER="base/folder" mix test

Installation

First, add ExUnitSonarqube to your mix.exs dependencies:

def deps do
  [{:ex_unit_sonarqube, "~> 0.1", only: :test}]
end

Usage

Add ExUnitSonarqube to your ExUnit configuration in test/test_helper.exs file.

ExUnit.configure formatters: [ExUnit.CLIFormatter, ExUnitSonarqube]
ExUnit.start

Now run mix test and you should see a file created generic_test_execution_sonarqube.xml

About

Generate a generic test execution file to be used with SonarQube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages