SchemaSuite
Provides MUnit fixtures for checking the compatibility of codecs with a schema registry.
Attributes
- Source
- SchemaSuite.scala
- Graph
-
- Supertypes
-
class FunSuitetrait BaseFunSuitetrait EventuallyTransformstrait ValueTransformstrait SuiteTransformstrait TestTransformstrait TestOptionsConversionstrait FunFixturestrait Assertionstrait CompileErrorMacroclass Suitetrait PlatformSuiteclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- FunFixtures
- Source
- FunFixtures.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- FunFixtures
- Source
- FunFixtures.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- SuiteTransforms
- Source
- SuiteTransforms.scala
- Supertypes
Attributes
- Inherited from:
- TestTransforms
- Source
- TestTransforms.scala
- Supertypes
-
trait Test => Testclass Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ValueTransforms
- Source
- ValueTransforms.scala
- Supertypes
Inherited types
Attributes
- Inherited from:
- Suite
- Source
- Suite.scala
Attributes
- Inherited from:
- Suite
- Source
- Suite.scala
Attributes
- Inherited from:
- Suite
- Source
- Suite.scala
Attributes
- Inherited from:
- Suite
- Source
- Suite.scala
The value produced by test bodies.
Value members
Concrete methods
Returns a fixture for a AssertableCompatibilityChecker using a schema registry client acquired before all tests of the suite, and released after all tests of the suite.
Returns a fixture for a AssertableCompatibilityChecker using a schema registry client acquired before all tests of the suite, and released after all tests of the suite.
Attributes
- Source
- SchemaSuite.scala
Returns an AssertableCompatibilityChecker using the specified schema registry client.
Returns an AssertableCompatibilityChecker using the specified schema registry client.
Attributes
- Source
- SchemaSuite.scala
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.
Attributes
- Inherited from:
- Suite
- Source
- Suite.scala
Runs after each individual test case.
Asserts that the given condition is true.
Asserts that the given condition is true.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
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.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Asserts that two doubles are equal to within a positive delta.
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.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Asserts that two floats are equal to within a positive delta.
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.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Asserts that the given partial function is defined for the given value and that applying the partial function to the value returns true.
Asserts that the given partial function is defined for the given value and that applying the partial function to the value returns true.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Asserts that two strings are equal, ignoring non-visible differences such as whitespace.
Asserts that two strings are equal, ignoring non-visible differences such as whitespace. Useful for comparing multiline strings.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
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.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Aborts the test if the given condition is false.
Aborts the test if the given condition is false. In contrast with assert, a failed assumption does not fail the test, but rather marks it as skipped.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Runs once before all test cases and before all suite-local fixtures are setup.
Runs once before all test cases and before all suite-local fixtures are setup. An error in this method aborts the test suite.
Attributes
- Inherited from:
- Suite
- Source
- Suite.scala
Runs before each individual test case.
Runs before each individual test case. An error in this method aborts the test case.
Attributes
- Inherited from:
- Suite
- Source
- Suite.scala
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Return compilation errors as String.
Return compilation errors as String.
Note: for reproducible results set -pagewidth scalac option to a fixed value, eg 80.
Value parameters
- code
-
scala code that should not compile
Attributes
- Returns
-
formatted errors
- Inherited from:
- CompileErrorMacro
- Source
- MacroCompat.scala
Evaluates the effectful body until it succeeds or max retries are exhausted.
Evaluates the effectful body until it succeeds or max retries are exhausted.
Attributes
- Inherited from:
- EventuallyTransforms
- Source
- EventuallyTransforms.scala
Unconditionally fails this test with the given message and optional clues.
Unconditionally fails this test with the given message and optional clues.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
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.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
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.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
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.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
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.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
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.
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Attributes
- Inherited from:
- SuiteTransforms
- Source
- SuiteTransforms.scala
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Optionally augment a failure with additional information.
Optionally augment a failure with additional information.
Failures that are not FailExceptionLike subclasses will be wrapped, if needed.
Attributes
- Inherited from:
- TestTransforms
- Source
- TestTransforms.scala
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Attributes
- Inherited from:
- Suite
- Source
- Suite.scala
Attributes
- Inherited from:
- TestTransforms
- Source
- TestTransforms.scala
Fixtures that can be reused for individual test cases or entire suites.
Fixtures that can be reused for individual test cases or entire suites.
Attributes
- Inherited from:
- Suite
- Source
- Suite.scala
Attributes
- Inherited from:
- TestTransforms
- Source
- TestTransforms.scala
Attributes
- Inherited from:
- TestTransforms
- Source
- TestTransforms.scala
Attributes
- Inherited from:
- ValueTransforms
- Source
- ValueTransforms.scala
Attributes
- Inherited from:
- SuiteTransforms
- Source
- SuiteTransforms.scala
Attributes
- Inherited from:
- SuiteTransforms
- Source
- SuiteTransforms.scala
Attributes
- Inherited from:
- SuiteTransforms
- Source
- SuiteTransforms.scala
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Attributes
- Inherited from:
- SuiteTransforms
- Source
- SuiteTransforms.scala
Attributes
- Inherited from:
- SuiteTransforms
- Source
- SuiteTransforms.scala
Attributes
- Inherited from:
- TestTransforms
- Source
- TestTransforms.scala
Attributes
- Inherited from:
- TestTransforms
- Source
- TestTransforms.scala
The base class for all test suites
Attributes
- Inherited from:
- BaseFunSuite
- Source
- FunSuite.scala
Attributes
- Inherited from:
- ValueTransforms
- Source
- ValueTransforms.scala
Attributes
- Inherited from:
- ValueTransforms
- Source
- ValueTransforms.scala
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Attributes
- Inherited from:
- BaseFunSuite
- Source
- FunSuite.scala
Attributes
- Inherited from:
- BaseFunSuite
- Source
- FunSuite.scala
Inherited fields
Attributes
- Inherited from:
- Assertions
- Source
- Assertions.scala
Attributes
- Inherited from:
- BaseFunSuite
- Source
- FunSuite.scala
Implicits
Inherited implicits
Wraps non-implicit fields as implicit
Implicitly create a TestOptions given a test name.
Implicitly create a TestOptions given a test name. This allows writing test("name") { ... } even if test accepts a TestOptions
Attributes
- Inherited from:
- TestOptionsConversions
- Source
- TestOptions.scala