Visitar URL original
refactor(test): share integration harness by kurtisc · Pull Request #1597 · nolabs-ai/nono · GitHub
Skip to content

refactor(test): share integration harness - #1597

Merged
SequeI merged 1 commit into
mainfrom
kurtisc/integration-refactor
Aug 12, 2026
Merged

SequeI merged 1 commit into
mainfrom
kurtisc/integration-refactor

Conversation

@kurtisc

@kurtisc kurtisc commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Linked Issue

Refs #1583

Summary

Lots of integration tests follow a pattern of launching nono and examining its outputs. This has been done with duplicated code (including my own).

This PR refactors the existing integration tests to use a unified harness.

#1596 is based on this PR/branch and adds a further integration test in the same pattern.

Test Plan

make ci

Checklist

  • An issue exists and is linked above
  • All commits are signed-off, using DCO
  • All new code follows the project's coding standards (CLAUDE.md) and is covered by tests
  • Public-facing changes are paired with documentation updates

@github-actions

github-actions Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

PR Review Summary

Size

Metric Value
Lines added +1168
Lines removed -1286
Total changed 2454
Classification Large (> 300 lines)

Affected crates

  • crates/nono-cli — CLI changes. Verify argument parsing, flag documentation, and UX behaviour across supported platforms.

Blast radius — Moderate

This PR touches: source code,documentation


Updated automatically on each push to this PR.

@kurtisc
kurtisc force-pushed the kurtisc/integration-refactor branch from e2407a5 to aabe667 Compare August 7, 2026 14:59
@kurtisc
kurtisc force-pushed the kurtisc/integration-refactor branch from aabe667 to 8771a4c Compare August 7, 2026 15:00
@kurtisc
kurtisc force-pushed the kurtisc/integration-refactor branch from 8771a4c to 109fe52 Compare August 7, 2026 15:01
@kurtisc
kurtisc force-pushed the kurtisc/integration-refactor branch from 109fe52 to d41990e Compare August 7, 2026 15:24
@kurtisc kurtisc changed the title refactor(test): share CLI integration harness refactor(test): share integration harness Aug 7, 2026
@kurtisc
kurtisc force-pushed the kurtisc/integration-refactor branch from d41990e to 5d4e4d4 Compare August 7, 2026 17:55
@kurtisc
kurtisc force-pushed the kurtisc/integration-refactor branch from 5d4e4d4 to 9625185 Compare August 7, 2026 18:53
@kurtisc
kurtisc force-pushed the kurtisc/integration-refactor branch from 9625185 to f3b5b3d Compare August 7, 2026 19:03
@kurtisc
kurtisc force-pushed the kurtisc/integration-refactor branch from f3b5b3d to ef0f619 Compare August 7, 2026 19:17
@kurtisc
kurtisc force-pushed the kurtisc/integration-refactor branch from ef0f619 to 1b86419 Compare August 10, 2026 11:41
@kurtisc
kurtisc marked this pull request as ready for review August 10, 2026 11:41

@nogent-nolabs-ai nogent-nolabs-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nogent code review

No blocking issues; 0 suggestions.

Automated code + security review. CI already covers clippy, rustfmt, tests, cargo-audit and commit-lint.

Comment thread crates/nono-test-support/src/cli.rs Resolved
Adds `nono-test-support` to allow `nono-cli` integration tests to launch
nono under an isolated HOME.

Refactors existing integration tests to use `nono-test-support`

Signed-off-by: Kurtis Charnock <kurtis@nolabs.ai>
@kurtisc
kurtisc force-pushed the kurtisc/integration-refactor branch from 1b86419 to 70fae41 Compare August 10, 2026 14:12

@SequeI SequeI left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, very good refactor of the tests!

@SequeI
SequeI merged commit 8d8c2c1 into main Aug 12, 2026
17 checks passed
@SequeI
SequeI deleted the kurtisc/integration-refactor branch August 31, 2026 09:40
levonk pushed a commit to levonk/nono that referenced this pull request Sep 4, 2026
Adds `nono-test-support` to allow `nono-cli` integration tests to launch
nono under an isolated HOME.

Refactors existing integration tests to use `nono-test-support`

Signed-off-by: Kurtis Charnock <kurtis@nolabs.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants