My favorites | Sign in
Project Home Downloads Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 17: Support passing external parameters into the test framework.
2 people starred this issue and may be notified of changes. Back to list
 
Project Member Reported by jeff.br...@gmail.com, Aug 25, 2007
The idea is to have a data source attribute that can obtain an external
value provided by the test runner.

[BindExternal("CorporateDomainName", Description="The domain name of the
corporate site to be tested.  Varies between development and production
environments.", Default="dev.mycompany.com")]
public string corporateDomainName;

Aug 25, 2007
Project Member #1 jeff.br...@gmail.com
Possible implementation:

1. Add methods to TemplateTreeBuilder to register requests for external parameters.
2. Add properties to TestEnumerationOptions to provide values for external parameters.
3. During test construction, add an ExternalDataSource to the root
TemplateBindingScope with a special name like "External".
4. Implement [BindExternal] to look for the named parameter in the "External" data
source.
5. Expose external parameters in the TemplateModel.
6. Extend the test runners appropriately to be able to prompt for external parameter
values and pass them in.

Note: External parameters should allow lists of values to be passed in.  We'll just
construct more template bindings that way.
Oct 29, 2007
Project Member #2 jeff.br...@gmail.com
Also requires support from the Gallio test runners.
Labels: -Component-Framework Component-MbUnit
Dec 18, 2007
Project Member #3 jeff.br...@gmail.com
(No comment was entered for this change.)
Labels: -Priority-High -Milestone-3.0-a2 Priority-Low Milestone-3.0-a3
Mar 17, 2008
Project Member #4 jeff.br...@gmail.com
Might be superceded by test profiles.
Labels: -Milestone-3.0-a3 Milestone-3.1
Oct 5, 2008
Project Member #5 jeff.br...@gmail.com
(No comment was entered for this change.)
Labels: -Milestone-3.1 Milestone-3.0-beta
Nov 19, 2008
Project Member #6 jeff.br...@gmail.com
(No comment was entered for this change.)
Labels: Milestone-IdeaPool
May 23, 2009
Project Member #7 jeff.br...@gmail.com
(No comment was entered for this change.)
Labels: -Milestone-IdeaPool Milestone-3.0.8
Jun 29, 2009
Project Member #8 jeff.br...@gmail.com
(No comment was entered for this change.)
Labels: Milestone-3.2
Jul 17, 2010
Project Member #9 Yann.Tre...@gmail.com
(No comment was entered for this change.)
Labels: Milestone-3.3
Jun 13, 2011
Project Member #10 Yann.Tre...@gmail.com
(No comment was entered for this change.)
Labels: Milestone-IdeaPool
Apr 17, 2012
#11 itsmeNa...@gmail.com
Any ideas when this feature will be available in MBUnit?
Apr 18, 2012
Project Member #12 grahamr...@gmail.com
No work has been done on it, as far as I know. Do you have a use case?
Sign in to add a comment

Powered by Google Project Hosting