Niraj-Kamdar / question-paper-generator

The Question Paper Generator has been made to allow professors to generate question papers with random but enough questions to cover most chapters of a subject with specified difficulty and cognitive level and mail paper directly to the examiner in PDF format.
https://setnow.herokuapp.com/
MIT License
14 stars 19 forks source link

Add unittest for generate paper #256

Closed Niraj-Kamdar closed 4 years ago

codecov[bot] commented 4 years ago

Codecov Report

Merging #256 into develop will increase coverage by 5.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #256      +/-   ##
===========================================
+ Coverage    90.59%   95.59%   +5.00%     
===========================================
  Files           39       39              
  Lines         1520     1568      +48     
===========================================
+ Hits          1377     1499     +122     
+ Misses         143       69      -74     
Flag Coverage Δ
#unittests 95.59% <100.00%> (+5.00%) :arrow_up:
Impacted Files Coverage Δ
flaskapp/models.py 98.79% <ø> (+1.20%) :arrow_up:
test/main/base_classes.py 100.00% <100.00%> (ø)
test/papers/test_paper_generate_request.py 100.00% <100.00%> (ø)
test/questions/test_mcq_operation.py 100.00% <100.00%> (ø)
test/questions/test_sub_operation.py 100.00% <100.00%> (ø)
flaskapp/checkers.py 87.71% <0.00%> (+10.52%) :arrow_up:
flaskapp/blueprints/papers/routes.py 88.62% <0.00%> (+23.35%) :arrow_up:
flaskapp/blueprints/papers/utils.py 75.75% <0.00%> (+42.42%) :arrow_up: