garage-it / SmartHouse-backend

9 stars 2 forks source link

ci(TG-404): split unit and integration test runners #86

Closed borys-ihnatyev closed 7 years ago

borys-ihnatyev commented 7 years ago

Hey guys here is several improvements dedicated on how we run the tests, essentially what tests do we run.

As per TDD development prospective, I have split integration tests (which tests real api calls with db write) and unit tests (external system calls are mocked) runners.

Why? To increase performance of development. How? Unit tests takes fare more less time to run:

review-ninja commented 7 years ago

ReviewNinja

codecov-io commented 7 years ago

Current coverage is 94.45% (diff: 100%)

Merging #86 into master will not change coverage

@@             master        #86   diff @@
==========================================
  Files            74         74          
  Lines           830        830          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            784        784          
  Misses           46         46          
  Partials          0          0          

Powered by Codecov. Last update 76111d7...0875c33