JSAbrahams / mamba

🐍 The Mamba programming language, because we care about safety
MIT License
88 stars 4 forks source link

Test executable more #293

Closed JSAbrahams closed 2 years ago

JSAbrahams commented 2 years ago

Summary

Bunch of smoke tests to make sure the executable works as intended.

The logic here wasn't really tested much. Now we actually test the command line interface.

In future there should be more tests also for the different arguments. Remember, if we change the behavior anywhere, ideally at least one test should fail.

Added Tests

codecov[bot] commented 2 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@2014071). Click here to learn what that means. The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #293   +/-   ##
==========================================
  Coverage           ?   85.96%           
==========================================
  Files              ?       98           
  Lines              ?     9853           
  Branches           ?        0           
==========================================
  Hits               ?     8470           
  Misses             ?     1383           
  Partials           ?        0           

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more