Erlang -- eunit_surefire

User's Guide
Reference Manual
Release Notes
PDF
Top

EUnit
Reference Manual
Version 2.1.6

Expand All
Contract All

Table of Contents

- eunit
  - Top of manual page
  - start/0
  - stop/0
  - test/1
  - test/2
- eunit_surefire
  - Top of manual page
  - handle_begin/3
  - handle_cancel/3
  - handle_end/3
  - init/1
  - start/0
  - start/1
  - terminate/2

# eunit_surefire

### MODULE

eunit_surefire

### MODULE SUMMARY

Surefire reports for EUnit (Format used by Maven and Atlassian Bamboo for example to integrate test results).

### DESCRIPTION

Surefire reports for EUnit (Format used by Maven and Atlassian Bamboo for example to integrate test results). Based on initial code from Paul Guyot.

Example: Generate XML result file in the current directory:

         eunit:test([fib, eunit_examples],
                    [{report,{eunit_surefire,[{dir,"."}]}}]).

### EXPORTS

handle_begin(X1, Data, St) -> term()

handle_cancel(X1, Data, St) -> term()

handle_end(X1, Data, St) -> term()

init(Options) -> term()

start() -> term()

start(Options) -> term()

terminate(X1, St) -> term()

### See also

eunit

Micka&euml;l R&eacute;mond mremond@process-one.net