Documentation ¶
Overview ¶
Package modules contains all the cbtest core modules.
Most core modules expose functions that will either fail a test or return an error:
module.DoSomething(t, ...) // will panic on failure ... module.DoSomethingE(t, ...) // will return error on failure.
Directories ¶
Path | Synopsis |
---|---|
Package auth contains functions for registering and logging in as developers, users, devices, etc.
|
Package auth contains functions for registering and logging in as developers, users, devices, etc. |
Package collection contains functions and assertions for interacting with collections.
|
Package collection contains functions and assertions for interacting with collections. |
Package lookup provides functions for (unsafely) looking up values in dynamic maps, structures, etc.
|
Package lookup provides functions for (unsafely) looking up values in dynamic maps, structures, etc. |
Package mqtt contains functions and assertions for interacting with mqtt related interactions (initializing, publishing, etc).
|
Package mqtt contains functions and assertions for interacting with mqtt related interactions (initializing, publishing, etc). |
Package service contains functions and assertions for interacting with services.
|
Package service contains functions and assertions for interacting with services. |
Package should contains miscellaneous assertions and matchers for making the tests more expresive.
|
Package should contains miscellaneous assertions and matchers for making the tests more expresive. |
format
Package format includes useful functions for creating error messages.
|
Package format includes useful functions for creating error messages. |
to
Package to exposes all the core matchers that can be used with the should.Expect[E] functions.
|
Package to exposes all the core matchers that can be used with the should.Expect[E] functions. |
Package system contains functions using, importing, saving, and destroying systems.
|
Package system contains functions using, importing, saving, and destroying systems. |
Click to show internal directories.
Click to hide internal directories.