Refer to active test category in custom test_script

uranusjr's Avatar


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?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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