Skip to main content

4 docs tagged with "Testing"

View All Tags

Configurable applications

Designing applications to be flexible and configurable makes them more tolerable to changing requirements. The ability to change code frequently and quickly is one of the most important KPIs of any development team. This is generally made possible by a design that facilitates small pull requests, that modify a minimal amount of code across a minimal number of files.

mockGraphs

mockGraphs is a function that is used in tests to replace the implementation of graphs with a mock implementation.

Mocking dependencies in unit tests

Tests are an integral part of any software project. They let you verify that your code works as expected and that it doesn't break when you make changes. We want our tests to be as clear as possible so that developers don't have to waste time figuring out what the test is doing our how to fix it when it fails.

mockModel

mockModel is a utility function that allows you to easily mock models.