|
From: Benjamin M. <b.m...@gm...> - 2017-01-08 16:25:35
|
Hello everybody, I aim to start contributing to Cobertura in the near future. My intention is to both help fixing bugs and developing new features. Regarding new features, my primary proposition is to add finer granular functionality to ignore lines of code for coverage, since this is what I see is often needed for projects. I am currently trying to build Cobertura from sources, but fail because of failed test cases. I have a fresh checkout of master done today (2017-01-08). "mvn test" in folder "/cobertura" returns: Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in test.performance.Test1 Results : Failed tests: FunctionalConditionCoverageTest.testConditionCoverage:154->verify:158->verifyXml:181->verifyClass:229->verifyMethod:275 Expected line 22 to be ignored. IgnoreTrivialAntTest.test:104->assertNotIgnored:126->assertNotIgnored:122 getINVOKEVIRTUAL should not be ignored IgnoreTrivialFunctionalTest.ignoreTrivialTest:477->assertNotIgnored:519->assertNotIgnored:515 getINVOKEVIRTUAL should not be ignored SwitchFunctionalTest.noDefaultTest:474->AbstractCoberturaTestCase.assertConditionCoverage:64 expected:<[33% (1/3])> but was:<[25% (1/4])> Tests in error: IgnoreMethodAnnotationAntTest.setUp:19->AbstractCoberturaAntTestCase.executeAntTarget:59 » Build Tests run: 200, Failures: 4, Errors: 1, Skipped: 0 Some info on my build environment: Ubuntu 16.04 64Bit, Kernel 4.4.0-57-generic, Maven 3.3.9, openjdk version "1.8.0_111" I would be glad if somebody takes the time to help me get started! Kind regards, Ben |