eradiate.testing#
eradiate.testing.plugin#
Helper tools for plugin tests.
|
Sample a BSDF and get corresponding |
eradiate.testing.fixtures#
Eradiate-specific pytest fixtures, imported automatically upon starting a pytest
session (see conftest.py).
|
Compare a simulation result against a stored reference dataset. |
Implementation details
|
Implementation of the |
eradiate.testing.regression#
Statistical criteria used to compare a simulation result against a reference, and the charts that make a verdict readable.
This module is deliberately free of any I/O and of any dependency on Pytest:
reference data management (locating references, regenerating them, archiving
artefacts) is handled by the dataset_regression fixture, see
eradiate.testing.fixtures.
|
Common interface for tests based on the comparison of a result dataset against a reference dataset. |
Raised when a regression test does not pass, i.e. when the comparison against the reference fails. |
|
|
Verdict of a single |
|
Root-mean-square error test. |
|
Z-test with Šidák correction factor. |
|
Aggregate |
eradiate.testing.report#
Test report logging.
This module provides an abstraction layer that routes logging messages to reporting infrastructure if available, and falls back to standard logging otherwise.
The current reporting backend is Robot Framework. These components make it possible to change it in the future.
|
Render a figure in HTML format |
|
Send messages and HTML fragments to the active test report. |
eradiate.testing.test_cases#
|
Definition of a RAMI4ATM benchmarking case. |
RAMI4ATM benchmarking cases covered by the Eradiate regression test suite, indexed by case identifier. |
|
|
Create the |
|
Create an |
|
Assemble the bottom-of-atmosphere reflectance factors from the results of the experiments created by |
|
Identifier of the spectral response function used by a RAMI4ATM case. |
eradiate.testing.types#
|
Perform kernel dictionary checks on a scene element. |