Needle Icon

Needle

Effective Unit Testing for Java EE

Add a Review
2 Downloads (This Week)
Last Update:
Download jbosscc-needle-2.2.tar.gz
Browse All Files

Screenshots

Description

Needle is a lightweight framework for testing Java EE components outside of the container in isolation. It reduces the test setup code by analysing dependencies and automatic injection of mock objects. It will thus maximize the speed of development as well as the execution of unit tests.


Follow us on Twitter (@NeedleProject)

Needle Web Site

Features

  • Instantiation of @ObjectUnderTest Components
  • Constructor, Method and Field based dependency injection
  • Injection of Mock objects by default
  • Extensible by providing custom injection providers
  • Wiring of object graphs
  • Database testing via JPA Provider, e.g. EclipseLink or Hibernate
  • EntityManager creation and injection
  • Execute optional database operations during test setup and tear down
  • Transaction Utilities
  • Provide Utilities for Reflection, e.g. for private method invocation or field access
  • Needle can be used with JUnit or TestNG
  • It supports EasyMock and Mockito out-of-the-box

Update Notifications





Write a Review

User Reviews

Be the first to post a review of Needle!

Additional Project Details

Intended Audience

Developers

Programming Language

Java

Registered

2010-02-24
Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.