chestrays / cornerstone_widget

A jupyter widget for the cornerstone library to make showing flashy images with nice tools easier.
Apache License 2.0
26 stars 2 forks source link

[WIP] Browser-based end to end testing with Robot #19

Open kmader opened 6 years ago

kmader commented 6 years ago

Getting end-to-end tests for the widget

Fixes #18

codecov-io commented 6 years ago

Codecov Report

Merging #19 into master will decrease coverage by 1.12%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   89.18%   88.06%   -1.13%     
==========================================
  Files           4        4              
  Lines         148      176      +28     
==========================================
+ Hits          132      155      +23     
- Misses         16       21       +5
Impacted Files Coverage Δ
cornerstone_widget/cs_widget.py 86.76% <0%> (-1.2%) :arrow_down:

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 abbb2f4...01ce352. Read the comment docs.

bollwyvl commented 6 years ago

For chrome in travis, in .travis.yml, i'd recommend

sudo: required
addons:
  chrome: stable

Once you get one browser working, you can trade build time for increasing the value of your work by testing with more browsers: for SCIENCE, I can now recommend Firefox ESR, which fully supports headless testing.

addons:
  firefox: latest-esr

I don't usually bother with edge or safari... ¯_ :neckbeard: _/¯