• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TTRPG-Dev / ex_ttrpg_dev / 45fc1006441f47a8f0d3536ac7721941eec490d5-PR-110
87%
main: 87%

Build:
Build:
LAST BUILD BRANCH: qmalcolm--feat-harden-config-error-messages
DEFAULT BRANCH: main
Ran 30 Mar 2026 03:40AM UTC
Jobs 1
Files 19
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Mar 2026 03:20AM UTC coverage: 88.052% (+0.2%) from 87.889%
45fc1006441f47a8f0d3536ac7721941eec490d5-PR-110

Pull #110

github

QMalcolm
test(cli): add rexpect PTY integration test harness

Adds an end-to-end workflow test suite that drives the ttrpg-dev binary
via a PTY (rexpect 0.7), verifying command dispatch and the build wizard
through the real Elixir engine subprocess.

Four tests cover the gen → save → list flow, the show-detail inspector,
the show-invalid-index error path, and the unknown-command error handler.

The TTRPG_NO_REEDLINE env var makes the REPL fall back to a plain stdin
loop, bypassing reedline's cursor-position query that fails in PTY test
environments where the master side doesn't emulate a full terminal.

A static ENGINE_LOCK mutex serialises engine spawning so the tests run
correctly under the default parallel harness — multiple concurrent
`mix run --no-compile` processes corrupt each other's BEAM state.
Pull Request #110: test(cli): PTY integration test harness

1076 of 1222 relevant lines covered (88.05%)

11036.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45fc1006441f47a8f0d3536ac7721941eec490d5-PR-110.1 30 Mar 2026 03:40AM UTC 19
88.05
GitHub Action Run
Source Files on build 45fc1006441f47a8f0d3536ac7721941eec490d5-PR-110
  • Tree
  • List 19
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #110
  • PR Base - main (#467EA071...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc