[Pyunit-interest] Using PyUnit with JPython to test-drive Java?
Brought to you by:
purcell
From: Tjitske H. <th...@nl...> - 2000-09-28 09:17:24
|
I'm currently using JPython to write unit-tests for a large Java = application. I prefer to use a scripting language such a JPython instead = of writing all the tests in Java itself. This works, but the cooperation between the scripts JPython and JUnit is = not perfect (e.g. exception handling). I would prefer to use PyUnit to = drive my Java classes.=20 In the doc it is suggested that this isn't possible, but why is that? = Has anyone found any workarounds for this? I found myself creating a = TestUnit subclass in JPython of the JUnit TestUnit Java class that = improves things a little, but probably someone else has been there = already... - Otto Perdeck |