Thoughts on client storage testing
Brent Putman
putmanb at georgetown.edu
Fri Sep 25 16:05:07 EDT 2015
On 9/25/15 3:59 PM, Tom Zeller wrote:
>
> Well that’s the thing. They’re aren’t that many tests, but they all basically need to agree on the number and type of method parameters, it seems, when using the same DataProvider to provide the ... parameters/data to each test method.
Yes that is true. It's basically doing reflection, so the inner
Object[] has to match the args of method signature.
> Code find/replace is not a big deal, I guess my thinking is that coding to Object[][] is a fairly _general_ API ;-)
That is true. By "involved" I meant the use of some complex tree of
BaseContext. I think you probably should have something like the
ServerConfig and BrowserConfig. That at least encapsulates the 2 types
of data. If those change their fields, etc, that at least won't break
the test method signatures. Although methods may have to change to pick
up the new/changed data.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150925/caa571e8/attachment.html>
More information about the dev
mailing list