Refer to active test category in custom test_script

uranusjr's Avatar

uranusjr

27 Mar, 2018 02:24 AM

Test categories are pretty handle to split up a large test suite, but how can I use it with a custom test script? It would be pretty nice if they are available in an environment variable or something.

  1. Support Staff 1 Posted by Ilya Finkelshte... on 27 Mar, 2018 07:34 PM

    Ilya Finkelshteyn's Avatar

    AppVeyor does not have a knowledge about test categories you introduced in your test code. You can add those environment variables yourself and set them to respective values.

    But I am not sure I am actually answering your question. Can you please elaborate your scenario and problem with more details?

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:27 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac