> The remaining open issue for the test runner which kind of puzzled me was
> some way to pass properties to the InitialContext.

The config file option to the @TestContext is a resource URI to a
properties file, which gets loaded and passed on to the
InitialContext.

> We could have a
> @Properties or @Options annotation. But the tradeoff there is you can't
> change the properties per test method -- it'd be static per test class.  The
> other is maybe an annotation you could put on a field of type Properties (or
> method that returns properties).  Not sure, neither really have that "that's
> perfect" feel to them.  Need some real out of the box thinking.  I'm sure
> there's a good technique just waiting to be discovered.

Yes. These did cross my mind, both the @Properties annotation for
properties, as well as PER test configuration, and to me they didn't
feel right either. Will see if I can come up with something.

>
>> For interest sake, did the attachment go through?
>
> Yes it did.  We can't take code over email though for licensing reasons.
>  You need to file a jira and be sure to check the box that says you agree to
> have it licensed ASL.
>

Will do.

Q

Reply via email to