BaseFunSuite
Type members
Inherited classlikes
- Inherited from:
- SuiteTransforms
- Inherited from:
- ValueTransforms
Inherited types
Value members
Concrete methods
Inherited methods
Runs once after all test cases and after all suite-local fixtures have been tear down.
Runs once after all test cases and after all suite-local fixtures have been tear down.
- Inherited from:
- Suite
Asserts that two elements are equal according to the Compare[A, B]
type-class.
Asserts that two elements are equal according to the Compare[A, B]
type-class.
By default, uses ==
to compare values.
- Inherited from:
- Assertions
Asserts that two doubles are equal to within a positive delta. If the expected value is infinity then the delta value is ignored. NaNs are considered equal: assertEquals(Double.NaN, Double.NaN, *) passes.
Asserts that two doubles are equal to within a positive delta. If the expected value is infinity then the delta value is ignored. NaNs are considered equal: assertEquals(Double.NaN, Double.NaN, *) passes.
- Inherited from:
- Assertions
Asserts that two floats are equal to within a positive delta. If the expected value is infinity then the delta value is ignored. NaNs are considered equal: assertEquals(Float.NaN, Float.NaN, *) passes.
Asserts that two floats are equal to within a positive delta. If the expected value is infinity then the delta value is ignored. NaNs are considered equal: assertEquals(Float.NaN, Float.NaN, *) passes.
- Inherited from:
- Assertions
Asserts that two elements are not equal according to the Compare[A, B]
type-class.
Asserts that two elements are not equal according to the Compare[A, B]
type-class.
By default, uses ==
to compare values.
- Inherited from:
- Assertions
Runs once before all test cases and before all suite-local fixtures are setup. An error in this method aborts the test suite.
Runs once before all test cases and before all suite-local fixtures are setup. An error in this method aborts the test suite.
- Inherited from:
- Suite
Runs before each individual test case. An error in this method aborts the test case.
Runs before each individual test case. An error in this method aborts the test case.
- Inherited from:
- Suite
Unconditionally fails this test with the given message and optional clues.
Unconditionally fails this test with the given message and optional clues.
- Inherited from:
- Assertions
Unconditionally fails this test with the given message and exception marked as the cause.
Unconditionally fails this test with the given message and exception marked as the cause.
- Inherited from:
- Assertions
Unconditionally fails this test due to result of comparing two values.
Unconditionally fails this test due to result of comparing two values.
The only reason to use this method instead of fail()
is if you want to
allow comparing the two different values in the the IntelliJ GUI diff
viewer.
- Inherited from:
- Assertions
Unconditionally fail this test case and cancel all the subsequent tests in this suite.
Unconditionally fail this test case and cancel all the subsequent tests in this suite.
- Inherited from:
- Assertions
Evalutes the given expression and asserts that an exception of type T is thrown.
Evalutes the given expression and asserts that an exception of type T is thrown.
- Inherited from:
- Assertions
Evalutes the given expression and asserts that an exception of type T with the expected message is thrown.
Evalutes the given expression and asserts that an exception of type T with the expected message is thrown.
- Inherited from:
- Assertions
Fixtures that can be reused for individual test cases or entire suites.
Fixtures that can be reused for individual test cases or entire suites.
- Inherited from:
- Suite
Concrete fields
Inherited fields
Implicits
Inherited implicits
Implicitly create a TestOptions given a test name.
This allows writing test("name") { ... }
even if test
accepts a TestOptions
Implicitly create a TestOptions given a test name.
This allows writing test("name") { ... }
even if test
accepts a TestOptions
- Inherited from:
- TestOptionsConversions