Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined Parameters #6

Open
KlausIllmayer opened this issue Oct 13, 2017 · 2 comments
Open

undefined Parameters #6

KlausIllmayer opened this issue Oct 13, 2017 · 2 comments
Labels

Comments

@KlausIllmayer
Copy link
Collaborator

Only a remark, needs more elaboration:

For the parameters it could be useful to define a constant that makes clear, that a parameter does not have a value (and I'm not sure if not setting a parameter is the best solution - I have to think about it), e.g. "undefined"

@laurentromary
Copy link
Contributor

Would it mean a default? (I see no mechanism in paramSpec)

@bansp
Copy link
Collaborator

bansp commented Oct 14, 2017

I'm not sure we need to set defaults at the stage of declaration of parameters -- we can maybe just react to "elsewhere" cases, i.e. iterate through the values we recognize, and elsewhere do something (or nothing). Maybe, Klaus, this is also a solution to the problem that produced this issue: if we have formatConversion(inputFormat:, outputFormat:XML), then in the relevant steps of the scenario, we just assume "plain text".

Myself, I've been struggling with the idea of what exactly we can expect from parameters and how they can be handled by the SSK. For example, whether we envision (i) cases when the end user of the SSK performs the action of choosing from a list of parameters presented to them inside a scenario, or whether rather (ii) this parameter-selection process takes place at the stage of defining higher-level scenarios that use parametrized lower-level scenarios. In the latter case, flow control doesn't bother us so much (a faulty scenario with wrong or absent parameters will be caught at an earlier stage than a faulty combination of parameters selected by a user would be caught). We should have some brainstorming on that...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants