groovy.util
Class JavadocAssertionTestBuilder
java.lang.Object
groovy.util.JavadocAssertionTestBuilder
public class JavadocAssertionTestBuilder
extends Object
JavadocAssertionTestBuilder
will dynamically create a test cases from Groovy assertions placed within
the Javadoc comments of a source file. Assertions should be placed within an html tag with a class="groovyTestCase"
attribute assignment. Example:
<pre class="groovyTestCase"> assert "example".size() == 7 </pre>
- author:
- Merlyn Albery-Speyer
buildTest
public Class buildTest(String filename, String code)
-
Copyright © 2003-2010 The Codehaus. All rights reserved.