Skip to content

Run the example in CI the way examples-js and examples-python do - #4

Merged
pashidlos merged 1 commit into
mainfrom
ci-like-python
Nov 2, 2026
Merged

pashidlos merged 1 commit into
mainfrom
ci-like-python

Conversation

@pashidlos

Copy link
Copy Markdown
Member

Aligns examples-dotnet with examples-js and examples-python, as the owner asked after #3.

  • CI has the same shape as examples-python: a matrix of examples, VRT_ENABLESOFTASSERT: "true" and one run against the 6.0.0-rc1 server from .github/vrt/docker-compose.yml.
  • Removes the two-run flow and .github/vrt/approve-latest-build.sh (first run fails, the baseline is approved through the API, second run passes).
  • The test no longer asserts on the status. It prints the status and the test run link, and with soft assert the SDK writes No baseline / Difference found to stderr.
  • dotnet test --output detailed makes that output visible, because Microsoft.Testing.Platform hides the output of passing tests.
  • vrt.json.example turns enableSoftAssert on, like the other examples. The README explains this and says how to make the test fail instead.

Checked locally against a fresh 6.0.0-rc1 stack. The run passes and prints New: <link> and No baseline: <link>.

🤖 Generated with Claude Code

One run with enableSoftAssert against the 6.0.0-rc1 server, without the
baseline approval step. The test prints the status and link instead of
asserting on it, and vrt.json.example turns soft assert on like the others.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pashidlos
pashidlos merged commit 4ca8279 into main Nov 2, 2026
1 check passed
@pashidlos
pashidlos deleted the ci-like-python branch November 2, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant