IEEEComputerSocietyUNB / ProjetoChatbot

A telegram bot to help you deal with emotions on a daily basis
MIT License
12 stars 3 forks source link

Improve code coverage to 100% #36

Closed alexandrebarbaruiva closed 6 years ago

alexandrebarbaruiva commented 6 years ago

Brief description:

No new features, just more tests to improve code coverage.

New Feature Submissions:

To run tests locally, use make if you're on Mac or Linux.

  1. [ ] Does your submission pass all the tests?
  2. [ ] Have you lint your code locally prior to submission?
  3. [ ] Have you written proper tests to your added code?

New Dialog Submissions:

User messages have - -, bot messages have -

  1. [ ] Does all your user messages have lower letters?
  2. [ ] Have you lint your dialogs locally prior to submission?
  3. [ ] Have you written proper tests to your added dialogs on test_dialogs?
  4. [ ] Does your dialog have an existing category? If not, did you create it?

Changes to Core Features:

codeclimate[bot] commented 6 years ago

Code Climate has analyzed commit f32c491a and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 100.0% (16.5% change).

View more on Code Climate.

codecov[bot] commented 6 years ago

Codecov Report

Merging #36 into master will increase coverage by 16.49%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #36       +/-   ##
=========================================
+ Coverage    83.5%   100%   +16.49%     
=========================================
  Files           2      2               
  Lines          97    102        +5     
  Branches        4      4               
=========================================
+ Hits           81    102       +21     
+ Misses         16      0       -16
Impacted Files Coverage Δ
bot/application.py 100% <100%> (+27.11%) :arrow_up:

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 e1156ea...f32c491. Read the comment docs.