Coder Social home page Coder Social logo

quick-junit's Introduction

What is Quick JUnit?

Quick JUnit is a plugin for Eclipse. It provides simple features, especially to support for TDD.

Features

junit.extensions.eclipse.quick.feature

This feature provides easy to launch JUnit Test.

  • Enable to change product code and test code using only one short cut key sequence(Ctrl+9).We call these set are testing pair.
  • Enable to create new test class if there are no testing pair class and you use ‘Ctrl+9’.
  • Enable to launch test more easy.Only one short cut key sequence (Ctrl+0).
    • Enable to launch only one test method. If you want to launch only it, please locate your cursor on target test method’s range and push ‘Ctrl+0’
  • Enable to launch debug test more easy.Only one short cut key sequence (Ctrl+Shift+0).
  • Enable to write test skeleton code by content assist template. it’s only type ‘Q’ and Ctrl + space.
  • Add useful static methods for JUnit Testing to ContentAssist Favorites.

junit.extensions.eclipse.quick.pde.feature

This feature provides easy to launch PDE JUnit Test.

  • Enable to launch PDE test more easy.Only one short cut key sequence (Ctrl+-).
  • Enable to launch PDE debug test more easy.Only one short cut key sequence (Ctrl+Shift+-).

junit.extensions.eclipse.quick.mock.feature (Mockito Integration)

This feature provides easy to write to use hamcrest and mockito test code.

  • Enable to use Mockito as Classpath Library on Eclipse Platform like JUnit Libraries.

junit.extensions.eclipse.quick.template.feature

This feature provides easy to write skeleton code by simple key type.

  • Enable to write Before skeleton code by content assist template. it’s only type ‘B’ and Ctrl + space.
  • Enable to write BeforeClass skeleton code by content assist template. it’s only type ‘BC’ and Ctrl + space.
  • Enable to write After skeleton code by content assist template. it’s only type ‘A’ and Ctrl + space.
  • Enable to write AfterClass skeleton code by content assist template. it’s only type ‘AC’ and Ctrl + space.

junit.extensions.eclipse.quick.growl.feature

This plugin provides to notify test results to Growl.(It supports only Mac Environment.)

Experimental Features

junit.extensions.eclipse.quick.javadoc.feature (TestContext Support)

  • Enable to change between TestContext classes.TestContext means Testing under the context.When your project is bigger and bigger, there are some functional tests in your project.TestContext connects these classes.

junit.extensions.eclipse.quick.growl.feature

This plugin provides to notify test results to Growl.(It supports only Mac Environment.)

junit.extensions.eclipse.quick.process.feature

This plugin provides to launch a process when the test is ended.This feature’s main purpose is to notify test results.

How to install it?

Recently we provides only beta version and only test on eclipse 3.5(Galileo). If you use this plug-in, you can use update site.

Change Log

for v0.6.0 2011-05-25 update by Hiroki Kondo
for v0.5.0 2010-01-01 written by Hiroki Kondo (a.k.a @kompiro)

Copyright © 2003-2011 Masaru Ishii,The Quick JUnit Plugin Project.

This plugin dadecated to the memory of Masaru Ishii.

quick-junit's People

Contributors

buzztaiki avatar kompiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quick-junit's Issues

Eclipse Marsで「テスティングペアを開く」で無反応

適当な実装クラスを右クリックして「テスティングペアを開く」をしても無反応です。
.metadata/.log にはこんなのが出ました。

!ENTRY org.eclipse.ui 4 0 2015-08-26 18:56:11.419
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
    at junit.extensions.eclipse.quick.internal.action.OpenTestingPairAction.getCurrentProject(OpenTestingPairAction.java:232)
    at junit.extensions.eclipse.quick.internal.action.OpenTestingPairAction.findCurrentProject(OpenTestingPairAction.java:226)
    at junit.extensions.eclipse.quick.internal.action.OpenTestingPairAction.findPairTypes(OpenTestingPairAction.java:204)
    at junit.extensions.eclipse.quick.internal.action.OpenTestingPairAction.run(OpenTestingPairAction.java:190)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1515)

試用しているeclipseは
Eclipse Java EE IDE for Web Developers.
Version: Mars Release (4.5.0)
Build id: 20150621-1200
です。

QuickJunitは
0.7.0.201204240825
です。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.