Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/dogmatiq/aureus from 0.1.0 to 0.2.6 #328

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 25, 2024

Bumps github.com/dogmatiq/aureus from 0.1.0 to 0.2.6.

Release notes

Sourced from github.com/dogmatiq/aureus's releases.

Version 0.2.6

Added

  • Added a suggested go test command for re-running a failed test without blessing it. There is nothing specific to Aureus about this command, but it's useful considering the -run flag's pattern syntax can make it tricky to isolate a single test.

Changed

  • -aureus.bless now prevents the blessed test from being marked as a failure. This means you don't see the output of the test, so the go test command that is suggested when a test may be blessed now includes -v.
  • Suggested go test commands now include -count 1 to prevent the test cache from preventing a re-run of the test, even if the input or output files have changed.
  • A passing test now renders the golden file in dim yellow ("gold") color. Failed tests continue to use a colorized diff.
  • Changed how suggested commands are rendered to make them occupy less visual space.

Fixed

  • Fixed issue that could cause loss of trailing characters of fenced code blocks when blessing markdown tests.

Version 0.2.5

Fixed

  • Fixed order of parameters when suggesting go test commands to run.
  • Attempt to suggest a single package to run with -aureus.bless, instead of ./.... The latter works, but can produce error output messages if some packages don't use Aureus.
  • Fixed escaping of shell parameters.

Version 0.2.4

Added

  • Added the -aureus.bless test flag, which "blesses" the output of a failing test, accepting it as correct for future test runs. For file-based tests it replaces the entire output file with the failing output. For Markdown tests it replaces the code within the fenced code block.

Version 0.2.3

Fixed

  • Removed duplicate "unable to generate output" error text.

Version 0.2.2

Changed

  • Run() no longer separates the tests built from flat-files from those built from Markdown documents. This provides a less surprising test heirarchy when both types of tests are present in the same directory, and eliminates an empty test when only one type of test is present.
  • Tests built from Markdown documents that contain a single top-level heading at the top of the document are now named after that heading, rather than the filename.
  • Matrix tests with inputs and outputs from codeblocks under Markdown headings are now named after those headings, rather than the filename/line number.
  • Matrix tests that only have a single input or a single output no longer include the name of that single input/output, producing shorter test names.
  • Tests with inputs and outputs sourced from the same file now only include the filename in the test name once.

... (truncated)

Changelog

Sourced from github.com/dogmatiq/aureus's changelog.

[0.2.6] - 2024-11-25

Added

  • Added a suggested go test command for re-running a failed test without blessing it. There is nothing specific to Aureus about this command, but it's useful considering the -run flag's pattern syntax can make it tricky to isolate a single test.

Changed

  • -aureus.bless now prevents the blessed test from being marked as a failure. This means you don't see the output of the test, so the go test command that is suggested when a test may be blessed now includes -v.
  • Suggested go test commands now include -count 1 to prevent the test cache from preventing a re-run of the test, even if the input or output files have changed.
  • A passing test now renders the golden file in dim yellow ("gold") color. Failed tests continue to use a colorized diff.
  • Changed how suggested commands are rendered to make them occupy less visual space.

Fixed

  • Fixed issue that could cause loss of trailing characters of fenced code blocks when blessing markdown tests.

[0.2.5] - 2024-11-19

Fixed

  • Fixed order of parameters when suggesting go test commands to run.
  • Attempt to suggest a single package to run with -aureus.bless, instead of ./.... The latter works, but can produce error output messages if some packages don't use Aureus.
  • Fixed escaping of shell parameters.

[0.2.4] - 2024-11-18

Added

  • Added the -aureus.bless test flag, which "blesses" the output of a failing test, accepting it as correct for future test runs. For file-based tests it replaces the entire output file with the failing output. For Markdown tests it replaces the code within the fenced code block.

[0.2.3] - 2024-11-13

Fixed

... (truncated)

Commits
  • 2782f5c Bump version to v0.2.6.
  • f664f90 Fix issue with growing files during bless.
  • 3b80f31 Fix issues with test runner command.
  • 4ed7b77 Bump version to v0.2.5.
  • d207518 Bump version to v0.2.4.
  • 3ecc392 Use fancy log sesions.
  • 3c031a2 Implement "blessing" to automatically update expectations on disk.
  • 5464aae Bump version to v0.2.3.
  • d741a93 Remove duplicate error text.
  • b4f0d43 Merge pull request #26 from dogmatiq/dependabot/go_modules/golang.org/x/tools...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 25, 2024
Bumps [github.com/dogmatiq/aureus](https://github.com/dogmatiq/aureus) from 0.1.0 to 0.2.6.
- [Release notes](https://github.com/dogmatiq/aureus/releases)
- [Changelog](https://github.com/dogmatiq/aureus/blob/main/CHANGELOG.md)
- [Commits](dogmatiq/aureus@v0.1.0...v0.2.6)

---
updated-dependencies:
- dependency-name: github.com/dogmatiq/aureus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/dogmatiq/aureus-0.2.6 branch from 9d498bf to a1a392d Compare November 25, 2024 15:16
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 26, 2024

Superseded by #330.

@dependabot dependabot bot closed this Nov 26, 2024
auto-merge was automatically disabled November 26, 2024 15:39

Pull request was closed

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/dogmatiq/aureus-0.2.6 branch November 26, 2024 15:39
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 go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants