MozillaSecurity / funfuzz

A collection of fuzzers in a harness for testing the SpiderMonkey JavaScript engine.
Mozilla Public License 2.0
631 stars 115 forks source link

Move to pytest #222

Closed nth10sd closed 5 years ago

nth10sd commented 5 years ago

I move entirely away from unittest and on to pytest. I also took the chance to combine the chance function - previously in a separate branch it didn't work under unittest+pytest but under only pytest, it now works great.

codecov-io commented 5 years ago

Codecov Report

Merging #222 into master will decrease coverage by 0.58%. The diff coverage is 98.15%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #222      +/-   ##
==========================================
- Coverage    57.5%   56.91%   -0.59%     
==========================================
  Files          37       36       -1     
  Lines        2906     2857      -49     
==========================================
- Hits         1671     1626      -45     
+ Misses       1235     1231       -4
Impacted Files Coverage Δ
tests/js/test_build_options.py 100% <100%> (+5.26%) :arrow_up:
tests/util/test_sm_compile_helpers.py 100% <100%> (ø) :arrow_up:
tests/js/test_with_binaryen.py 100% <100%> (ø) :arrow_up:
tests/test_run_ccoverage.py 100% <100%> (ø) :arrow_up:
tests/js/test_link_fuzzer.py 100% <100%> (ø) :arrow_up:
tests/util/test_fork_join.py 100% <100%> (ø) :arrow_up:
tests/util/test_os_ops.py 100% <100%> (ø) :arrow_up:
tests/util/test_file_system_helpers.py 100% <100%> (ø) :arrow_up:
src/funfuzz/js/shell_flags.py 95.94% <100%> (-0.03%) :arrow_down:
src/funfuzz/js/build_options.py 63.29% <100%> (+0.53%) :arrow_up:
... 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 4d66cd8...c8fea82. Read the comment docs.