how can I add tests in the test tab?

rafae11's Avatar

rafae11

28 Oct, 2020 02:05 PM

Hi,

I have a powershell script that I'm calling from within the remote desktop

Add-AppveyorTest -Name "Integration Test" -Framework "MSTest" -FileName "Test.Harness.Integration.exe" -Outcome "Running"

I'm getting this exception.

Exception calling "AddTest" with "9" argument(s): "Environment variable APPVEYOR_API_URL with Build Runner API URL cannot be found."

  1. Support Staff 1 Posted by Feodor Fitsner on 28 Oct, 2020 05:35 PM

    Feodor Fitsner's Avatar

    Environment variables have build agent process scope and not available in RDP session. You can output the value of APPVEYOR_API_URL during the build though and then set it while in RDP session.

  2. rafae11 closed this discussion on 28 Oct, 2020 06:50 PM.

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