mockrunner - J2EE Unit Testing

Distribution: RPM Universal
Repository: JPackage 5.0 all
Package name: mockrunner
Package version: 0.3.8
Package release: 1jpp
Package architecture: noarch
Package type: rpm
Installed size: 1.18 MB
Download size: 1.08 MB
Official Mirror:
Mockrunner is a lightweight framework for unit testing applications in the J2EE environment. It supports Struts actions and forms, servlets, filters and tag classes. Furthermore it includes a JDBC and a JMS test framework and can be used in conjunction with MockEJB to test EJB based applications. Mockrunner extends JUnit and simulates the necessary behaviour without calling the real infrastructure. It does not need a running application server or a database. Furthermore it does not call the webcontainer or the Struts ActionServlet. It is very fast and enables the user to manipulate all involved classes and mockobjects in all steps of the test. It can be used to write very sophisticated unit-tests for J2EE based applications without any overhead. Mockrunner does not support any type of in-container testing.



  • mockrunner = 0.3.8-1jpp


    Install Howto

    Fedora, CentOS, RHEL:
    1. Download the latest jpackage-release rpm from
    2. Install jpackage-release rpm:
      # rpm -Uvh jpackage-release*rpm
    3. Install mockrunner rpm package:
      # yum install mockrunner
    1. Add the JPackage 5.0 repository:
      # zypper addrepo jpackage-5.0
    2. Install mockrunner rpm package:
      # zypper install mockrunner
    Mandriva, Mageia:
    1. Add the JPackage 5.0 repository:
      # urpmi.addmedia jpackage-5.0 with
    2. Update packages list:
      # urpmi.update -a
    3. Install mockrunner rpm package:
      # urpmi mockrunner


    • /etc/maven/fragments/mockrunner
    • /usr/share/doc/mockrunner-0.3.8/LICENSE.txt
    • /usr/share/doc/mockrunner-0.3.8/readme.txt
    • /usr/share/java/mockrunner/mockrunner-0.3.8.jar
    • /usr/share/java/mockrunner/mockrunner-ejb-0.3.8.jar
    • /usr/share/java/mockrunner/mockrunner-ejb.jar
    • /usr/share/java/mockrunner/mockrunner-jca-0.3.8.jar
    • /usr/share/java/mockrunner/mockrunner-jca.jar
    • /usr/share/java/mockrunner/mockrunner-jdbc-0.3.8.jar
    • /usr/share/java/mockrunner/mockrunner-jdbc.jar
    • /usr/share/java/mockrunner/mockrunner-jms-0.3.8.jar
    • /usr/share/java/mockrunner/mockrunner-jms.jar
    • /usr/share/java/mockrunner/mockrunner-servlet-0.3.8.jar
    • /usr/share/java/mockrunner/mockrunner-servlet.jar
    • /usr/share/java/mockrunner/mockrunner-struts-0.3.8.jar
    • /usr/share/java/mockrunner/mockrunner-struts.jar
    • /usr/share/java/mockrunner/mockrunner-tag-0.3.8.jar
    • /usr/share/java/mockrunner/mockrunner-tag.jar
    • /usr/share/java/mockrunner/mockrunner.jar
    • /usr/share/maven2/
    • /usr/share/maven2/poms/JPP.mockrunner-mockrunner-ejb.pom
    • /usr/share/maven2/poms/JPP.mockrunner-mockrunner-jca.pom
    • /usr/share/maven2/poms/JPP.mockrunner-mockrunner-jdbc.pom
    • /usr/share/maven2/poms/JPP.mockrunner-mockrunner-jms.pom
    • /usr/share/maven2/poms/JPP.mockrunner-mockrunner-servlet.pom
    • /usr/share/maven2/poms/JPP.mockrunner-mockrunner-struts.pom
    • /usr/share/maven2/poms/JPP.mockrunner-mockrunner-tag.pom
    • /usr/share/maven2/poms/JPP.mockrunner-mockrunner.pom


    2008-01-28 - Ralph Apel <r.apel at> - 0:0.3.8-1jpp - 0.3.8 - Add poms and depmap frags - Add gcj_support option - Fix servlet/jsp dependencies and link-ins

    2005-10-20 - Ralph Apel <> - 0:0.3.5-1jpp - First JPackage build