Options
All
  • Public
  • Public/Protected
  • All
Menu

Initialize a new XUnit test reporter.

see

https://mochajs.org/api/Mocha.reporters.XUnit.html

Hierarchy

  • XUnit

Index

Interfaces

Constructors

Methods

Constructors

constructor

  • Parameters

    Returns XUnit

  • deprecated

    Use the overload that accepts Mocha.Runner instead.

    Parameters

    Returns XUnit

Methods

done

  • done(failures: number, fn: function): void
  • Override done to close the stream (if it's a file).

    see

    https://mochajs.org/api/Mocha.reporters.XUnit.html#done

    Parameters

    • failures: number
    • fn: function
        • (failures: number): void
        • Parameters

          • failures: number

          Returns void

    Returns void

test

  • test(test: Test): void

write

  • write(line: string): void

Generated using TypeDoc