Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Can't run Foxtrot unit tests #70

Closed
SergeyTeplyakov opened this issue Jun 24, 2015 · 0 comments
Closed

Can't run Foxtrot unit tests #70

SergeyTeplyakov opened this issue Jun 24, 2015 · 0 comments
Assignees
Milestone

Comments

@SergeyTeplyakov
Copy link
Contributor

Maybe I'm doing something wrong, but I can't run any tests from Foxtroct/UnitTests project (VS2013, tried both - VS Test Runner and R#).

All of them are failing with an error: "Can't find the TestResults directory!!!" at RewrittenContractTests.cs:89.

AssemblyInitialize method should not use Directory.CurrentDirectory but should use context property of type TestContext to grab all the required information about TestResults folders etc.

@SergeyTeplyakov SergeyTeplyakov added this to the VS14 Support milestone Jun 24, 2015
SergeyTeplyakov added a commit to SergeyTeplyakov/CodeContracts that referenced this issue Jun 26, 2015
To run the unit tests you need to select testrunconfig. After that all
unit tests for rewriter (except 2) will pass.
Related issue: microsoft#70
SergeyTeplyakov added a commit to SergeyTeplyakov/CodeContracts that referenced this issue Jun 26, 2015
@SergeyTeplyakov SergeyTeplyakov self-assigned this Jul 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant