English

ViMoTest: A Tool to Specify ViewModel-Based GUI Test Scenarios using Projectional Editing

Software Engineering 2025-04-24 v1

Abstract

Automated GUI testing is crucial in ensuring that presentation logic behaves as expected. However, existing tools often apply end-to-end approaches and face challenges such as high specification efforts, maintenance difficulties, and flaky tests while coupling to GUI framework specifics. To address these challenges, we introduce the ViMoTest tool, which leverages Behavior-driven Development, the ViewModel architectural pattern, and projectional Domain-specific Languages (DSLs) to isolate and test presentation logic independently of GUI frameworks. We demonstrate the tool with a small JavaFX-based task manager example and generate executable code.

Keywords

Cite

@article{arxiv.2504.16753,
  title  = {ViMoTest: A Tool to Specify ViewModel-Based GUI Test Scenarios using Projectional Editing},
  author = {Mario Fuksa and Sandro Speth and Steffen Becker},
  journal= {arXiv preprint arXiv:2504.16753},
  year   = {2025}
}

Comments

5 pages

R2 v1 2026-06-28T23:08:37.494Z