# Class: TestCaseReport

## vertx-unit-js/test_case_report~ TestCaseReport

#### new TestCaseReport()

Report the execution of a test case.

Source:
  - vertx-unit-js/test_case_report.js, line 30

### Methods

#### endHandler(handler) → {TestCaseReport}

Set a callback for completion, the specified `handler` is invoked when the test exec has completed.

##### Parameters:

Name | Type | Description
--- | --- | ---
`handler` | function | the completion handler

Source:
  - vertx-unit-js/test_case_report.js, line 59

##### Returns:

a reference to this, so the API can be used fluently

Type
  TestCaseReport

#### name() → {string}

Source:
  - vertx-unit-js/test_case_report.js, line 42

##### Returns:

- the test case name
- Type
    string