Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run tests using "Open Cover Test Explorer" #135

Open
gaurarpit12 opened this issue Jul 20, 2016 · 7 comments
Open

Unable to run tests using "Open Cover Test Explorer" #135

gaurarpit12 opened this issue Jul 20, 2016 · 7 comments

Comments

@gaurarpit12
Copy link

Through normal "Test Explorer Window", test cases are running. But unable to run the same using "Open Cover Test Explorer".

@gaurarpit12
Copy link
Author

Could anyone be assigned to this issue?

@sawilde
Copy link
Contributor

sawilde commented Jul 22, 2016

Could anyone be assigned to this issue?

People work on software like OpenCover and OpenCover Test Explorer (OCTE) in their own time and for free and so you can't expect instant support as they may have more urgent things to deal with i.e. work, home etc.

In the meanwhile you need to provide as much detail as you can about what the issue is i.e.

  1. What version are you running?
  2. What have you tried so far?
  3. Have you checked the settings?
  4. Anything you think may be useful.

Think, as a developer yourself, if someone came to you with the above 'issue' what questions would you ask them to help you resolve it. Then provide those answers along with your issue.

I hope this helps.

PS. I haven't worked on OCTE for quite some time so I'll leave any support to the guys themselves unless the answer is obvious but I can only know that if there is enough information to work from.

@alecpirillo
Copy link

alecpirillo commented Sep 27, 2016

This issue was not hard to reproduce at all - just running the latest version of the tools would reveal the repo steps.

.NET 4.5.2 project
OpenCoverUi 0.8.1
OpenCover 4.6.519 (nuget)
nUnit.runner 3.4.1 (nuget)

Creates the test folders and related .txt file, but no tests are actually run and no results shown. No error in console or popup. VS 2015 with latest updates.

@MelleKoning
Copy link
Contributor

Hi,

I do not see nunit-test results, but I do see MSTest results.

Using:
OpenCover (latest build)
OpenCover.UI (latest build)
Nunit3.5

Note that when running one of the NUnit tests, OpenCover.UI asked me the location of nunit-console.exe

This does not exist anymore, with the latest NUnit 3.5 this is renamed to:
nunit3-console.exe (note the 3 in the filename).

I really like the tool, it works for MSTests, but for some reason not for NUnit tests.

How can I investigate further what might be causing this? I tried looking in the output in the apps folder but I do not even see if it did run the NUnit tests at all, how can I see if it ran at all and if OpenCover could pick up the results?

image

@pver
Copy link
Contributor

pver commented Oct 6, 2016

Hi @MelleKoning , NUnit 3.x support is not released yet (see #102), but I've noticed you did some development based on the master branch. The masterbranch already has changes to support NUnit3.x, could you retest with your build from master, to see if that one runs the NUnit tests?

@pver
Copy link
Contributor

pver commented Oct 6, 2016

@gaurarpit12 since you didn't report any versions used, I assume you also try to run and cover NUnit 3.x tests?

@MelleKoning
Copy link
Contributor

Hi pver,

Yes, after uninstalling the released vsix and installing the one that I build latest from source on local machine I indeed started seeing NUnit 3.x test results as well.
I've also updated the pull request for the support of sub-sub-test classes, please have a look.

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

No branches or pull requests

5 participants