cy-spok
as-a
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.
cy-spok
-
Effective Test Strategies for Testing Front-end Applications using LaunchDarkly Feature Flags and Cypress. Part2: testing
Here are 3 neater ways without variable assignments, showcasing TDD vs BDD assertions and our favorite; cy-spok:
-
Test emails effortlessly with Cypress, Mailosaur and cy-spok
Data focused assertions with cy-spok
-
CRUD API testing a deployed service with Cypress using cy-api, spok, cypress-data-session & cypress-each
Here is a reference to spok api docs. cy-spok is the Cypress adaptation of spok.
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?
cypress-workshop-basics - Basics of end-to-end testing with Cypress.io test runner
Cypress - Fast, easy and reliable testing for anything that runs in a browser.
books - Self-learning exercises from my favorite JS related books
react-hooks-in-action-with-cypress - React Hooks in Action Book, with Cypress e2e & component tests
cy-api - Cypress custom command "cy.api" for end-to-end API testing
cypress-ld-control - Set LaunchDarkly feature flags from Cypress tests
cypress-mailosaur - Mailosaur email and SMS testing commands for Cypress
cypress-should-really - Functional helpers for constructing Cypress should callbacks
cypress-data-session - Cypress command for flexible test data setup
cypress-localstorage-commands - Extends Cypress' cy commands with localStorage methods. Allows preserving localStorage between tests and spec files. Allows disabling localStorage.
cypressExamples - All Cypress examples in one repo
dotenv - Loads environment variables from .env for nodejs projects.