Registry / testing / byteman-bmunit

byteman-bmunit

JSON →
library4.0.26javamavenunverified

The Byteman bmunit jar provides integration of Byteman into TestNG and JUnit tests.

<dependency> <groupId>org.jboss.byteman</groupId> <artifactId>byteman-bmunit</artifactId> <version>4.0.26</version> </dependency>
INSTALL
IMPORT
SIG · BYTEMAN-BMUNIT
B
byteman-bmunit
testingjavav4.0.26
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BMRule
org.jboss.byteman.contrib.bmunit.BMRule

Uses BMRule to intercept a method call during a JUnit test.

import org.jboss.byteman.contrib.bmunit.BMRule; import org.jboss.byteman.contrib.bmunit.BMUnitRunner; import org.junit.Test; import org.junit.runner.RunWith; @RunWith(BMUnitRunner.class) public class TestClass { @Test @BMRule(name = "test", targetClass = "Target", targetMethod = "method", action = "System.out.println(\"intercepted\")") public void testMethod() { new Target().method(); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.26latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
byteman-bmunit — mvn dependency:get byteman-bmunit · libregistry