Files
vectorcraft/crates/engine/tests/it/main.rs
T
dotCooCoo 81cc0fc797 Tests: nine engine integration test files join the tests/it binary
blend_render_consistency, direct_handle_mirror, ellipse_drag_anchors,
eraser_open_fill, group3_reference, path_fill_hits, pen_space_handle,
preflight and scissors_snap were each a test binary of their own. They
now are modules of crates/engine/tests/it, with their tests unchanged,
so the engine's tests link nine fewer binaries.

The files that stay separate change process-wide state (installed
plug-ins, Safe Mode, the font database, color settings, the working
directory), are run by name from CI or xtask (the Affinity corpus
tests, script_corpus, import_fuzz), or compile for about a minute on
their own (command_sweep), which would make every edit to tests/it
rebuild it.

Docs that named the old paths name the new ones, and the preflight
command in docs/production-preflight.md runs `--test it preflight::`.
2026-11-30 06:19:13 -08:00

51 lines
1.3 KiB
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)]
#[path = "../support/affinity_docs.rs"]
mod affinity_docs;
#[path = "../../../affinity/tests/support/text_fixture.rs"]
mod text_fixture;
mod affinity_features;
mod affinity_local;
mod align_automatic_reference;
mod artboard_click;
mod beyond_canvas;
mod blend_render_consistency;
mod clear_commands;
mod compound_attributes;
mod copy_direct_selection;
mod delete_path_pieces;
mod dimensions;
mod direct_handle_mirror;
mod ellipse_drag_anchors;
mod eraser_open_fill;
mod eyedropper_sources;
mod find_replace_paras;
mod group3_reference;
mod inline_text;
mod js_lexer_vs_scriptcheck;
mod known_bugs;
mod lossy_overwrite;
mod model_based;
mod param_keys;
mod paste_many;
mod pasted_clipping_path;
mod path_fill_hits;
mod pen_click_after_smooth;
mod pen_endpoint_picking;
mod pen_rubber_band;
mod pen_space_handle;
mod preflight;
mod ruler_guide_nodes;
mod ruler_guide_perf;
mod ruler_origin;
mod scissors_snap;
mod script_host_vs_scriptcheck;
mod selection_commands;
mod several_handles;
mod stroke_visibility;
mod text_stroke_scale;
mod three_d_light_color;