Design System GuideDS Guide
Docs
Docs20. Documentation
22. Testing Strategy22.1 Static analysis22.2 Unit and component tests22.3 Accessibility tests22.4 Visual regression22.5 Contract testing
23. Versioning and Releases
22. Testing Strategy

22.2 Unit and component tests

Testing Strategy · Section 22.2

Test behavior, not implementation details.

Example:

Button:
- calls onClick
- disabled button cannot trigger
- loading state exposed correctly
- keyboard activation works

22.1 Static analysis

Testing Strategy · Section 22.1

22.3 Accessibility tests

Testing Strategy · Section 22.3