Folio specific concerns about creating UI unit tests
Existing Nightmare tests are mostly integration tests. There are nightmare tests that used for isolated modules but they still require an environment to be deployed. While everyone agrees that
Primary concern for creating unit tests for isolated UI modules is the overhead of creating and maintaining "test doubles". Therefore integration of the mock server with Pact server should be addressed rather sooner.
Team agreed that test code coverage should be generated during isolated UI component CI build job. Based on the
Team agreed that the passing criteria for executing tests should be the sequence of 3 steps:
clone a repo
yarn install
yarn test
Time to setup a test environment should be minimal.
Test suite for each UI module should run fast (no more than ?? sec or min)