Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Visual Regression Tracker examples for .NET

The example uses [sdk-dotnet](https://github.com/Visual-Regression-Tracker/sdk-dotnet) 5.0.0 from NuGet (.NET 10) and opens https://the-internet.herokuapp.com headless:
Each folder is a separate project with its own `.csproj`, `vrt.json.example` and README, on [sdk-dotnet](https://github.com/Visual-Regression-Tracker/sdk-dotnet) 5.0.0 from NuGet and .NET 10. The examples open https://the-internet.herokuapp.com headless and track screenshots in a [Visual Regression Tracker](https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker) 6.0 server.

- [Playwright + NUnit + SDK](playwright)
| Example | Stack | Client |
| ------------------------ | -------------------------- | --------------------------------------------------------------------- |
| [playwright](playwright) | Playwright for .NET, NUnit | [sdk-dotnet](https://github.com/Visual-Regression-Tracker/sdk-dotnet) |

The examples connect with `vrt.json` or `VRT_*` environment variables, the way [sdk-dotnet reads its configuration](https://github.com/Visual-Regression-Tracker/sdk-dotnet#configure-connection). `vrt.json.example` holds the URL, API key and project of a fresh local install; copy it to `vrt.json` and change what differs.

CI runs every example against a VRT server started from [.github/vrt/docker-compose.yml](.github/vrt/docker-compose.yml).
Loading