Back to deliverables

D3 / Test Plan

Test Plan

Status: Executable team plan, updated October 26, 2026. Client CAD versions, permitted production samples, and acceptance dates still require confirmation.

Purpose and quality risks

This plan gives Team E, the client, and another engineer enough information to repeat the tests. The highest risks are incorrect physical scale, open or duplicate cut paths, loss of holes, excessive segments, unsupported CAD entities, color-region errors, and output that opens successfully but is unsuitable for fabrication.

Part 1: testing with full time and access

Part 2: committed semester testing

Team E will maintain automated tests for deterministic logic and will record manual evidence for the browser workflow and downstream CAD checks. Claims in the final report will distinguish tests that passed from tests that remain blocked.

LevelOwner and environmentEvidence
UnitDevelopers; pytest on Python 3.11-3.13Decoder, options, scale, closure, SVG, DXF, units, circles, errors, and preview tests
IntegrationDevelopers; repository samples on Windows, Linux, macOSRaster-to-SVG-to-DXF runs, entity audit, fixture outputs, CI logs
System/UITeam E; Windows 11 with Chrome and EdgeInstallation checklist, upload/export scripts, screenshots, downloaded files
AcceptanceAdcut representative with Team EApproved samples, AutoCAD/IGEMS import record, scale/layer review, client decision

Environments

Automated regression cases

IDInput/actionExpected result
UT-01Decode JPEG, PNG, WEBP, first GIF frame, and first PDF pageNormalized RGBA image with correct dimensions
UT-02Unreadable or mismatched inputClear VectorizationError; no export produced
UT-03Positive width in inches and millimetersProportional dimensions and explicit DXF units
UT-04Adjacent regions, holes, and curves samplesClosed parsed paths; known limitations documented
UT-05SVG exportPhysical width/height, color fills, and closed path commands
UT-06DXF R2000 exportValid audit, named region layers, finite geometry, SPLINE/POLYLINE entities
UT-07Request R12 with native splinesExport rejected with an R2000 requirement
UT-08SVG preview data URIGenerated VTracer SVG round-trips without raster decoding

Manual system and data tests

IDProcedureOracle
SYS-01Fresh clone; run uv sync --locked --dev and launch StreamlitNo undeclared setup step; application opens locally
SYS-02Upload each repository sample and vary color count and simplificationPreview and metrics update; downloads remain available
SYS-03Download SVG and DXF at 10 in and 254 mmEquivalent physical size; expected layers and closed paths
SYS-04Use a low-resolution, gradient, photo, many-color, and corrupt inputUseful warning or rejection; no silent claim of fabrication readiness
CAD-01Import approved outputs into confirmed AutoCAD and IGEMS versionsCorrect scale, layers, closure, holes, curves, and visible geometry
CUT-01Complete client-approved supervised cutAdcut records acceptable or rejected result and reasons

Schedule

Entry, exit, and reporting

A test starts only with versioned code, identified input, recorded settings, and an expected result. A feature exits testing when required automated checks pass, manual evidence is stored, and no unresolved high-severity defect contradicts D1. Failures become GitHub issues with reproduction steps. Client-dependent tests remain “blocked,” never “passed,” until evidence exists.