[xwiki-devs] [XWIKI Day] Code Coverage Day #1
Hi devs, Today let’s try to do a Code Coverage Day. It’s our first one and I didn’t get the time to prepare it so I propose something simple: - The goal is to increase the jacoco TPC threshold in pom.xml files - Everyone notes down the TPC increase they’ve brought to a module so that when we prepare the day’s report we can add them there Reminder: to check the current TPC, run “mvn clean install -Pquality -Dxwiki.jacoco.instructionRatio=1.00” WDYT? Thanks -Vincent
Sounds good. On Thu, Mar 20, 2014 at 9:37 AM, [email protected] <[email protected]> wrote:
Hi devs,
Today let's try to do a Code Coverage Day. It's our first one and I didn't get the time to prepare it so I propose something simple:
- The goal is to increase the jacoco TPC threshold in pom.xml files - Everyone notes down the TPC increase they've brought to a module so that when we prepare the day's report we can add them there
Reminder: to check the current TPC, run "mvn clean install -Pquality -Dxwiki.jacoco.instructionRatio=1.00"
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
Starting to work on XWiki Commons - Observation - API. On Thu, Mar 20, 2014 at 9:39 AM, Thomas Mortagne <[email protected]> wrote:
Sounds good.
On Thu, Mar 20, 2014 at 9:37 AM, [email protected] <[email protected]> wrote:
Hi devs,
Today let's try to do a Code Coverage Day. It's our first one and I didn't get the time to prepare it so I propose something simple:
- The goal is to increase the jacoco TPC threshold in pom.xml files - Everyone notes down the TPC increase they've brought to a module so that when we prepare the day's report we can add them there
Reminder: to check the current TPC, run "mvn clean install -Pquality -Dxwiki.jacoco.instructionRatio=1.00"
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
You can use mvn clean install -Pquality jacoco:report to generate a detailed report in target/site/jacoco On Thu, Mar 20, 2014 at 9:41 AM, Thomas Mortagne <[email protected]> wrote:
Starting to work on XWiki Commons - Observation - API.
On Thu, Mar 20, 2014 at 9:39 AM, Thomas Mortagne <[email protected]> wrote:
Sounds good.
On Thu, Mar 20, 2014 at 9:37 AM, [email protected] <[email protected]> wrote:
Hi devs,
Today let's try to do a Code Coverage Day. It's our first one and I didn't get the time to prepare it so I propose something simple:
- The goal is to increase the jacoco TPC threshold in pom.xml files - Everyone notes down the TPC increase they've brought to a module so that when we prepare the day's report we can add them there
Reminder: to check the current TPC, run "mvn clean install -Pquality -Dxwiki.jacoco.instructionRatio=1.00"
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
Rule: do not add tests to a test class that’s not using Mockito and @Rule. Instead start by upgrading the test class first. Thanks -Vincent On 20 Mar 2014 at 09:37:18, [email protected] ([email protected](mailto:[email protected])) wrote:
Hi devs,
Today let’s try to do a Code Coverage Day. It’s our first one and I didn’t get the time to prepare it so I propose something simple:
- The goal is to increase the jacoco TPC threshold in pom.xml files - Everyone notes down the TPC increase they’ve brought to a module so that when we prepare the day’s report we can add them there
Reminder: to check the current TPC, run “mvn clean install -Pquality -Dxwiki.jacoco.instructionRatio=1.00”
WDYT?
Thanks -Vincent
Except for tests that are not using any kind of mock ;) I guess a better rule could be: don't touch deprecated APIs :) On Thu, Mar 20, 2014 at 9:50 AM, [email protected] <[email protected]> wrote:
Rule: do not add tests to a test class that's not using Mockito and @Rule. Instead start by upgrading the test class first.
Thanks -Vincent
On 20 Mar 2014 at 09:37:18, [email protected] ([email protected](mailto:[email protected])) wrote:
Hi devs,
Today let's try to do a Code Coverage Day. It's our first one and I didn't get the time to prepare it so I propose something simple:
- The goal is to increase the jacoco TPC threshold in pom.xml files - Everyone notes down the TPC increase they've brought to a module so that when we prepare the day's report we can add them there
Reminder: to check the current TPC, run "mvn clean install -Pquality -Dxwiki.jacoco.instructionRatio=1.00"
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
Starting working on XWiki Commons - Filter - API On Thu, Mar 20, 2014 at 10:14 AM, Thomas Mortagne <[email protected]> wrote:
Except for tests that are not using any kind of mock ;)
I guess a better rule could be: don't touch deprecated APIs :)
On Thu, Mar 20, 2014 at 9:50 AM, [email protected] <[email protected]> wrote:
Rule: do not add tests to a test class that's not using Mockito and @Rule. Instead start by upgrading the test class first.
Thanks -Vincent
On 20 Mar 2014 at 09:37:18, [email protected] ([email protected](mailto:[email protected])) wrote:
Hi devs,
Today let's try to do a Code Coverage Day. It's our first one and I didn't get the time to prepare it so I propose something simple:
- The goal is to increase the jacoco TPC threshold in pom.xml files - Everyone notes down the TPC increase they've brought to a module so that when we prepare the day's report we can add them there
Reminder: to check the current TPC, run "mvn clean install -Pquality -Dxwiki.jacoco.instructionRatio=1.00"
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
participants (2)
-
Thomas Mortagne -
vincent@massol.net