danpurdy

#testing

3 posts · all writing →

Firebase Cloud Firestore security rules - Part two - unit testing

#firebase #security #testing

A look at how to write unit tests for Firebase Cloud Firestore security rules to help ensure your data is secure.

Using generator functions to handle mock responses

#javascript #testing

A simple use case for javascript generator functions to handle repeatable and reliable mock endpoint responses in end-to-end or unit tests

Logging and mocking HTTP requests with TestCafe

#testing #javascript

A look into how to intercept, log and mock http requests within your end to end tests using TestCafe.