Skip to content

Update nette/tester requirement from 2.6.2 to 2.7.0 - #192

Merged
github-actions[bot] merged 1 commit into
masterfrom
dependabot/composer/nette/tester-2.7.0
Nov 1, 2026
Merged

github-actions[bot] merged 1 commit into
masterfrom
dependabot/composer/nette/tester-2.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Updates the requirements on nette/tester to permit the latest version.

Release notes

Sourced from nette/tester's releases.

Released version 2.7.0

Tester 2.7 makes itself at home in CI: failures land right in the pull request diff, hanging tests no longer hang the pipeline, and slow tests have nowhere to hide.

✨ New Features

  • GitHub Actions annotations – the new -o github output marks failed tests directly in the PR diff view, and it switches on automatically when Tester runs on GitHub Actions, so there is nothing to configure
  • Test time limit – --timeout <seconds> sets a limit for every test, @timeout overrides it per file; a test that runs over is terminated and reported as a failure instead of blocking the whole run
  • --slowest – prints the 10 (or as many as you ask for) slowest tests after the run, so you know exactly where the time goes
  • #[DataProvider] and #[Throws] attributes – TestCase methods can now use PHP attributes instead of docblock annotations; the annotations keep working
  • HttpAssert::fetch() accepts a timeout (30 seconds by default), so an unresponsive server can't stall a test
  • JUnit reports now include test durations, for failed and skipped tests as well
  • Faster cold start – TestCase methods are discovered in parallel with other tests, and each test file's annotations are parsed only once

💥 Breaking Changes

  • PHP 8.1 is now the minimum required version
  • Environment::skip(), Environment::exit() and TestCase::skip() now return never; a subclass overriding them must change its return type too
  • The tester command exits with a non-zero code when it finds no tests, so a mistyped path no longer passes in CI
  • A TestCase data provider that returns no data sets is now an error, just like an empty file-level provider
  • Assertion type 'integer' in Assert::type() is deprecated, use 'int'

🐛 Bug Fixes

  • TAP and JUnit outputs no longer contain ANSI color sequences
  • Environment::lock() reports an error when the lock directory does not exist
Commits
  • 6632771 Released version 2.7.0
  • 6084bcf updated DOCS
  • 32218dd CliTester: exits with non-zero code when no tests are found
  • 93fddaa improved --cider mode (thx Claude)
  • 540f971 Environment: lock() validates that lock directory exists instead of silently ...
  • e935d03 added test time limit: --timeout option and @​timeout annotation; hanging test...
  • 643cf3e HttpAssert: added request timeout
  • 72126a8 GitHub Actions output (-o github) is enabled automatically when running on Gi...
  • ad6450e JUnitPrinter: reports test durations; failed and skipped tests now carry dura...
  • 1c7626f ConsolePrinter: added --slowest option printing the slowest tests after the run
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Nov 1, 2026
@coveralls

coveralls commented Nov 1, 2026 •

Copy link
Copy Markdown

Coverage Status

Coverage is 95.0% — dependabot/composer/nette/tester-2.7.0 into master. No base build found for master.

Updates the requirements on [nette/tester](https://github.com/nette/tester) to permit the latest version.
- [Release notes](https://github.com/nette/tester/releases)
- [Commits](nette/tester@v2.6.2...v2.7.0)

---
updated-dependencies:
- dependency-name: nette/tester
  dependency-version: 2.7.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/composer/nette/tester-2.7.0 branch from f650dae to 6ddba15 Compare November 1, 2026 13:26
@github-actions
github-actions Bot merged commit 370d9cb into master Nov 1, 2026
42 checks passed
@dependabot
dependabot Bot deleted the dependabot/composer/nette/tester-2.7.0 branch November 1, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant