Skip to content

Update the nuget-release workflow & CommandAppResultAssertions fluent assertions

Choose a tag to compare

@DarthPedro DarthPedro released this 12 Sep 00:20
· 1 commit to main since this release

Added

  • Implemented Fluent test assertions over command app results in the Testing namespace. New public API includes CommandAppResultAssertionExtensions (Should, ShouldSucceed, ShouldFail, ShouldReturnExitCode), the chainable CommandAppResultAssertions type (with And* methods for exit code and output checks such as AndOutputContains, AndOutputDoesNotContain, AndOutputMatches, AndOutputIsEmpty, and AndOutputIsNotEmpty), and the framework-agnostic CommandAppAssertionException.
  • Updated StoreFront.Cli.Tests to use the new fluent assertions where feasible... to show how they can be used in a code base.

Changed

  • Updated package references to latest versions.
  • Updated nuget-release script to use Nuget Trusted Publishing.