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

Use local-variables to define categories and traits or customize test's name #441

Closed
Seddryck opened this issue Jan 5, 2019 · 1 comment

Comments

@Seddryck
Copy link
Owner

Seddryck commented Jan 5, 2019

It would be interesting to be able to define categories or traits based on the actual value of the local-variable. As local-variables are evaluated at load-time, there is no blocking point to implement this.

<test name="~My super test for {@time:MMM}">
  <instance-settling>
    <local-variable name="time">…</local-variable>
    <categorie>@time</categorie>
    <categorie>~{@time:MMM}</categorie>
    <trait name="year">~{@time:YYYY}</trait>
  </instance-settling>
  ...
</test>
@Seddryck Seddryck added this to the v1.20 milestone Jan 5, 2019
@Seddryck Seddryck changed the title Use local-variables to define categories and traits Use local-variables to define categories and traits or customize title Jan 5, 2019
@Seddryck Seddryck changed the title Use local-variables to define categories and traits or customize title Use local-variables to define categories and traits or customize test's name Jan 5, 2019
@Seddryck
Copy link
Owner Author

Seddryck commented Jan 6, 2019

Beta available at https://ci.appveyor.com/project/Seddryck/nbi/builds/21422019/artifacts (1.20.0-beta.56)

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

No branches or pull requests

1 participant