[rfc][icedtea-web] Bug annotation
ptisnovs at redhat.com
Mon Apr 30 05:36:14 PDT 2012
I think it's a good idea to use @Bug annotation and I'm ok with use it in a generated HTML report.
----- Jiri Vanek <jvanek at redhat.com> wrote:
> Hi all!
> 4/5 of browser testing framework. This one is not related to testing of applets in browsers, but is
> extension to testing framework as a complex. I got inspired by jtreg and by Pavel and our
> documentaries who are always annoyed when tracking some bug in icedtea-web.
> This was originally purposed by me in Extending jnlp reproducers for html+applet reproducers in
> March :
> *@Bug* annotation - can handle IDs of bugs or urls to web which contains more info about "why this
> reproducer or unit test was added", are *nicely* propagated also to html report (see attached
> report.zip). Name convention is as we are used to from NEWS files."
>  http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-March/017799.html
> Best regars
> 2012-04-25 Jiri Vanek <jvanek at redhat.com>
> Introduced new annotations Bug (to connect test/reproducer with documentation) and NeedsDisplay
> which tells the launching engine that this particular test needs Display. Based on ptisnovs's ideas
> and jtreg experiences
> *Makefile.am: (JUNIT_RUNNER_JAR), (stamps/run-netx-unit-tests.stamp) and
> (stamps/run-unit-test-code-coverage.stamp) are now dependent on (stamps/netx-dist-tests-compile) and
> classpaths inside them have been enriched for JNLP_TESTS_ENGINE_DIRwhich contains definitions of
> those annotations
> *tests/jnlp_tests/simple/CheckServices/testcases/CheckServicesTests.java: and
> *tests/jnlp_tests/simple/ManifestedJar1/testcases/ManifestedJar1Test.java: and
> *tests/jnlp_tests/simple/Spaces can be everywhere/testcase/SpacesCanBeEverywhereTests.java: filled
> Bug annotations
> *tests/junit-runner/JunitLikeXmlOutputListener.java: made to understand Bug annotation
> *tests/netx/jnlp_testsengine/net/sourceforge/jnlp/annotations/NeedsDisplay.java: and
> *tests/netx/jnlp_testsengine/net/sourceforge/jnlp/annotations/Bug.java: annotations definitions
> *tests/report-styles/jreport.xsl" made nice links from bug annotation prepared by
More information about the distro-pkg-dev