You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2023. It is now read-only.
Let me start from the other end, what do we want from our testing strategy? The answer for me is iterate with confidence, everything else is a byproduct.
The situations in which I feel under confident touching code right now are:
I don't know if this design change is intentional.
I don't know what else will change/break (components composed of this component and the places it is used in the application)
Adding props of a component might break another component
Changing logic in complex components should not break another component
Changing/improving prop type definitions might break cause validation errors elsewhere (in other components or the application using them)
Approach:
Visual testing
1.1 Visual changes in components should be called out and approved
1.2 Resulting changes in sample PoC should be called out and approved
API testing
2.1 All combinations of props need to be laid out for error catching.
Groundwork needed:
We need a space where components with their variations are laid out (automated hopefully), this will be the space for catching + approving visual changes. Real snapshot testing?
We need more sample applications built with cosmos to catch issues in usage, this will help us experiment with our components before it reaches the product teams.
The text was updated successfully, but these errors were encountered:
Putting this here, so that we don't forget 😅Let me start from the other end, what do we want from our testing strategy? The answer for me is
iterate with confidence
, everything else is a byproduct.The situations in which I feel under confident touching code right now are:
Approach:
Visual testing
1.1 Visual changes in components should be called out and approved
1.2 Resulting changes in sample PoC should be called out and approved
API testing
2.1 All combinations of props need to be laid out for error catching.
Groundwork needed:
We need a space where components with their variations are laid out (automated hopefully), this will be the space for catching + approving visual changes. Real snapshot testing?
We need more sample applications built with cosmos to catch issues in usage, this will help us experiment with our components before it reaches the product teams.
The text was updated successfully, but these errors were encountered: