https://github.com/seralaci/integrationtesting
API and UI Integration Testing (.NET Playground)
https://github.com/seralaci/integrationtesting
aspnetcore csharp dotnet integration-testing testing
Last synced: 3 months ago
JSON representation
API and UI Integration Testing (.NET Playground)
- Host: GitHub
- URL: https://github.com/seralaci/integrationtesting
- Owner: seralaci
- Created: 2023-02-09T10:32:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-18T12:54:59.000Z (over 2 years ago)
- Last Synced: 2025-01-12T20:11:23.464Z (5 months ago)
- Topics: aspnetcore, csharp, dotnet, integration-testing, testing
- Language: C#
- Homepage:
- Size: 244 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API and UI Integration Testing (.NET)
## Create a self-signed certificate
`dotnet dev-certs https -ep cert.pfx -p Test1234!`## The 5 integration testing steps
1. Setup
2. Dependency Mocking (API)
3. Execution
4. Assertion
5. Cleanup## WebUI Integration Testing
If you are getting issues when you're running your tests with that docker-compose.integration.yml file, try changing the line:
- CustomersWebApp_GitHub__ApiBaseUrl=http://localhost:9850
To:
- CustomersWebApp_GitHub__ApiBaseUrl=http://host.docker.internal:9850