byteman-bmunit.
The Byteman bmunit jar provides integration of Byteman into TestNG and JUnit tests..
Here is the list of declaration for byteman-bmunit. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.jboss.byteman</groupId> <artifactId>byteman-bmunit</artifactId> <version>2.1.2</version> </dependency>
If you think this Maven repository POM file listing for byteman-bmunit is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
GNU Lesser General Public License.
The following table lists the most popular artifacts which are depending on byteman-bmunit-2.1.2. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
JPA Hibernate | hibernate-core 4.2.7.Final A module of the Hibernate Core project | 10 |
JPA Hibernate | hibernate-entitymanager 4.2.8.Final A module of the Hibernate O/RM project | 8 |
JPA Hibernate | hibernate-core 4.2.8.Final A module of the Hibernate O/RM project | 10 |
JPA Hibernate | hibernate-core 4.1.12.Final A module of the Hibernate Core project | 42 |
JPA Hibernate | hibernate-entitymanager 4.2.12.Final A module of the Hibernate O/RM project | 7 |
JPA Hibernate | hibernate-core 4.2.12.Final A module of the Hibernate O/RM project | 14 |
JPA Hibernate | hibernate-core 4.2.0.Final A module of the Hibernate Core project | 7 |
JPA Hibernate | hibernate-core 4.2.14.Final A module of the Hibernate O/RM project | 5 |
JPA Hibernate | hibernate-core 4.2.2.Final A module of the Hibernate Core project | 5 |
The following plugins are used in the byteman-bmunit-2.1.2.jar
The following packages are defined in the byteman-bmunit-2.1.2.jar
org.jboss.byteman.contrib.bmunit
Here is the content of the POM file.
<!-- ~ JBoss, Home of Professional Open Source. ~ Copyright 2011, Red Hat and individual contributors ~ as indicated by the @author tags. See the copyright.txt file in the ~ distribution for a full listing of individual contributors. ~ ~ This is free software; you can redistribute it and/or modify it ~ under the terms of the GNU Lesser General Public License as ~ published by the Free Software Foundation; either version 2.1 of ~ the License, or (at your option) any later version. ~ ~ This software is distributed in the hope that it will be useful, ~ but WITHOUT ANY WARRANTY; without even the implied warranty of ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ~ Lesser General Public License for more details. ~ ~ You should have received a copy of the GNU Lesser General Public ~ License along with this software; if not, write to the Free ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <artifactId>byteman-bmunit</artifactId> <packaging>jar</packaging> <description> The Byteman bmunit jar provides integration of Byteman into TestNG and JUnit tests. </description> <name>byteman-bmunit</name> <parent> <groupId>org.jboss.byteman</groupId> <artifactId>byteman-root</artifactId> <version>2.1.2</version> <relativePath>../../pom.xml</relativePath> </parent> <build> <sourceDirectory>src</sourceDirectory> <testSourceDirectory>test/src</testSourceDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <includes> <include>test/NGUnitTest.class</include> </includes> <forkMode>always</forkMode> <!-- ensure we don't inherit a byteman jar form any 3env settings --> <argLine>-Dorg.jboss.byteman.home=""</argLine> <environmentVariables> <BYTEMAN_HOME></BYTEMAN_HOME> </environmentVariables> <!-- make sure maven puts the byteman jar in the classpath rather than in a manifest jar --> <useManifestOnlyJar>false</useManifestOnlyJar> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <scope>compile</scope> <optional>true</optional> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>compile</scope> <optional>true</optional> </dependency> <!-- the bmunit code depends on the submit, install and agent jars --> <dependency> <groupId>org.jboss.byteman</groupId> <artifactId>byteman</artifactId> </dependency> <dependency> <groupId>org.jboss.byteman</groupId> <artifactId>byteman-submit</artifactId> </dependency> <dependency> <groupId>org.jboss.byteman</groupId> <artifactId>byteman-install</artifactId> </dependency> </dependencies> </project>