Skip to content

Fix test runner commands - runut.cmd and friends; PowerShell Invoke-OpenConsoleTests#2020

Merged
carlos-zamora merged 1 commit intomicrosoft:masterfrom
metathinker:fix-taef-path
Jul 18, 2019
Merged

Fix test runner commands - runut.cmd and friends; PowerShell Invoke-OpenConsoleTests#2020
carlos-zamora merged 1 commit intomicrosoft:masterfrom
metathinker:fix-taef-path

Conversation

@metathinker
Copy link
Contributor

Summary of the Pull Request

As above. Previously, these helper commands to run various test cases would fail with "path not found" errors without running any tests. Now, they work again.

Detailed Description of the Pull Request / Additional comments

The problem occurred because in commit 0905140 (PR #1164), we updated the version of the Taef.Redist.Wlk NuGet package for the TAEF test harness and framework. However, the helper commands hard-code the path to the TAEF executable, which because of NuGet's design includes the TAEF NuGet package version. The commands weren't updated to reflect the new TAEF version and so have been broken since then.

PR Checklist

  • Closes #xxx - no bug
  • CLA signed - N/A; I work for Microsoft
  • Tests added/passed
  • Requires documentation to be updated - N/A
  • I've discussed this with core contributors already

…sts)

In commit 0905140 (PR microsoft#1164),
we updated the version of the Taef.Redist.Wlk NuGet package
for the TAEF test harness and framework. However, the helper commands
to run the various test cases hard-code the path to the TAEF executable,
which because of NuGet's design includes the TAEF NuGet package version.
These commands weren't updated to reflect the new TAEF version
and so have been broken since then.

This commit fixes the issue and makes running tests possible again.
Copy link
Member

@zadjii-msft zadjii-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch - I don't think I saw this since I still had the old TAEF package laying around at that path, it just worked for me. Thanks for finding this!

@carlos-zamora carlos-zamora merged commit f1441a5 into microsoft:master Jul 18, 2019
mcpiroman pushed a commit to mcpiroman/terminal that referenced this pull request Jul 23, 2019
…sts) (microsoft#2020)

In commit 0905140 (PR microsoft#1164),
we updated the version of the Taef.Redist.Wlk NuGet package
for the TAEF test harness and framework. However, the helper commands
to run the various test cases hard-code the path to the TAEF executable,
which because of NuGet's design includes the TAEF NuGet package version.
These commands weren't updated to reflect the new TAEF version
and so have been broken since then.

This commit fixes the issue and makes running tests possible again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants