Shubham JainforKeploy Tech Blogkeploy-blog.hashnode.dev·Jun 15, 2023Go Mocks and Stubs Made EasyTesting network stuff like APIs and database calls can be a real pain: I find myself burning way too much time just making mock data, instead of actually doing the tests or assertions. When you make fake mocks, you might end up using wrong guesses ...Discuss·81 likes·591 readsTDD (Test-driven development)
Hyunwoo Choihyunwoochoi.hashnode.dev·Aug 12, 2022Another mock example using StubWithCallbackAuto-generated mock files in Ceedling provide Ignore and Expect functions as well as the StubWithCallback function. Here is an example of StubWithCallback use case: external EEPROM can be accessed via specific SPI commands such as read byte and write...Discuss·1 like·200 readsTDD - Embedded System using CC
Uche Ozoemenaincodethismeans.hashnode.dev·Jun 19, 2022[Learned This Week]: Taming Dependencies in Integration TestsIntegration Tests and Stubs Integration tests are used to test interrelated parts of an app. Some typical candidates for integration tests are code that interacts with a database and code that relies upon different standalone modules within a codebas...Discuss·167 readsJavaScript