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

Custom TestCase Templates #2

tobiaszheller opened this issue May 9, 2017 · 2 comments

Custom TestCase Templates #2

tobiaszheller opened this issue May 9, 2017 · 2 comments


Copy link

It would be nice to have an option to add custom test case/suites templates from menu or using VI tester GUI. Right now there is only option to add the ones provided with VI tester.

Copy link

kosist commented Apr 9, 2018

This could solve issue #20 .
I guess implementation could be quite simple.
While adding new Test Case, there could be window with:

  • Test Case Name;
  • checkbox "Save to Project Folder?" (default: selected). If selected, then test case will be saved to root folder of the project, into the created folder. If not selected, then dialog window will appear to select folder to save test case;
  • path control "Test Case Template". And then:
    If it is empty, then no template is used (but default one).
    If it is not empty, then toolkit checks, if class is child of "TestCase.lvclass".
    If yes, then it'll be copied and used as template.
    If it is not in hierarchy of "TestCase.lvclass", then it will be not used (and promted to user) OR it could be set as child of "TestCase.lvclass".
    If it is in hierarchy of "TestCase.lvclass", but not its "direct" child, then possible to use it, but change inheritance to "TestCase.lvclass" OR copy it with all its parents hierarchy. This is something what I'm not sure...

Will it be OK, please @jimkring ? Could it be implemented like that?

Copy link

I think it would be better if it could be part of the context menu.

New Test >> Standard Template
New Test >> Wiresmith Template

etc. More complex installation but better developer experience.

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

No branches or pull requests

3 participants