Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: started work on integration tests with cypress (including code coverage) #246

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ErikBjare
Copy link
Member

@ErikBjare ErikBjare commented Jan 2, 2021

Apparently, TestCafe doesn't support code coverage. So trying out Cypress, which does.

Mostly just followed https://vuejsdevelopers.com/2020/07/20/code-coverage-vue-cypress/

TODO

  • When running npm run test:e2e, process does not exit.
  • Doesn't really do any significant testing.
  • Doesn't run in CI.
  • Combine coverage reports.

@codecov
Copy link

codecov bot commented Jan 2, 2021

Codecov Report

Merging #246 (31f7125) into master (5d51f0d) will increase coverage by 1.11%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #246      +/-   ##
=========================================
+ Coverage    4.47%   5.59%   +1.11%     
=========================================
  Files          21      21              
  Lines         960     768     -192     
  Branches       92      82      -10     
=========================================
  Hits           43      43              
+ Misses        862     675     -187     
+ Partials       55      50       -5     
Impacted Files Coverage Δ
src/route.js 0.00% <0.00%> (ø)
src/util/time.js 0.00% <0.00%> (ø)
src/util/color.js 0.00% <0.00%> (ø)
src/store/index.js 0.00% <0.00%> (ø)
src/util/tooltip.js 0.00% <0.00%> (ø)
src/util/awclient.js 0.00% <0.00%> (ø)
src/util/transforms.js 0.00% <0.00%> (ø)
src/store/modules/views.js 0.00% <0.00%> (ø)
src/store/modules/buckets.js 0.00% <0.00%> (ø)
src/visualizations/summary.js 0.00% <0.00%> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d51f0d...31f7125. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant