You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
area-System.Reflectiongood first issueIssue should be easy to implement, good for first-time contributorshelp wanted[up-for-grabs] Good issue for external contributorsin-prThere is an active PR which will close this issue when it is mergedincrease-code-coverageTracking need to add more test and increase code coverage of a componenttest-enhancementImprovements of test source code
changed the title [-]Improve System.Reflection.Context.Tests code coverage[/-][+]Improve System.Reflection.Context.Tests code coverage (~35%)[/+]on Jun 15, 2018
I'd like to take this one on and add some tests. I'm following this guide to build and run the tests. Everything works fine from the command line, but when I try to run the tests in Visual Studio 2017 by setting the test project as startup and running it, I get an error saying a project with an output type of class library can't be started. The tests all show up in the test explorer, but when I try to run them it tells me: No test is available in corefx\bin\AnyOS.AnyCPU.Debug\System.Reflection.Context.Tests\netcoreapp\System.Reflection.Context.Tests.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
That does run the tests for me, but I could benefit from stepping through things. I'm not familiar with how System.Reflection.Context all works yet and I'm struggling a little without the debugger!
@mbrameld I sent you a collabor invite so that I can assign you to the issue. Please respond when you accepted it. Make sure to unfollow all the repos as they will be followed by default after you accepted. Otherwise you will get A LOT of emails 😁
Hello, in the coming week a group of people trying to gain experience with open source are going to be contributing to corefx. Issues that focus on increasing test coverage seem like a good place to start. How do I become a collaborator on this repo?
If you tell me all the github handles of people who are going to contribute I can add them now. Please make sure to unsubscribe from all the repos as being a members means auto-subscribing to 50+ repos which results in ~500 emails a day.
If you are looking for issue that are relatively easy for first-time-contributors, not just code-coverage, then I can make sure to label all appropriate issues till next week with the easy and up-for-grabs label. If your group is part of a Hackathon we can probably also support you in our Gitter channel to unblock you and make sure that you can work in a productive way. Our docs should be self-explanatory but some advanced topics like System.Private.CoreLib work in coreclr requires tend to cause troubles.
@JosieBigler definitely ok to submit PRs with more tests even if you plan to add more later. You will at least see feedback and potentially avoid some patterns/things that would not pass in code review in future.
In issues like these we do not shoot for PRs to "have it all".
@steveharter I pushed the PR, but got failures on different System Architectures that I wasn't expecting. And wanted to correct, and then got busy again. Let me do a pull from main again and push a draft PR to see the results.
area-System.Reflectiongood first issueIssue should be easy to implement, good for first-time contributorshelp wanted[up-for-grabs] Good issue for external contributorsin-prThere is an active PR which will close this issue when it is mergedincrease-code-coverageTracking need to add more test and increase code coverage of a componenttest-enhancementImprovements of test source code
Activity
[-]Improve System.Reflection.Context.Tests code coverage[/-][+]Improve System.Reflection.Context.Tests code coverage (~35%)[/+]mbrameld commentedon Aug 14, 2018
I'd like to take this one on and add some tests. I'm following this guide to build and run the tests. Everything works fine from the command line, but when I try to run the tests in Visual Studio 2017 by setting the test project as startup and running it, I get an error saying a project with an output type of class library can't be started. The tests all show up in the test explorer, but when I try to run them it tells me: No test is available in corefx\bin\AnyOS.AnyCPU.Debug\System.Reflection.Context.Tests\netcoreapp\System.Reflection.Context.Tests.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
Am I missing a step somewhere?
ViktorHofer commentedon Aug 14, 2018
Debugging is currently broken in VS: https://github.com/dotnet/corefx/issues/30913
But should be back in a few days (finger crossed).
mbrameld commentedon Aug 14, 2018
Ah, thanks! I'll keep an eye on that issue and come back to this one.
ViktorHofer commentedon Aug 14, 2018
Yeah, sure. Thanks a lot for the help! I'll keep you updated. But you don't really need VS. The easiest way to test is:
mbrameld commentedon Aug 14, 2018
That does run the tests for me, but I could benefit from stepping through things. I'm not familiar with how System.Reflection.Context all works yet and I'm struggling a little without the debugger!
ViktorHofer commentedon Aug 14, 2018
Understandable. I suggest to wait a few days then 👍
danmoseley commentedon Aug 14, 2018
Or add
while(!Debugger.IsAttached) Thread.Sleep(1000)to a test them attach VS at leisure?ViktorHofer commentedon Aug 14, 2018
Or simply a
Debugger.Break();ViktorHofer commentedon Aug 14, 2018
@mbrameld I sent you a collabor invite so that I can assign you to the issue. Please respond when you accepted it. Make sure to unfollow all the repos as they will be followed by default after you accepted. Otherwise you will get A LOT of emails 😁
mbrameld commentedon Aug 14, 2018
I accepted it, thank you!
ViktorHofer commentedon Aug 14, 2018
I flagged it as easy but it could me more of an intermediate level of work. If you have questions / need help, reach out :)
Adam25T commentedon Nov 27, 2018
Hello, in the coming week a group of people trying to gain experience with open source are going to be contributing to corefx. Issues that focus on increasing test coverage seem like a good place to start. How do I become a collaborator on this repo?
ViktorHofer commentedon Nov 27, 2018
Hi @Adam25T. Awesome, great to hear!! Few things:
easyandup-for-grabslabel. If your group is part of a Hackathon we can probably also support you in our Gitter channel to unblock you and make sure that you can work in a productive way. Our docs should be self-explanatory but some advanced topics like System.Private.CoreLib work in coreclr requires tend to cause troubles.cc @karelz @danmosemsft
26 remaining items
ViktorHofer commentedon Aug 12, 2022
Those are generated by the fantastic ReportGenerator tooling 👍
JosieBigler commentedon Sep 16, 2022
I'm still planning on working on this. Life has gotten busy >_>
Maybe I can PR what I have done so far? i've uped the code coverage to ~50% ish.
karelz commentedon Sep 16, 2022
@JosieBigler definitely ok to submit PRs with more tests even if you plan to add more later. You will at least see feedback and potentially avoid some patterns/things that would not pass in code review in future.
In issues like these we do not shoot for PRs to "have it all".
steveharter commentedon Nov 7, 2022
@JosieBigler I see that there was a PR for this that you closed -- was it incomplete?
If you are unable to finish that PR, we may use that as a base for this issue. Thanks
JosieBigler commentedon Nov 8, 2022
@steveharter I pushed the PR, but got failures on different System Architectures that I wasn't expecting. And wanted to correct, and then got busy again. Let me do a pull from
mainagain and push a draft PR to see the results.JosieBigler commentedon Nov 8, 2022
The current draft PR: #77999
aturnbul commentedon Sep 10, 2024
Is this still an open issue? If so, I'd like to help but with the caveat that I'm completely new to Open Source and to Testing in .NET.
Improve System.Reflection.Context.Tests code coverage from ~35% to 87% (