Hello all!
Just joined the JUnit group today and I have a question that can't
seem to be answered from the FAQ or previous messages.
I am the lone tester of an in-house application that will use various
objects to manipulate an SDF file and eventually output print or pdf
files. The development team has created test cases for each object,
but has hardcoded parameters into each test case. The actual objects
essentially take a hash as a parameter specific to that object as
instructions for what to do.
My problem is this. Before development moves along much further, I
would like to take the test harnesses for each object and remove the
hardcoding from them. Each test harness should still be able to be
run individually as it's own test, but I'm looking to the future as
well, when we have the potential to do nightly builds and will want to
run all of the test harnesses as a suite together. This definitely
cannot happen if any hardcoding exists, but there needs to be some
external way to pass each object the information specific to it only
to test. I don't want to create a properties/configuration file for
each object, as many of of the objects can re-use the same sdf file,
logger, and other config files.
Any suggestions?
Thanks,
Allen Reinmeyer
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/junit/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
