Add integration and E2E testing #67
Labels
category:stability
Enhancing stability by updating underlying dependencies/code or adding testing mechanisms
chore
Maintenance or non-code work
Projects
Milestone
What package(s) should this feature be added to?
@microsoft/fast-tooling
@microsoft/fast-tooling-react
Summary
FAST Tooling Testing
General FAST tooling testing strategy
When it comes to testing strategy, the overall philosophy is that unit testing is the first and largest pillar. Since unit tests are the most performant tests, a high percentage of code coverage is expected to be reached for the FAST tooling repository testing in each package. For integration tests and E2E tests, these are more costly. They require a setup of an application to mock a single scenario as an integration test, or a full application to do an E2E test. These should not test edge cases, but should follow the "happy/critical path" that the user is expected to take.
Unit tests
What should be covered:
What technologies should be used:
Integration tests & E2E tests (smoke test)
Setup
The integration and E2E tests should use a single web-component-editor application which includes all available components and services and a list of user interaction workflows.
What should be covered:
What technologies should be used:
my-component.pw.spec.ts
Requirements
Tasks needed for completion
The text was updated successfully, but these errors were encountered: