jonathanlermitage / tikione-jacocoverage

NetBeans module that provides JaCoCo code coverage for Ant based Java SE, Java EE and NetBeans Module projects (JDK5,6,7,8 compatible).
http://plugins.netbeans.org/plugin/48570/?show=true
Apache License 2.0
27 stars 25 forks source link

style and colour usage in editor pane #1

Closed homberghp closed 11 years ago

homberghp commented 11 years ago

Excellent work. Just what we need in our education. Works with java6 and java7. Missing this functionality kept us from using java7 in our projects in education.

A few suggestions:

snapshot1

jonathanlermitage commented 11 years ago

Thx!

jonathanlermitage commented 11 years ago

Good news!

homberghp commented 11 years ago

Looks promising. Will have a look at real soon.

On Sun, May 26, 2013 at 3:38 AM, Jonathan Lermitage < notifications@github.com> wrote:

Good news!

-

I've just implemented rubies (glyphs) integration. It is now included in devbuilds (see https://github.com/jonathanlermitage/tikione-jacocoverage#download-stable-and-dev-buildsfor download instructions). Release 1.2.0 will be released very soon.

Multi-line statements, I'll discuss this point with the EclEmma team. Maybe they'd add an option into JaCoCo in order to support this feature?

Test for single file: for 1.3.0 release.

— Reply to this email directly or view it on GitHubhttps://github.com/jonathanlermitage/tikione-jacocoverage/issues/1#issuecomment-18456637 .

Pieter Van den Hombergh. No software documentation is complete with out it's source code.

homberghp commented 11 years ago

Beautiful, the glyphs show very nicely where branches (at the byte code level) are used, even if one (think student) would no recognize it at first hand. I love it, because it is so instructive to my students.

On Wed, May 29, 2013 at 7:48 PM, Pieter van den Hombergh < pieter.van.den.hombergh@gmail.com> wrote:

Looks promising. Will have a look at real soon.

On Sun, May 26, 2013 at 3:38 AM, Jonathan Lermitage < notifications@github.com> wrote:

Good news!

-

I've just implemented rubies (glyphs) integration. It is now included in devbuilds (see https://github.com/jonathanlermitage/tikione-jacocoverage#download-stable-and-dev-buildsfor download instructions). Release 1.2.0 will be released very soon.

Multi-line statements, I'll discuss this point with the EclEmma team. Maybe they'd add an option into JaCoCo in order to support this feature?

Test for single file: for 1.3.0 release.

— Reply to this email directly or view it on GitHubhttps://github.com/jonathanlermitage/tikione-jacocoverage/issues/1#issuecomment-18456637 .

Pieter Van den Hombergh. No software documentation is complete with out it's source code.

Pieter Van den Hombergh. No software documentation is complete with out it's source code.

jonathanlermitage commented 11 years ago

Thank you v. much for your feedback!

If your student has an idea for an additional icon-set (and colors for code highlighting), I'd be glad to include it in JaCoCoverage. I could easily introduce the concept of themes in the plugin.

homberghp commented 11 years ago

Actually you are addressing a point I drop in my last mail. Students tend to choose other for and background colors (the Norway theme seem popular) and that does not combine very well with the old coverage tool. Theming these things would be quite nice in that case.

I built from git last night and were able to get things running in a net netbeans instance. Of course I was not able to sign as you, so another question would be if you have some kind of nightly builds the students can play with. I would also pick up a version, test it and put it in our exam environment The icon set is fine at the moment. But it would be nice if the icon could give a hint about the number of branches in a statement. (like return (value==1) produces 2).

On Thu, May 30, 2013 at 3:30 PM, Jonathan Lermitage < notifications@github.com> wrote:

Thank you v. much for your feedback!

If your student has an idea for an additional icon-set (and colors for code highlighting), I'd be glad to include it in JaCoCoverage. I could easily introduce the concept of themes in the plugin.

— Reply to this email directly or view it on GitHubhttps://github.com/jonathanlermitage/tikione-jacocoverage/issues/1#issuecomment-18679999 .

Pieter Van den Hombergh. No software documentation is complete with out it's source code.

jonathanlermitage commented 11 years ago

I have a bunch of code to commit. I'll proceed in a few hours.

[edit] I have just tested the "Norway Today" theme. Yep, the plugin really needs an additional theme :) If you want to customize colors, you can tweak the XML files located into the "fr.tikione.jacocoverage.plugin.resources" package. They describe annotations (glyphs and colors) for colorized lines with and without glyphs.

[edit] I have implemented themes. I've made a try with "Norway Today": this is not optimal, but it sounds better than default colors :) Code committed and Devbuild updated.

jonathanlermitage commented 11 years ago

Closing then.

jonathanlermitage commented 11 years ago

Finally, I have implemented coloration of multi-line instructions. Will be configurable (enable/disable) and included in next devbuild :)

homberghp commented 11 years ago

I downloaded and installed nb 7.3.1 and saw that your nice plugin is in the default plugin list.

You may also be interested that we use the plugin in our exam settings, in which the students have te write tests and implementations in a TDD way and have access to your plugin.

To make this free of fraud, we hand the students a USB stick on which everything, including NB and your plugin installled is run in its OS (ubuntu from the same stick), so students have only access to the (network) resource we allow them. They cannot even acces the local hard drive.

On Wed, Jun 12, 2013 at 11:46 PM, Jonathan Lermitage < notifications@github.com> wrote:

Finally, I have implemented coloring multi-line instructions. Will be configurable (enable/disable) and included in next devbuild :)

— Reply to this email directly or view it on GitHubhttps://github.com/jonathanlermitage/tikione-jacocoverage/issues/1#issuecomment-19357874 .

Pieter Van den Hombergh. No software documentation is complete with out it's source code.

homberghp commented 11 years ago

Currently we can use it in standard java applications and java library projects, but it does not yet seem to work with web projects (ant based), or is there something I miss. Our (1st year) students currently with ant based projecst in both cases.

On Thu, Jun 13, 2013 at 7:00 PM, Pieter van den Hombergh < pieter.van.den.hombergh@gmail.com> wrote:

I downloaded and installed nb 7.3.1 and saw that your nice plugin is in the default plugin list.

You may also be interested that we use the plugin in our exam settings, in which the students have te write tests and implementations in a TDD way and have access to your plugin.

To make this free of fraud, we hand the students a USB stick on which everything, including NB and your plugin installled is run in its OS (ubuntu from the same stick), so students have only access to the (network) resource we allow them. They cannot even acces the local hard drive.

On Wed, Jun 12, 2013 at 11:46 PM, Jonathan Lermitage < notifications@github.com> wrote:

Finally, I have implemented coloring multi-line instructions. Will be configurable (enable/disable) and included in next devbuild :)

— Reply to this email directly or view it on GitHubhttps://github.com/jonathanlermitage/tikione-jacocoverage/issues/1#issuecomment-19357874 .

Pieter Van den Hombergh. No software documentation is complete with out it's source code.

Pieter Van den Hombergh. No software documentation is complete with out it's source code.

jonathanlermitage commented 11 years ago

Web applications support will be introduced in a future release (Milestone 1.4.0). Currently, only Ant based Java SE application and library projects, Freeform Java projects and NetBeans Module projects are supported.