Expand description
Test utilities for the wgpu repository.
Re-exports
pub use self::image::ComparisonType;
Modules
- Image comparison utilities
- Infrastructure for the native,
cargo-nextest
based harness.
Macros
- Adds the necissary main function for our gpu test harness.
Structs
- Reason why a test matches a given failure case.
- Conditions under which a test should fail or be skipped.
- Reason why a test is expected to fail.
- Configuration for a GPU test.
- This information determines if a test should run.
- Parameters and resources hadned to the test function.
Enums
Functions
- Execute the given test configuration with the given adapter report.
- Run some code in an error scope and assert that validation fails.
- Run some code in an error scope and assert that validation succeeds or fails depending on the provided
should_fail
boolean. - Initialize a wgpu adapter, using the given adapter report to match the adapter.
- Initialize a wgpu device from a given adapter.
- Initialize a wgpu instance with the options from the environment.
- Run some code in an error scope and assert that validation succeeds.
Attribute Macros
- Creates a test that will run on all gpus on a given system.