sunnyp410
❔ Testing API's in .NET
So I would start off with the basics by looking at the unit testing strategies that your new job desires. Meaning do they do TDD when writing unit tests? What unit test naming strategies they use?
Once you got that info I would start doing some TDD on your feature work or pair with someone to get an idea.
Then I would move onto Integration testing which test a certain component or example calling another API or databases etc. Should be simple and straight forward to write. Again pair programming is key :).
Finally Service Tests (E2E) which should check all of your code within an environment. This can be done using WAF or postman api scripts
Acceptance Tests - This is just a bonus I would not recommend this as your E2E test should cover this. In a nutshell its BDD.
Performance Test is a bonus this can be run within a seperate pipeline which can be within another container. Have a look into these two :-
* https://k6.io/
* https://nbomber.com/docs/overview/
6 replies