ui-testing-best-practices
as-a
ui-testing-best-practices | as-a | |
---|---|---|
4 | 1 | |
1,646 | 62 | |
- | - | |
6.1 | 5.4 | |
3 months ago | 4 months ago | |
JavaScript | ||
Creative Commons Attribution Share Alike 4.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ui-testing-best-practices
-
Effective Test Strategies for Testing Front-end Applications using LaunchDarkly Feature Flags and Cypress. Part2: testing
Here is the combinatorial approach to reduce the exhaustive test suite. Paste combinatorial test (CT) model into the web app CTWedge:
-
API testing event driven systems
This is an anti-pattern in testing. We should Await, not Sleep, but this is not possible with the majority of the API testing tools.
-
(mostly incomplete) List of Test Methodologies
Combinatorial testing
-
Opinions on cross-browser testing in modern web dev
Combinatorial Testing can be applied to CI, considering browsers, deployments and a subsets of tests. Check out this slide deck (scroll down with down arrow), it showcases how we applied theoretical math to reduce 72 CI test config combinations to 5.
as-a
-
Effective Test Strategies for Testing Front-end Applications using LaunchDarkly Feature Flags and Cypress. Part2: testing
For our use case any method for accessing process.env will do. Gleb showed how to use as-a to make things neat. We can show a dotenv alternative, less neat but will do for a single repo use case. yarn add -D dotenv and create a gitignored .env file in the root of your project. The idea is exactly the same as cypress.env.json file; add values here for local use, gitignore and store them securely in CI.
What are some alternatives?
quasar-testing - Testing Harness App Extensions for the Quasar Framework 2.0+
cy-spok - Playing with spok inside Cypress
Cypress - Fast, easy and reliable testing for anything that runs in a browser.
Pact JVM - JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
react-hooks-in-action-with-cypress - React Hooks in Action Book, with Cypress e2e & component tests
cypress-should-really - Functional helpers for constructing Cypress should callbacks
cypress-ld-control - Set LaunchDarkly feature flags from Cypress tests
cypress-localstorage-commands - Extends Cypress' cy commands with localStorage methods. Allows preserving localStorage between tests and spec files. Allows disabling localStorage.