-
Notifications
You must be signed in to change notification settings - Fork 3
[FEATURE] Add Integration Tests project with WireMock fixture #127
Copy link
Copy link
Open
Labels
.NETPull requests that update .net codePull requests that update .net codedependenciesPull requests that update a dependency filePull requests that update a dependency fileenhancementNew feature or requestNew feature or requestgitautoGitAuto label to trigger the app in a issue.GitAuto label to trigger the app in a issue.resiliencetestsTestsTests⚙️ CI/CDContinuous Integration/Continuous Deployment processesContinuous Integration/Continuous Deployment processes📝 documentationTasks related to writing or updating documentationTasks related to writing or updating documentation🚨 securitySecurity-related issues or improvementsSecurity-related issues or improvements
Description
Activity
Metadata
Metadata
Assignees
Labels
.NETPull requests that update .net codePull requests that update .net codedependenciesPull requests that update a dependency filePull requests that update a dependency fileenhancementNew feature or requestNew feature or requestgitautoGitAuto label to trigger the app in a issue.GitAuto label to trigger the app in a issue.resiliencetestsTestsTests⚙️ CI/CDContinuous Integration/Continuous Deployment processesContinuous Integration/Continuous Deployment processes📝 documentationTasks related to writing or updating documentationTasks related to writing or updating documentation🚨 securitySecurity-related issues or improvementsSecurity-related issues or improvements
Description
We need to add comprehensive integration tests for our C# integration library that interacts with an HTTP ERP (Sankhya) service. These tests should ensure that our integration library correctly handles various scenarios when communicating with the ERP service.
Problem Statement
Proposed Solution
Implementation Steps
Set Up Integration Tests:
Configure WireMock for Fake HTTP Requests:
Use Snapshooter for Response Comparison:
Generate Fake Data with Bogus:
Mock Dependencies with NSubstitute:
Run and Validate Tests:
Additional Notes