org.qore.QUnit
QUnit
qore-lang
doxygen

# Qore QUnit Module Reference 0.4.3

## QUnit Module

### Introduction to the QUnit Module

Running tests

Supported output formats of test reports

### Release Notes

Version 0.4.3

Version 0.4.2

Version 0.4.1

Version 0.4

Version 0.3.3

Version 0.3.2

Version 0.3.1

Version 0.3

Version 0.2

Version 0.1

## Namespaces

### Namespace List

QUnit

## Classes

### Class List

#### QUnit

AbstractTestResult

##### DependencyInjectedTest

constructor

constructor

createInjectedProgram

createProgram

getParseOptions

getScriptPath

getScriptPathImpl

injectClass

injectFunction

injectUserModule

main

performCommonInjections

performInjections

performInjectionsImpl

reloadAndCommitProgram

reloadSelf

setReloadedParseOptions

child

modules

testedFile

##### Test

addTestCase

addTestCase

assertEq

assertEqSoft

assertFalse

assertFloatEq

assertGe

assertGeSoft

assertGt

assertGtSoft

assertionOk

assertLe

assertLeSoft

assertLt

assertLtSoft

assertNeq

assertNeqSoft

assertNothing

assertNRegex

assertNumberEq

assertRegex

assertSkip

assertThrows

assertThrows

assertTrue

constructor

constructor

equals

equalsIterated

fail

getEnv

getTestCase

globalSetUp

globalTearDown

main

notEquals

printUnexpectedData

regexpMatches

setUp

tearDown

testAssertion

testAssertion

testAssertion

testAssertion

testAssertion

testAssertion

testAssertion

testAssertion

testAssertion

testAssertion

testAssertionValue

testAssertionValue

testAssertionValue

testCases

testNullAssertion

testSkip

DEFAULT_EPSILON

QUC_EQ

QUC_GE

QUC_GT

QUC_LE

QUC_LT

QUC_Map

QUC_NEQ

QUC_NRE

QUC_RE

##### TestCase

checkException

constructor

getName

rename

run

m_args

m_code

m_name

num_asserts

num_asserts_ok

num_asserts_skip

saved_tc

##### TestReporter

addTestResult

constructor

constructor

errors

init

skipped

testCount

m_name

m_options

m_printMethods

m_version

new_argv

num_asserts

num_asserts_ok

num_asserts_skip

OffsetColumn

Opts

##### TestResultExceptionDetail

constructor

equals

toString

##### TestResultExceptionRegexp

equals

toString

##### TestResultExceptionSubstring

toString

##### TestResultExceptionType

constructor

constructor

equals

toString

m_exceptionType

##### TestResultFailure

constructor

constructor

equals

TestResultPartialHashMatch

##### TestResultSuccess

equals

##### TestResultValue

equals

Class Index

### Class Hierarchy

#### QUnit::AbstractTestResult

##### QUnit::TestResultExceptionType

QUnit::TestResultExceptionDetail

###### QUnit::TestResultExceptionRegexp

QUnit::TestResultExceptionSubstring

QUnit::TestResultFailure

QUnit::TestResultPartialHashMatch

QUnit::TestResultSuccess

QUnit::TestResultValue

QUnit::TestCase

#### QUnit::TestReporter

##### QUnit::Test

QUnit::DependencyInjectedTest

### Class Members

All

Functions

Variables

tabs.css
tab_a.png
tab_b.png
tab_h.png
tab_s.png
nav_h.png
nav_f.png
bc_s.png
doxygen.png
closed.png
open.png
bdwn.png
sync_on.png
sync_off.png
doxygen.css
jquery.js
dynsections.js
search/search_l.png
search/search_m.png
search/search_r.png
search/close.png
search/mag_sel.png
search/search.css
search/search.js
namespace_q_unit.html
class_q_unit_1_1_abstract_test_result.html
class_q_unit_1_1_abstract_test_result__inherit__graph.png
class_q_unit_1_1_abstract_test_result-members.html
class_q_unit_1_1_dependency_injected_test.html
class_q_unit_1_1_dependency_injected_test__inherit__graph.png
class_q_unit_1_1_dependency_injected_test-members.html
class_q_unit_1_1_test.html
class_q_unit_1_1_test__inherit__graph.png
class_q_unit_1_1_test-members.html
class_q_unit_1_1_test_case.html
class_q_unit_1_1_test_case-members.html
class_q_unit_1_1_test_reporter.html
class_q_unit_1_1_test_reporter__inherit__graph.png
class_q_unit_1_1_test_reporter-members.html
class_q_unit_1_1_test_result_exception_detail.html
class_q_unit_1_1_test_result_exception_detail__inherit__graph.png
class_q_unit_1_1_test_result_exception_detail-members.html
class_q_unit_1_1_test_result_exception_regexp.html
class_q_unit_1_1_test_result_exception_regexp__inherit__graph.png
class_q_unit_1_1_test_result_exception_regexp-members.html
class_q_unit_1_1_test_result_exception_substring.html
class_q_unit_1_1_test_result_exception_substring__inherit__graph.png
class_q_unit_1_1_test_result_exception_substring-members.html
class_q_unit_1_1_test_result_exception_type.html
class_q_unit_1_1_test_result_exception_type__inherit__graph.png
class_q_unit_1_1_test_result_exception_type-members.html
class_q_unit_1_1_test_result_failure.html
class_q_unit_1_1_test_result_failure__inherit__graph.png
class_q_unit_1_1_test_result_failure-members.html
class_q_unit_1_1_test_result_partial_hash_match.html
class_q_unit_1_1_test_result_partial_hash_match__inherit__graph.png
class_q_unit_1_1_test_result_partial_hash_match-members.html
class_q_unit_1_1_test_result_success.html
class_q_unit_1_1_test_result_success__inherit__graph.png
class_q_unit_1_1_test_result_success-members.html
class_q_unit_1_1_test_result_value.html
class_q_unit_1_1_test_result_value__inherit__graph.png
class_q_unit_1_1_test_result_value-members.html
graph_legend.png
graph_legend.html
dir_4e8d938e9ddb5a617c200d5739d1f41a.html
dir_13add0083e006ac756009d5942a24d28.html
index.html
pages.html
namespaces.html
annotated.html
classes.html
hierarchy.html
inherits.html
inherit_graph_0.png
inherit_graph_1.png
inherit_graph_2.png
functions.html
functions.html
functions.html
functions.html
functions.html
functions.html
functions.html
functions.html
functions.html
functions.html
functions.html
functions.html
functions.html
functions.html
functions.html
functions_func.html
functions_func.html
functions_func.html
functions_func.html
functions_func.html
functions_func.html
functions_func.html
functions_func.html
functions_func.html
functions_func.html
functions_func.html
functions_func.html
functions_vars.html
functions_vars.html
functions_vars.html
functions_vars.html
functions_vars.html
functions_vars.html
functions_vars.html
functions_vars.html
functions_vars.html