Skip to content

bahmutov/todomvc-redux-kuker

Repository files navigation

todomvc-redux-kuker renovate-app badge CircleCI

Example application has been forked from reduxjs/redux and stored in src folder.

Run

npm install
npm run dev

Start the application and opens Cypress test runner with several specs. You can also open the Chrome browser at localhost:1234, and if you have Kuker Extension installed, you should see Redux events reported as you use the application.

Kuker extension

Specs

Different specs in cypress/integration folder show different levels of processing Kuker events in the Cypress tests

  • spec.js is purely UI test without any Kuker events
  • spy-spec.js shows how to spy from the test on window.postMessage calls used by Kuker emitter to send data to the Kuker DevTools extension
  • kuker-spec.js makes a separate spy that only sees clean event data and nicely logs event details
  • fixture-spec.js asserts data sent by Kuker against expected values loaded from cypress/fixtures JSON files

Typical Cypress test

Tools

Releases

No releases published

Packages

No packages published