eunit_surefire(3erl)

πŸ“¦
version 25.3.2.8 Β· 4 versions
, in ubuntu noble

✨ NAME ✨

okay so bestie, welcome to eunit_surefire(3erl) β€” the Erlang Module Definition page for eunit_surefire, aka the module that’s literally giving Surefire reports for EUnit. πŸ’…βœ¨

🌸 DESCRIPTION 🌸

Surefire reports for EUnit β€” yep, the format used by Maven and Atlassian Bamboo (for example) to integrate test results. It’s giving β€œtest results but make it XML.” πŸŽ€

The initial code came from Paul Guyot β€” credit where it’s due, we love that 🫢.

Example: generate an XML result file in the current directory, like this:

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

πŸ‘‘ EXPORTS πŸ‘‘

Here’s the full export lineup, no skips, no merges β€” every signature stays exactly as it is:

  • 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 β€” go look, bestie, it’s the main character πŸ‘‘

🌈 AUTHORS 🌈

  • MickaΓ«l RΓ©mond <mickael.remond@process-one.net> β€” iconic πŸ’–

mwah πŸ’‹ β€” this cutie is from eunit 2.8.2 and it’s the eunit_surefire(3erl) manual. (The footer doesn’t give a date, so I’m not inventing one, bestie πŸ™ˆ)

πŸ“¦ where this page comes from