Talk Proposal: Fault Injection Testing With BMUnit

Andrew Dinn adinn at redhat.com
Fri Dec 11 14:52:17 CET 2015


Hi Mario,

This talk is a potential fallback in case it is not possible to provide
a talk on Byteman-Thermostat.


Title: Fault Injection Testing With BMUnit

Duration: 45 minutes?

Abstract:

BMUnit is the package which integrates Byteman into JUnit and TestNG,
enabling you to locally redefine the behaviour of application or JDK
runtime code for the duration of a single test or group of related
tests. BMUnit is very simple to use; just add a few annotations to your
test classes and place a few jars in your classpath. This talk will
explain how BMUnit works by presenting and executing tests which
exemplify the 3 most common use cases:

  injecting trace code so you can be sure your tests enter the expected
code paths

  injecting validation rules so you can assert that specific outcomes do
occur

  injecting 'faults' to modify state or control flow, driving the
application or JDK runtime down the path needed to exercise a desired
test scenario


Bio:

Andrew Dinn is a member of Red Hat's OpenJDK team. He also leads JBoss
project Byteman.


regards,


Andrew Dinn
-----------



More information about the java-devroom mailing list