www.powerunit.ch Open in urlscan Pro
172.67.128.84  Public Scan

Submitted URL: https://powerunit.ch/
Effective URL: https://www.powerunit.ch/powerunit/
Submission: On August 01 via api from CH — Scanned from CH

Form analysis 1 forms found in the DOM

GET https://www.google.com/search

<form id="search-form" action="https://www.google.com/search" method="get">
  <input value="www.powerunit.ch/powerunit" name="sitesearch" type="hidden">
  <input class="search-query" name="q" id="query" type="text" placeholder="" style="background: url(&quot;https://www.google.com/cse/static/images/1x/en/branding.png&quot;) left 9px top 50% no-repeat rgb(255, 255, 255);">
  <input name="siteurl" value="www.powerunit.ch/powerunit/" type="hidden"><input name="ref" value="www.powerunit.ch/" type="hidden"><input name="ss" value="" type="hidden">
</form>

Text Content

POWERUNIT - JAVA TESTING FRAMEWORK FOR JDK 1.8



--------------------------------------------------------------------------------

 * Last Published: 2015-09-30 |
 * Version: 0.5.0-SNAPSHOT

 * Project Documentation
 * Project Information
   * About
   * Plugin Management
   * Distribution Management
   * Dependency Information
   * Source Repository
   * Mailing Lists
   * Issue Tracking
   * Continuous Integration
   * Project Plugins
   * Project License
   * Project Team
   * Project Summary
   * Dependencies
 * Project Reports
 * General documentations
 * FAQ
 * Release principles
 * Samples
 * Linked projects
 * Matchers annotation integration
 * Spring integration
 * Eclipse integration



--------------------------------------------------------------------------------




THE POWERUNIT FRAMEWORK


MAIN CONCEPTS

Powerunit is a unit test framework designed to be used with the JDK 1.8. It is
inspired by the JUnit framework and syntax is very similar. from a high level
perspective, the main difference are :

 * There is no concept of test runner, but the concept of parameterized test is
   integrated into the default system.
 * There is no before/after annotation, but the action around a test are defined
   by using one single rule chain.
 * Assertion syntax is more DSL oriented (only assertThat or similar assertion
   is available). The assertion system is strongly linked with hamcrest.
 * Some additional matcher are available to support new capabilities of the JDK
   1.8, for instance the Optional class.
 * By default the system use a fast fail approach, but it is possible to switch
   to fail at end approach (since version 0.4.0).

Much more details are available in the javadoc of this project


HOSTING

The source is hosted on git, as is the issue manager.


MAVEN INTEGRATION

This framework is available in the maven central repo. It is be possible do use
this framework as any maven dependency :

<dependency>
 <groupId>ch.powerunit</groupId>
 <artifactId>powerunit</artifactId>
 <scope>test</scope>
</dependency>

Integration with surefire is also possible. To do so, the dependency must also
be added to the extension of the surefire plugin:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-plugin</artifactId>
  <dependencies>
    <dependency>
      <groupId>ch.powerunit</groupId>
      <artifactId>powerunit</artifactId>
    </dependency>
  </dependencies>
</plugin>

An artifact powerunit-with-dependencies is also available (starting with version
0.1.0); This one provides the same functionnalities, but with all the
dependencies included inside the jar. This can be used in non-maven context.


ROADMAP

Please refer to the release principles page for more information.

VERSION 0.0.1

The version 0.0.1 of this library is the first release.

VERSION 0.1.0

The 0.1.0 version covers parameter filtering, documentation issue and add a Main
Class to run test (to be used by the initial implementation of the eclipse
integration).

VERSION 0.2.0

The 0.2.0 version provides support for better eclipse integration and test
framework.

VERSION 0.3.0

The 0.3.0 version provides additionnal support for tester (comparator, etc) and
framework.

--------------------------------------------------------------------------------

Copyright © 2015 Powerunit. All rights reserved.