Samples
Every sample is a real project in the repository, built on the same packages you install. Copy the one closest to your app.
| Sample | Platform | Needs a model | What it shows |
|---|---|---|---|
| Dariten | Web | One of two tests | The smallest test: a locator test and an agent test against a live public app, for NUnit and xUnit v3. |
| TodoMVC | Web | Yes | Playwright’s TodoMVC suite rewritten as agent steps, with a side-by-side comparison. |
| Mobile app | iOS, Android, .NET MAUI | Some tests | A MAUI app, tests on a simulator or emulator, hosted devices, and DevFlow. |
| WinApp benchmark | Windows | Some tests | A WinUI 3 app of hard scenarios, and the suites that drive it. |
DaritenThe smallest web test, for NUnit and xUnit v3.
TodoMVCAgent steps beside the Playwright TodoMVC suite.
Mobile appA MAUI app on a simulator, hosted device, or DevFlow.
WinApp benchmarkA WinUI 3 app of hard scenarios and its tests.
Run a sample
Section titled “Run a sample”From a clone of the repository:
git clone https://github.com/hardkoded/e2e-dotnetcd e2e-dotnetdotnet tool install --global E2E.Clie2e login github-copilot # only for the tests that call a modeldotnet test --project samples/E2E.SampleTests that call a model are in the RealModel category. Skip them with --filter "TestCategory!=RealModel". The first run of an agent step asks the model. A passing run records the step in .e2e/cache, and the next run replays it with no model call.