Skip to content

test: improve deterministic unit test coverage - #4189

Merged
Re-bin merged 1 commit into
mainfrom
tests/improve-test-cases
Jun 4, 2026
Merged

Re-bin merged 1 commit into
mainfrom
tests/improve-test-cases

Conversation

@chengyongru

Copy link
Copy Markdown
Collaborator

Summary

  • replace timing-based waits in unit tests with deterministic clocks, events, and task draining
  • strengthen weak/no-op assertions across command, agent, channel, pairing, and tool tests
  • remove duplicated test coverage and clean lint issues in the touched test files

Verification

  • uv sync --all-extras
  • uv run ruff check nanobot --select F
  • uv run pytest tests/ (3909 passed, 23 skipped)

Notes

  • Test-only changes; no production code changes.

@Re-bin
Re-bin merged commit 24e56fc into main Jun 4, 2026
4 checks passed
@chengyongru
chengyongru deleted the tests/improve-test-cases branch June 5, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants