Skip to content

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

Merged
xificurk merged 1 commit into
masterfrom
dependabot/composer/nette/tester-2.7.0
Nov 7, 2026
Merged

xificurk 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 will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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 added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Nov 1, 2026
@xificurk
xificurk merged commit 595c6d0 into master Nov 7, 2026
43 of 44 checks passed
@xificurk
xificurk deleted the dependabot/composer/nette/tester-2.7.0 branch November 7, 2026 18:56
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