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

Nothing happens after test run with xUnit #38

Closed
ElenaMorane opened this issue Dec 10, 2020 · 9 comments
Closed

Nothing happens after test run with xUnit #38

ElenaMorane opened this issue Dec 10, 2020 · 9 comments
Labels
runsettings reflection waiting for feedback Need feedback or more information

Comments

@ElenaMorane
Copy link

Installed product versions

  • Visual Studio: 2019 Professional
  • xUnit: 2.4.1
  • Xamarin Forms: 4.8

Description

After running a test successfully no line with
_Fine Code Coverage =============START==========
appears in the output window and also the Fine Code Coverage windows stays empty.
Did i not installed and/or initialized somthing? Or does the extension not work with Xamarin and/or xUnit?

@FortuneN
Copy link
Owner

Please attach a repro

@FortuneN FortuneN added the waiting for feedback Need feedback or more information label Dec 10, 2020
@ElenaMorane
Copy link
Author

Hmmm .... strange ... after a few days it works now ... don't know why .... really cool ... thanks a lot ... you earned the support :-)

@ElenaMorane
Copy link
Author

Is there any possibility to support you, withourt paying so much fee's like in paypal?

@FortuneN
Copy link
Owner

I have these options (but they all go through PayPal. I'm open to ideas)

I think i know why, it seems to not work at first and i will be handling it soon.
->The contents of the folder 'C:\Users<USERNAME>\AppData\Local\FineCodeCoverage' are downloaded separately and because i don't yet display that progress on the UI, it creates this scenario where you may start using the tools before the download completes in the background. When it finally completes then 'it works now'

@bilalpandor
Copy link

Im seeing the same issue (it seems to be the same issue, which is why I havent opened another issue ticket).
Downloaded the extension yesterday. The tab is visible in VS but it's completely empty. Running my test suites has no effect.

I have also checked the folder mentioned above (C:\Users\AppData\Local\FineCodeCoverage) and it does seem to have downloaded some of the files required (although I don't know if the download is complete).

Any help with this would be great. Thanks

@FortuneN
Copy link
Owner

FortuneN commented Dec 23, 2020

@bilalpandor Is there a log in the build output window?
Something that starts with:

Fine Code Coverage : ================ START ====================
...

@scrow-gss
Copy link

I am getting the same error. Here is the text in the output window:

Fine Code Coverage : ================================== START ==================================

Fine Code Coverage : Error processing unit test events
System.NullReferenceException: Object reference not set to an instance of an object.
at FineCodeCoverage.Impl.RunSettingsRetriever.GetAndUpdateSolutionRunSettingsFilePath() in C:\projects\finecodecoverage\FineCodeCoverage\Impl\RunSettingsRetriever.cs:line 27
at FineCodeCoverage.Impl.RunSettingsRetriever.GetDefaultRunSettingsFilePath() in C:\projects\finecodecoverage\FineCodeCoverage\Impl\RunSettingsRetriever.cs:line 42
at FineCodeCoverage.Impl.RunSettingsRetriever.d__1.MoveNext() in C:\projects\finecodecoverage\FineCodeCoverage\Impl\RunSettingsRetriever.cs:line 12
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()
at FineCodeCoverage.Impl.TestContainerDiscoverer.OperationState_StateChanged(Object sender, OperationStateChangedEventArgs e) in C:\projects\finecodecoverage\FineCodeCoverage\Impl\TestContainerDiscoverer.cs:line 171

@tonyhallett
Copy link
Collaborator

@scrow-gss
Did your problem get resolved ?

@nytokyr
Copy link

nytokyr commented Feb 16, 2021

Had the same issue on Vs 2019 Community.
Anyway, after rebooting PC, it works !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
runsettings reflection waiting for feedback Need feedback or more information
Projects
None yet
Development

No branches or pull requests

6 participants