HomePhabricator
Authored by CLOVIS on May 16 2019, 1:05 PM.

Description

Setup JaCoCo

Summary:

  • Cleaning the build.gradle
  • Remove parallel unit testing (the API doesn't handle them)
  • Update the API
  • Make Method & Request public (the tests can't find them if they are internal)
  • Catch cases in which the JSON returned by the API cannot be parsed, and replace it with dummy JSON
  • Integration JaCoCo into the Continuous Integration jobs
  • Setting the mandatory coverage ratio to 50% because the current app is only at 60%. WILL NEED to be changed back later.

Closes T328

Test Plan: https://gitlab.com/wildfyre/lib/pipelines/61653442

Reviewers: Info-Screen, WyldBot, Hackintosh5

Reviewed By: WyldBot

Maniphest Tasks: T328

Differential Revision: https://phabricator.wildfyre.net/D252

Merged Changes

CommitAuthorDetailsCommitted
afbb0c4c3e57D252CLOVIS
Setting the mandatory coverage ratio to 50% because the current app is only at… 
May 16
b45c94b2d988D252CLOVIS
Integration JaCoCo into the Continuous Integration jobs 
May 16
f8caeba997e5D252CLOVIS
Catch cases in which the JSON returned by the API cannot be parsed, and replace… 
May 16
ad14b88ec977D252CLOVIS
Make Method & Request public (the tests can't find them if they are internal) 
May 16
32b59e6dd908D252CLOVIS
Update the API 
May 16
6d5dbf34b1c9D252CLOVIS
Remove parallel unit testing (the API doesn't handle them) 
May 16
8f34c18fb0f7D252CLOVIS
Cleaning the build.gradle 
May 16
f74cfc14eaebD252CLOVIS
Setup JaCoCo 
May 16