summaryrefslogtreecommitdiff
path: root/Verified fake.md
blob: 669b104949163f114ede5282f1d07d7191c42cdf (plain)
1
2
3
4
5
6
7
8
---
tags:
  - dev
  - testing
---
A verified fake refers to using a fake object in most places to test with it but also have some tests that we define twice, once using the real object and once using the fake. These tests using the real object could actually call out to api's and such, which we want to do sparingly. Therefore these tests only run in certain scenario's, e.g once per night or only if we changed code related to it.

That way we verify whether our fake object actually represents the real one correctly.