Files
vectorcraft/crates/svg/tests/it/main.rs
T
aiongg 8cc69ed45c CI: one test binary per crate, nextest, line tables only (#3855)
* CI: line tables only for workspace crates, no debug info for dependencies

* CI: one integration-test binary per crate

Each crate's tests/*.rs files become modules of tests/it/main.rs. Files that change
process-wide state (Color Settings, the font database, installed plug-ins, the working
directory), the fuzz sweeps and the test targets the Affinity corpus workflow names stay
their own binaries.

* Docs: name the integration tests' new paths

* CI: xtask test with nextest and doctests, one wasm check, clippy --keep-going

cargo xtask ci runs the tests with cargo nextest (cargo test when it is not installed),
builds them with --lib --bins --tests, runs the doctests as their own step, and checks
the wasm crates in one cargo check --keep-going call.
2026-10-23 21:36:10 -04:00

36 lines
813 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//! Integration tests: one test binary for the crate, one module per area.
// Unwrapping and panicking on failure is fine here, unlike in shipped code (AGENTS.md › Robustness).
#![allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)]
mod blend_export;
mod colour_glyphs;
mod container_export;
mod css_rules;
mod dash_align;
mod data_attributes;
mod effects_export;
mod encoding_profile_fonts;
mod focal;
mod font_weights;
mod foreign_attributes;
mod gradients;
mod ids;
mod import_details;
mod import_live;
mod import_text;
mod import_units;
mod interactivity;
mod mask_options;
mod non_scaling_stroke;
mod options;
mod prop_svg;
mod raster_paints;
mod roundtrip;
mod stroke_export;
mod svg_glyphs;
mod symbols_layers;
mod text_layout;
mod text_paint_order;
mod text_stroke;
mod title_control_chars;