Skip to content

zodman/code-coverage-with-selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code coverage report with selenium

More info here https://opensrc.mx/posts/getting-a-code-coverage-report-with-selenium/

Get it working

For getting working the frontend

cd react/
npm install
npm run dev

Run the e2e

python -m env .venv
source .venv/bin/activate
pip install -r requirements.txt
python test_todo.py

Analyze the coverage

mkdir -p react/.nyc_output
cp coverage1.json react/.nyc_output
cd react
npx -y nyc report 
npx -y nyc report  -r html
firefox coverage/index.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published