Bunoon: **JUST** | *Manual* | __Report Details__

Below is a list of functions which will return specific information about a tests after they have been run (in any of the supported types). You can get the total number of tests that has been passed, failed or skipped. You can also get the total duration (in seconds) it took to run the test, while also being able to get the actual HTML log that was generated.

Gets the total number of tests that have been passed (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total tests passed.

Below is an example of how to use this function:

var value = $J.Report.GetTotalPassed();

Gets the total number of tests that have been failed (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total tests failed.

Below is an example of how to use this function:

var value = $J.Report.GetTotalFailed();

Gets the total number of tests that have been ignored (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total tests ignored.

Below is an example of how to use this function:

var value = $J.Report.GetTotalIgnored();

Gets the total number of test cases that have been skipped (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total test cases skipped.

Below is an example of how to use this function:

var value = $J.Report.GetTotalCasesSkipped();

Gets the total number of tests that have been skipped (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total tests skipped.

Below is an example of how to use this function:

var value = $J.Report.GetTotalTestsSkipped();

Gets the total time it took to run the tests (for this run time and in seconds) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total run time.

Below is an example of how to use this function:

var value = $J.Report.GetTotalSeconds();

Gets the total number of execution errors that occurred (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total execution errors.

Below is an example of how to use this function:

var value = $J.Report.GetTotalExecutionErrors();

Gets the total number of assert function calls (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total number of assert calls.

Below is an example of how to use this function:

var value = $J.Report.GetTotalAssertCalls();

Gets the total number of tests that have run (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total number of tests run.

Below is an example of how to use this function:

var value = $J.Report.GetTotalTests();

Gets the total number of test cases that have been repeated (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total number of test cases repeated

Below is an example of how to use this function:

var value = $J.Report.GetTotalCasesRepeated();

Gets the total number of tests that have been repeated (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total number of tests repeated

Below is an example of how to use this function:

var value = $J.Report.GetTotalTestsRepeated();

Gets the HTML log report that has been generated for the tests and returns it.

The return value for this function is as follows:

- [
*String*] - A string containing the HTML report log.

Below is an example of how to use this function:

var value = $J.Report.GetTotalHTMLLog();

Gets the tests passed status and returns it.

The return value for this function is as follows:

- [
*Boolean*] - A boolean of true/false to indicate if the tests have passed.

Below is an example of how to use this function:

var value = $J.Report.GetHaveTestPassed();

Gets the total number of cases that have run (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total number of cases run.

Below is an example of how to use this function:

var value = $J.Report.GetTotalCases();

Gets the total number of tests that have been added (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total number of tests added.

Below is an example of how to use this function:

var value = $J.Report.GetTotalTestsAdded();

Gets the total number of tests that have been removed (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total number of tests removed.

Below is an example of how to use this function:

var value = $J.Report.GetTotalTestsRemoved();

Gets the total number of asserts that have been skipped (for this run time) and returns it.

The return value for this function is as follows:

- [
*Number*] - A number containing the total asserts skipped.

Below is an example of how to use this function:

var value = $J.Report.GetTotalAssertsSkipped();

Gets an array of the test names that have passed (or a coma separated string, which can be used for test orders).

The main arguments for this function are as follows:

- orderBased [
*Boolean*] - States if we should return the names in an order string format (defaults to false).

The return value for this function is as follows:

- [
*Object*] - An array or string of the tests that have been passed.

Below is an example of how to use this function:

var value = $J.Report.GetTestNamesPassed();

Gets an array of the test names that have failed (or a coma separated string, which can be used for test orders).

The main arguments for this function are as follows:

- orderBased [
*Boolean*] - States if we should return the names in an order string format (defaults to false).

The return value for this function is as follows:

- [
*Object*] - An array or string of the tests that have been failed.

Below is an example of how to use this function:

var value = $J.Report.GetTestNamesFailed();

Gets an array of the test names that have been skipped (or a coma separated string, which can be used for test orders).

The main arguments for this function are as follows:

- orderBased [
*Boolean*] - States if we should return the names in an order string format (defaults to false).

The return value for this function is as follows:

- [
*Object*] - An array or string of the tests that have been skipped.

Below is an example of how to use this function:

var value = $J.Report.GetTestNamesSkipped();

Gets an array of the test names that have been ignored (or a coma separated string, which can be used for test orders).

The main arguments for this function are as follows:

- orderBased [
*Boolean*] - States if we should return the names in an order string format (defaults to false).

The return value for this function is as follows:

- [
*Object*] - An array or string of the tests that have been ignored.

Below is an example of how to use this function:

var value = $J.Report.GetTestNamesIgnored();

Gets the an object of TestCase() names, which contain the names of each test and the the duration they took to run.

The return value for this function is as follows:

- [
*Object*] - An object containing the test durations.

Below is an example of how to use this function:

var value = $J.Report.GetTestDurations();

Gets an array of the stack traces that have occurred (for this run time) and returns it.

The return value for this function is as follows:

- [
*Array*] - Ann array containing the stack traces.

Below is an example of how to use this function:

var value = $J.Report.GetStackTraces();