Skip to content

Add integration testing module #73

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

Closed
wants to merge 1 commit into from

Conversation

jongalloway
Copy link
Contributor

@jongalloway jongalloway commented Feb 26, 2025

Fixes #72

Add a module for integration testing using Aspire.Hosting.Testing with MSTest.

  • New Module: Add workshop/9-integration-testing.md to explain the difference between unit testing and integration testing, provide a test project for both API and web application, and introduce Playwright for end-to-end testing.
  • README Update: Update README.md to include the new "Integration Testing" module in the list of workshop modules.
  • Project References: Add references to the new test project in start-with-api/Api/Api.csproj, start-with-api/MyWeatherHub/MyWeatherHub.csproj, complete/Api/Api.csproj, and complete/MyWeatherHub/MyWeatherHub.csproj.
  • Integration Tests: Add complete/Api/Tests/IntegrationTests.cs and complete/MyWeatherHub/Tests/IntegrationTests.cs to create test classes for integration tests of the API and web application, respectively.

For more details, open the Copilot Workspace session.

Fixes #72

Add a module for integration testing using `Aspire.Hosting.Testing` with `MSTest`.

* **New Module**: Add `workshop/9-integration-testing.md` to explain the difference between unit testing and integration testing, provide a test project for both API and web application, and introduce Playwright for end-to-end testing.
* **README Update**: Update `README.md` to include the new "Integration Testing" module in the list of workshop modules.
* **Project References**: Add references to the new test project in `start-with-api/Api/Api.csproj`, `start-with-api/MyWeatherHub/MyWeatherHub.csproj`, `complete/Api/Api.csproj`, and `complete/MyWeatherHub/MyWeatherHub.csproj`.
* **Integration Tests**: Add `complete/Api/Tests/IntegrationTests.cs` and `complete/MyWeatherHub/Tests/IntegrationTests.cs` to create test classes for integration tests of the API and web application, respectively.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/dotnet-presentations/dotnet-aspire-workshop/issues/72?shareId=XXXX-XXXX-XXXX-XXXX).
@jongalloway
Copy link
Contributor Author

This is all wrong. Irredeemable. Unspeakably awful. Closing the pull request to start over from the issue.

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.

Integration Testing module
1 participant