cypress-ld-control
ui-testing-best-practices
cypress-ld-control | ui-testing-best-practices | |
---|---|---|
3 | 4 | |
17 | 1,646 | |
- | - | |
0.0 | 6.1 | |
over 1 year ago | 3 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.
cypress-ld-control
-
What are some best practices to turn on and off the feature flags through the automated test suite?
I wrote a blog post about it “ Control LaunchDarkly From Cypress Tests” https://glebbahmutov.com/blog/cypress-and-launchdarkly/
-
Effective Test Strategies for Deployed NodeJS Services using LaunchDarkly Feature Flags and Cypress. Part2: testing
My friend Gleb Bahmutov authored an excellent blog on testing LD with Cypress, there he revealed his new plugin cypress-ld-control. We used it in Effective Test Strategies for Front-end Applications using LaunchDarkly Feature Flags and Cypress. Part2: testing. The distinction here is using the plugin for a deployed service and the consequential test strategies.
-
Effective Test Strategies for Testing Front-end Applications using LaunchDarkly Feature Flags and Cypress. Part2: testing
The cypress-ld-control plugin utilizes cy.task, which allows node code to execute within Cypress context. Therefore we will not be able to use cypress.env.json to store these LD related environment variables locally.
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.
What are some alternatives?
cypress-localstorage-commands - Extends Cypress' cy commands with localStorage methods. Allows preserving localStorage between tests and spec files. Allows disabling localStorage.
quasar-testing - Testing Harness App Extensions for the Quasar Framework 2.0+
github-action - GitHub Action for running Cypress end-to-end & component tests
Cypress - Fast, easy and reliable testing for anything that runs in a browser.
dotenv - Loads environment variables from .env for nodejs projects.
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.
cypress-crud-api-test - crud testing a serverless application with Cypress api tests
cypress-should-really - Functional helpers for constructing Cypress should callbacks
as-a - Runs a given command with additional environment settings for simple local development
react-hooks-in-action-with-cypress - React Hooks in Action Book, with Cypress e2e & component tests
pizza-api
cy-spok - Playing with spok inside Cypress