Message ID | 863d3ffbaad0b942c939ae7d1969196c7c14cbd3.1649436566.git.h.goebel@crazy-compilers.com |
---|---|
State | Accepted |
Headers | show |
Series | Add importer for hex.pm and rebar3 build-system for Erlang | expand |
Hartmut Goebel schreef op vr 08-04-2022 om 19:03 [+0200]: > + (home-page "https://github.com/covertool/covertool") > + (synopsis "Convert Erlang cover data into Cobertura XML reports") > + (description "This package provides a build tool and plugin to convert > +exported Erlang cover data sets into Cobertura XML reports, which can then be > +feed to the Jenkins Cobertura plug-in. > + > +On @emph{hex.pm}, this plugin was previously called @code{rebar_covertool}.") > + (license license:bsd-2))) What is ‘cover data’? Is it line coverage information for testing if a test suite is of good quality, or is it for calculating a minimal convex covering of a set of points? Greetings, Maxime.
Am 09.04.22 um 13:48 schrieb Maxime Devos:
> What is ‘cover data’?
Rephrased into „Convert Erlang code-coverage data generated by @code{cover}
into Cobertura XML reports“
diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index 9a626a65a2..256b622fa3 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -279,6 +279,26 @@ Mozilla's canonical set.") printing extending the io:format syntax to add colours.") (license license:expat))) +(define-public erlang-covertool + (package + (name "erlang-covertool") + (version "2.0.4") + (source + (origin + (method url-fetch) + (uri (hexpm-uri "covertool" version)) + (sha256 + (base32 "1p0c1n3nl4063xwi1sv176l1x68xqf07qwvj444a5z888fx6i5aw")))) + (build-system rebar3-build-system) + (home-page "https://github.com/covertool/covertool") + (synopsis "Convert Erlang cover data into Cobertura XML reports") + (description "This package provides a build tool and plugin to convert +exported Erlang cover data sets into Cobertura XML reports, which can then be +feed to the Jenkins Cobertura plug-in. + +On @emph{hex.pm}, this plugin was previously called @code{rebar_covertool}.") + (license license:bsd-2))) + (define-public erlang-cth-readable (package (name "erlang-cth-readable")