EUnit

Reference Manual

Version 2.3.5

- User's Guide
- Reference Manual
- Release Notes
- PDF
- Top

- 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(Kind, 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ël Rémond mickael.remond@process-one.net