Files
OrcaSlicer/tests
Mitchell Malpartida f11840579d Preserve a saved Moonraker printer's model when another preset is selected (#17969)
When a saved Moonraker printer connected, the agent used the model of the selected printer preset. Selecting saved printer A while printer B's preset was selected gave A the model of B, filament sync saved that model to A's entry, and a later sync with A's own preset warned about a model mismatch.

The agent now uses the saved entry's model when the entry belongs to the same agent, matched to a vendor model by model id or name. Connections with no saved entry still use the selected preset. The new init_device_model() has AppConfig and PresetBundle parameters, so the regression test runs without a GUI app.
2026-12-02 08:16:36 -06:00
..
2025-12-08 22:42:11 +08:00

OrcaSlicer tests

Building, running and writing tests is documented on the wiki, under How to Test.

Two files here rather than there, because coding agents only read what is in the repository:

  • AGENTS.md is the same guidance in short form, and is what an agent working under tests/ picks up.
  • CATCH2.md is the Catch2 reference, including the mistakes that break a test at runtime.