Namespace org.wasmcloud.interface.testing

Services
Operations
Maps

OptMap(map)

A map of test options. Keys may be test case names, or other keys meaningful for the test. Values are utf8 strings containing serialized json, with contents specific to the test

key: String
value: String

PatternList(list)

list of regex patterns

member: String  

Start(operation)

Begin tests

input: TestOptions
output: TestResults

Testing(service)

Test api for testable actors and providers

Operations

Traits

org.wasmcloud.model#wasmbus [object]

TestOptions(structure)

Options passed to all test cases

options: OptMap additional test configuration, optional Keys may be test case names, or other keys meaningful for the test. Values are serialized json, with contents specific to the test
patterns: PatternList List of regex patterns for test names to run Default is ".*", to run all tests.

TestResult(structure)

name: String test case name
pass: Boolean true if the test case passed
snapData: Blob (optional) more detailed results, if available. data is snap-compressed json failed tests should have a firsts-level key called "error".

TestResults(list)

member: TestResult