| Issue 3: | Adding parameters to @Prerequisite | |
| Back to list |
Sign in to add a comment
|
Currently, JUnitExt supports only prerequisite methods with signature: public boolean aPrereqMethod () What is the expected output? What do you see instead? It would be nice to be able to pass in a parameter into the methods, such as public boolean aPrereqMethod (String someString) This way, the method can be used for different test methods with different flag/string input. What version of the product are you using? On what operating system? JUnit 4.1, junitext-0.2.0 Thanks, Vietchau |
||||||||||
,
Dec 15, 2006
Will add an optional annotation attribute for "parameters", 1 or probably a list of. The runner will try to match it to a method via reflection based on types.
Status: Accepted
Owner: jo.hiller Labels: -Type-Defect Type-Enhancement |
|||||||||||
,
Jan 04, 2007
Implemented in JUnitExt 0.2.1. For more details, see www.junitext.org and documentation, samples.
Status: Fixed
|
|||||||||||
|
|
|||||||||||