Adding Tests or Test Data
- 05 Dec 2022
-
DarkLight
-
PDF
Adding Tests or Test Data
- Updated on 05 Dec 2022
-
DarkLight
-
PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Do not modify anything above the marker or it will be lost when migrating the adapter.
- You can modify existing method tests by:
- Adding additional asserts.
- Adding data to send on the requests.
- You can also add new tests.
- You can test additional errors using test double.
- You can use additional mock data to test errors as well.
- If you add calls to the adapter manually, you should add tests to the Unit and Integration test files so that those methods can be tested properly.
Was this article helpful?