<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 9/9/15 12:35 PM, Tom Zeller wrote:<br>
</div>
<blockquote
cite="mid:0DB40742-2C41-48D0-8E40-A283B49BDF09@dragonacea.biz"
type="cite">
<pre wrap="">
The idea is to run the existing tests with (a) local storage toggled on|off on the server and (b) local storage toggled on|off on the client. I don’t think the term “decision table” is correct, but I am thinking that (a) + (b) result in running 4 tests.
I am wondering how to implement running those 4 tests, with room to grow for additional “configuration dimensions”. Given TestNG, my thought is to represent (a) and (b) as objects returned by a TestNG DataProvider.
</pre>
</blockquote>
<br>
DataProvider definitely sounds like the right approach to me. This
is pretty much it's main use case: running a test multiple times
over different sets of input data.<br>
<br>
Fwiw, I used that in some security-related tests in OpenSAML to run
tests e.g. with BC loaded and unloaded, things like that.<br>
<br>
Outside of Shib, I've also used it in some Selenium integration and
load-testing use cases for our GU LMS, to pass in some of the same
data as you are, like browser/version/OS, as well as test different
users authenticated with different credentials.<br>
<br>
</body>
</html>