Java Continuous Testing - plugin detail

For Continuous Testing of java programs.

n/a
Plugin owner: devakanth
Website: http://developersperspective.com/?p=113
Added: 2011-12-06
License: Free
Category: Testing
Downloaded: 1,560 times
Rating:
 4.14, by 2 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.07 MB   Last Update: 2011-12-07

What's new in this version

1. Results of unit tests appear on status bar in the form of a progress bar.
2. Feature to test single class (current file being edited) or its dependencies. The dependency depth can be set.
3. Progress bar on status bar can be changed to labels or boxes.

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.07 MB   Last Update: 2011-12-07

What's new in this version

1. Results of unit tests appear on status bar in the form of a progress bar.
2. Feature to test single class (current file being edited) or its dependencies. The dependency depth can be set.
3. Progress bar on status bar can be changed to labels or boxes.

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

The Continuous Testing Plugin is for java projects on the Netbeans IDE . It detects when a java file is saved and runs its unit test automatically. Ideally speaking, everytime a modification is done to a program, the developer should test the file by running its unit test. This plugin does the same automatically. The plugin is tested for java programs and where the unit tests are already written using junit framework. The project should have "compile-on-save" option selected. The Tools->Options->Miscellaneous->Continuous Testing allows the programmer to enable/disable this feature. Please restart the IDE when you enable it for the first time. Written by S. Devakanth Naidu (devakanth@rediffmail.com)

[ You have to be logged in to be able to comment. ]

User Comments

  

"Local" and exclusions

Could someone explain what Local means as the testing method? When I choose it nothing ever happens when I save. Junit works fine.

One thing I have trouble with is that in a Gradle project any change kicks off the continuous tester - so when I save a jsp for example. It can't test the jsp of course, but it still tries. Does anyone have any advice on this matter?


Posted by nickcotter on Dec 06, 2016
  

Good idea, but too buggy

I can get it to run JUnit tests when I select JUnit as Testing Method. However the Status Bar Indicator never gets updated (stays at 0 successes and 0 failures). Also choosing Local as as Testing Method does not seem to work. (Nothing happens when files are saved) Not sure if Local Testing Method was meant to work less in-your-face than the JUnit Testing Method, which is very distracting since it causes the JUnit output window to pop up and start spewing out its test log. I am using Netbeans IDE 7.3.1 on Win7 with jdk1.7.0_45
Posted by sjonsson on Mar 11, 2014
  

Free

The plugin is free to use and distribute. I have not hosted the source code in any site.

If you would like to have any new feature then you can place your request here. I'll build that feature.
Posted by devakanth on Dec 16, 2011
  

Thanks

Thanks for this plugin! Is the source available any where?
Posted by webdevwilson on Dec 15, 2011
  

Thanks.

Thank you for the encouragement and glad that you find the plugin useful.

Try using the "Testing Method as Local" and the progress bar (or label/box) should be updated.

Maybe the status bar UI controls (progress bar, labels or box) should not be displayed when the testing method is "JUnit". I will think about it and do accordingly.

Thanks.
Posted by devakanth on Dec 07, 2011
  

Good idea !

Hi,
very good idea ! I've always wished a single button to launch Build & Tests. Your plugin does the same thing automatically.
Thx a lot for your plugin :)

Works well on NetBeans 7.0.1 and the Latest Dev Build.

A little bug : the Progress Bar (or "Labels" or "Box") is not updated.
I've tested with a Java SE 5 Library project, and saved two files. My two JUnit tests are executed, but the progress bar still indicates "Success: 0, Fail: 0".
In the plugin Options panel, I've chosen "Testing Method : JUnit".

On NetBeans 7.0.1, WinXP SP3 x86_32, JDK6u29 and JDK7u01.
Posted by ent38 on Dec 07, 2011
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo