Skip to main content
brian_thomas2
Adobe Employee
Adobe Employee
Jan 20, 2010 2:42 AM UTC
Question

Parameterized Requests

I would like to be able to build Request objects that are coupled with a parameter. This parameter would then be provided to the constructor of the test class or as a parameter to the test method.

<br/>

Please correct me if I'm missing an alternate solution, but it looks to me that I'll need to extend FlexUnit in order to accomplish this. I am willing to do this work and try to contribute it back to the project. Before I start running amok in the code, has there been any discussion of adding a feature like this before? Is there an ideal implementation method I should use in order to make sure it can be contributed back?

<br/>

Thanks!
Brian Thomas
This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Participating Frequently
Jan 22, 2010 2:37 AM UTC

Brian,

Just as a point of discussion, I was planning to allow people to instantiate their own test cases if they wanted and then pass an instance instead of a class into Requests. You can actually see a bit of this implementation in the code, but it is not fleshed out by any means. Thoughts on this type of solution?

Mike

Translate
brian_thomas2
Adobe Employee
Adobe Employee
Jan 22, 2010 7:53 PM UTC

Mike,

This sounds like it would be easily sufficient for my use case. Does this sit anywhere on the current FU4 roadmap? At the moment I've put together a workaround using our homebrew Parameterized implementation.

Thanks,

Brian

Translate
Participating Frequently
Jan 23, 2010 12:25 AM UTC

It isn't officially on the map, but let me refresh myself on the implementation and how far along it was. It might be a very easy addition

Translate