Initial version of code coverage report.
authorJan Vrany <jan.vrany@fit.cvut.cz>
Tue, 25 Jun 2013 20:26:00 +0200
changeset 165 43b09a7665bf
parent 164 707c2a3ef492
child 166 5bf6af786b93
Initial version of code coverage report. It mimics Cobertura report so it can be used in Jenkins with proper plugin. However, it's very basic with limited functionality.
reports/stx_goodies_builder_reports.st
--- a/reports/stx_goodies_builder_reports.st	Tue Jun 25 20:25:50 2013 +0200
+++ b/reports/stx_goodies_builder_reports.st	Tue Jun 25 20:26:00 2013 +0200
@@ -27,13 +27,11 @@
      or classes which are extended by this package.
      This list can be maintained manually or (better) generated and
      updated by scanning the superclass hierarchies
-     (the browser has a menu function for that)
-     However, often too much is found, and you may want to explicitely
-     exclude individual packages in the #excludedFromPreRequisites method."
+     (the browser has a menu function for that)"
 
     ^ #(
-        #'stx:goodies/sunit'    "TestCase - extended "
-        #'stx:libbasic'    "Object - superclass of Builder::TestReport "
+        #'stx:goodies/sunit'    "TestAsserter - extended "
+        #'stx:libbasic'    "LibraryDefinition - superclass of stx_goodies_builder_reports "
     )
 !
 
@@ -48,8 +46,18 @@
     ^ #(
         #'stx:goodies/refactoryBrowser/browser'    "PackageEnvironment - referenced by Builder::LintReport>>setupForPackages: "
         #'stx:goodies/refactoryBrowser/helpers'    "BrowserEnvironment - referenced by Builder::LintReport>>setupForClasses: "
-        #'stx:goodies/refactoryBrowser/lint'    "SmalllintChecker - referenced by Builder::LintReport>>runReport "
-        #'stx:libcomp'    "Parser - referenced by Builder::LintReport>>setupRulesFrom: "
+        #'stx:goodies/refactoryBrowser/lint'    "RBBasicLintRule - referenced by Builder::LintReport>>setUp "
+        #'stx:libcomp'    "InstrumentationContext - referenced by Builder::TestReport>>runReport "
+    )
+!
+
+subProjects
+    "list packages which are known as subprojects.
+     The generated makefile will enter those and make there as well.
+     However: they are not forced to be loaded when a package is loaded;
+     for those, redefine requiredPrerequisites"
+
+    ^ #(
     )
 ! !
 
@@ -73,6 +81,8 @@
         #'Builder::TestReport'
         #'Builder::TestReportFormat'
         #'Builder::CoverageReport'
+        #'Builder::ReportSourceInfo'
+        #'Builder::CoverageReportFormat'
     )
 !