I am working on test software and am changing from Python to Java. I am looking for a tool/library/etc that would allow me to run 'methods/tests' in sequence with data potentially shared between them. BDD provides something like this but the extra plumbing: 'regexes and files mapping regexes to code' is too much in my opinion. I'd love to just be able to do something like:
instanceOfClass.testMethodX(param1, param2)
instanceOfClass2.testMethodA(param1, param2, param3)
instanceOfClass3.testMethodZ(param1)
And write my own logic regarding the code that 'surrounds' these calls: exception handling, results logging, etc
Does anyone know of something other that just using reflection and writing it all myself?
Thanks very much in advance!
Aucun commentaire:
Enregistrer un commentaire