Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.68 KB

README.md

File metadata and controls

36 lines (28 loc) · 1.68 KB

Cypress C8

no babel no cry...

Tux, the Linux mascot

This project runs tests with Cypress and collect code coverage using v8 native Profiler and the Chrome Debugger Protocol for then generating reports using c8.

NOTE: This project is really a PoC... I gathered together a set of plugins for Cypress amongst which this one which aims at consolidating what I did here.

Install

Well... in this case just clone the project and tailor it to your needs. Happy hacking!

Quick Start

git clone https://github.com/glromeo/cypress-c8.git
cd cypress-c8
yarn install
yarn ci

the report will be available in coverage/index.html

Start server and test

This project follows the convention explained here

Electron

The only way I could get electron to enable CDP is to use the environment variable

ELECTRON_EXTRA_LAUNCH_ARGS=--remote-debugging-port=8315

...if anyone managed to get it working with launchOptions, please help!

Many thanks to