hprange / wounit

The WOUnit framework contains a set of utilities for testing WebObjects applications using JUnit 4.7 or later capabilities.
http://hprange.github.io/wounit/
Apache License 2.0
19 stars 18 forks source link

Add utility class to help change the factory for ERXEC.newEditingContext #34

Closed hprange closed 10 years ago

hprange commented 10 years ago

When we want to test code that makes use of ERXEC.newEditingContext, we need to provide a custom editing context factory that returns either a MockEditingContext or a TemporaryEditingContext. WOUnit could provide an easier way of doing this.