A complete first run without a server, SFTP account, or custom rules file

Automated Interface Testing Locally: Desktop GUI, CSV Rules, and Reproducible Reports

A useful example should not need a long setup before it can prove that a tool works. After the CLI and adapter slices in ZEUS Interface Quality, the next step is deliberately local: a desktop GUI opens with a bicycle-rental sample from our test lab and its matching validation profile already selected.

Iteration 7 makes the entire path visible: choose data, apply rules, read the LEDs and findings, inspect one specific problem, and save the result as JSON or text. The workflow stays deliberately local and easy to follow: there is no public endpoint and no SFTP test server in this example.

One important distinction: this is not a second validation engine. The GUI and CLI use the same validators, profiles, and result objects. The new surface simply makes the existing core approachable enough for a reader to complete a successful run within minutes.

The Project Page for automated interface quality tracks the broader development. Earlier articles cover JSON Schema, CSV and legacy files, HTTP contracts, and the combined Iteration 5 + 6 SFTP delivery milestone. This article shows the first complete local GUI run.

German edition: Deutsche Version dieses Artikels lesen.

AI-generated illustration: a local desktop GUI shows CSV validation, LED status, and an exportable report at a central validation station
AI-generated illustration for tiny-tool.de: a local desktop GUI connects the data file, validation profile, visible status, and reproducible report at one central validation station.

The first successful run

After cloning the repository, a Java 21 build is enough to get started. The application then opens with a valid local CSV and its matching profile. That makes the green path reproducible without asking readers to invent a data model first.

  1. Build the repository and create the executable JAR.
  2. Start the GUI and keep the preselected bicycle-rental CSV.
  3. Click Validate now or press Ctrl+Enter.
  4. Read the green status, empty findings list, and elapsed time.
  5. Save the report as JSON or text in the local reports/ directory.
PowerShell · build and start the GUI
.\mvnw.cmd -B package
java -jar .\target\zeus-interface-quality-0.1.0-SNAPSHOT.jar gui

The Windows launcher start-gui.cmd can perform the startup as well. It builds a missing JAR with tests skipped for the first launch, but it does not replace a full tested package build. For a result that can be documented, run package first.

What the GUI actually validates

The desktop surface is not a second validator. It handles local selection and presentation while the existing validation core remains responsible for the rules. The boundaries are explicit:

Responsibilities of the local desktop GUI
Element What becomes visible What remains unchanged
Data file Local CSV, JSON, or fixed-width file and file existence The input is never modified
Validation profile CSV profile, JSON Schema, or local validation profile Rules are validated before the run
LED and status Idle, running, valid, invalid, or error Color is always accompanied by text
Findings table Message, data path, profile path, and rule Automation uses status and paths, not localized wording
Report JSON or text saved as a local file Input and profile files are protected from replacement

The small LEDs beside the input and profile mean only “file exists” or “file is missing.” The validation run decides whether the content is valid. Keeping those signals separate prevents a green file-existence indicator from being mistaken for a successful data check.

One profile for GUI and CLI

The bundled profile describes the sample CSV from our test lab: semicolon delimiter, decimal comma, seven columns, date and numeric types, allowed bike types, email validation, and a unique rentalId. The same JSON remains portable and can be used in the CLI or a pipeline after the GUI run.

fictional-bicycle-rentals.csv-profile.json · core rules
{
  "format": "csv",
  "version": 1,
  "delimiter": ";",
  "decimalSeparator": ",",
  "uniqueBy": ["rentalId"],
  "columns": [
    {"name": "rentalId", "type": "string", "required": true, "pattern": "^BIKE-[0-9]{3}$"},
    {"name": "startDate", "type": "date", "required": true},
    {"name": "durationMinutes", "type": "integer", "required": true, "minimum": 1, "maximum": 1440},
    {"name": "contactEmail", "type": "email", "required": true}
  ]
}

This excerpt shows the contract’s key guardrails; the complete repository profile also contains station, distance, and bike-type rules. The GUI reads the profile without changing it during a normal validation. That makes the second path explicit: the same contract can be run later through the CLI or CI.

Findings instead of a single traffic light

A useful example should not stop at a green checkmark. The second checked-in CSV is deliberately invalid but still uses exactly the same profile. The run ends with INVALID and exit code 1; the GUI shows five concrete findings:

  • durationMinutes is below the minimum;
  • one date is invalid;
  • one rentalId is duplicated;
  • scooter is not an allowed bike type;
  • the contact address is not a valid email address.

Selecting a finding opens its detail view. Alongside the full message, it shows the data path, profile path, and keyword. That is the difference between “red” and a result a person can actually act on.

Making rules editable and visible

Configure CSV rules opens the visual profile editor. It supports encoding, delimiter and decimal separator, BOF/EOF markers, record-count bounds, and a composite uniqueness key. Per column, users can edit the name, enabled/required state, type, string lengths, numeric bounds, and regex.

The bundled example profile is not overwritten. Saving creates a separate JSON profile, by default under data/. That keeps the learning path reproducible while turning a rule change into an explicit artifact that can be reused unchanged by the GUI and CLI.

Saving reproducible reports

After validation, the result can be saved as UTF-8 JSON or text. The GUI protects the selected input and profile and asks before replacing another existing report. An old report is not proof of the current run, so automation should continue to rely on the process exit code.

PowerShell · the same valid path through the CLI
java '-Djava.awt.headless=true' -jar .\target\zeus-interface-quality-0.1.0-SNAPSHOT.jar validate --profile .\docs\examples\fictional-bicycle-rentals.csv-profile.json --input .\docs\examples\fictional-bicycle-rentals.csv --local-only --report json

The valid example returns VALID and exit code 0. The invalid file returns INVALID and exit code 1. Profile, file, and operational failures remain separate and return exit code 2. GUI and CLI therefore share more than a visual style: they share the result semantics that automation depends on.

The local proof

This iteration is covered by tests and a real package. The Java 21 clean build compiles the desktop GUI, runs local adapter tests, GUI smoke tests, HTTP loopback tests, and the embedded SFTP integration test, then creates the executable JAR.

PowerShell · complete proof
.\mvnw.cmd -B clean package

🟢 Green means reproducible

The current clean build finishes with 138 tests, 0 failures, 0 errors, and 2 expected skips. The skips remain the existing Windows symlink cases when local permissions are unavailable. The GUI stays local by design; it does not contact HTTP or SFTP endpoints.

Deliberate boundaries

  • The GUI validates local files; it is not an HTTP or SFTP console.
  • The bicycle-rental example comes from our test lab.
  • Finding messages may remain German even when the interface is English.
  • The visual editor targets CSV profiles; JSON Schema and fixed-width profiles remain available as local JSON files.
  • Automation should use status, paths, and rule keywords rather than localized message text.

Conclusion: a good first run is a quality feature

The GUI does not replace the CLI or the adapters. It makes the existing core tangible: one file, one profile, one visible validation run, and one report that can be saved and evaluated again.

The next step is now clear: readers can start with a valid example, deliberately create an invalid run, and then reuse the same rules in an automated pipeline. That is how a technical implementation becomes a dependable working pattern.

The Project Page tracks the overall development; the combined Iteration 5 + 6 SFTP milestone remains the technical predecessor to this local interface.

Code and sources

Technical and editorial status: October 20, 2026. This article describes the Iteration 7 state synchronized on main.

Transparency Notice


Transparency Notice:
Content published on tiny-tool.de is carefully researched, editorially reviewed, and updated regularly. Sources and quotations are provided in a transparent and traceable manner wherever possible. However, we do not guarantee the accuracy, completeness, or timeliness of the information provided. Errors cannot be ruled out.

Editorial Responsibility and Use of AI: Digital tools – including AI-based assistance systems – may be used to support research, structuring, language refinement, translation, code analysis, or visual production. Published content is editorially reviewed, revised, and approved by Guido Zeuner. Content selection, contextualisation, and publication remain under human responsibility. AI-generated output is not treated as an independent source. AI systems are not responsible authors or editors. More information about our use of AI in texts, images, videos, and digital personas is available on our AI Transparency page, which is currently available in German.

Audience Measurement (VG WORT / METIS): VG WORT tracking markers may be used to measure the reach of individual texts. As part of the METIS audience measurement process, a client ID may be generated and a so-called “METIS Session Cookie” may be set. The measurement is used to determine statistical access figures and as a basis for possible VG WORT remuneration. According to VG WORT, no personal usage profiles are created, and the measurement is not used for advertising or marketing tracking. More information is available in our Privacy Notice, which is currently available in German.

Please note: The content provided on this website is for general informational purposes only and does not constitute professional advice, including legal, tax, medical, technical, financial, or other specialist advice. Use of the content is at your own responsibility.

Advertising and Affiliate Links: Some posts may contain promotional references or affiliate links. These are identified accordingly. Clicking such links does not result in any additional cost to you; we may receive a small commission.

Trademark Notice: All brand names, logos, and product names are the property of their respective rights holders and are used solely for identification and descriptive purposes. No affiliation with the companies mentioned is implied unless explicitly stated.

External Links: This website contains links to external third-party websites. Although links are reviewed carefully, we assume no responsibility for the content of external websites. If we become aware of unlawful content, the respective links will be reviewed and removed where appropriate.