# danger-junit A description of danger-junit. ## Installation $ gem install danger-junit ## Usage ### junit Report, or inspect any JUnit XML formatted test suite report. Testing frameworks have standardized on the JUnit XML format for reporting results, this means that projects using Rspec, Jasmine, Mocha, XCTest and more - can all use the same Danger error reporting. Perfect. You can see some examples on [this page from Circle CI](https://circleci.com/docs/test-metadata/) about how you can add JUnit XML output for your testing projects.
Parse the XML file, and let the plugin do your reportingjunit.parse "/path/to/output.xml" junit.report
Let the plugin parse the XML file, and report yourselfjunit.parse "/path/to/output.xml" fail("Tests failed") unless junit.fails.empty?
Warn on a report about skipped tests#### Attributesjunit.parse "/path/to/output.xml" junit.show_skipped_tests = true junit.report