-
Notifications
You must be signed in to change notification settings - Fork 41
IGraphClient class is not Mockable #65
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
Comments
Meh, the whole thing should really just be interfaced. I don't know why it wasn't in the first place (probably laziness). I don't really have time to work on this, but I guess it's always good to have more tests. I'll review a pr if you would care to interface the thing. |
@devanshgoenka97 and @BenjaBobs - The IGraphClient returns the concrete object of |
The code's been merged. I do have a question though, why would interfacing it not make it mockable? Both Moq and NSubstitute support creating mocks for interfaces. Since |
The issue isn't to mock Also could you build the project so that I can use the latest version on Nuget? |
I have zero experience, and right now I don't have time. I might have time to look at it this weekend. We really should get some ci/cd running. Do any of you have any experience with Azure Pipelines or other similar projects? |
Yes, @amigup and myself have experience with Azure Pipleline, and CI/CD in general |
Nice! So where does one start with getting that setup? I heard Azure Pipelines is free for open source so that seems like the obvious choice to me. |
You can setup a new Organization and start a new Project here |
Even though it's free, it still requires me to have my credit card hooked up, which I'm not too fond of since this is not even my repo. @evo-terren Any chance you can set this up? |
Sorry, guys. My company has completely pulled out of supporting this project and I also feel wary of throwing my personal credit card in there for a project I likely won't be working on (at least for the foreseeable future). |
Unfortunately, my company is also not very invested in this right now. |
@BenjaBobs and @evo-terren - If you can grant me access on this repository then I can try creating the build definition using my account. Please grant access to github user - amigup and microsoft live account - [email protected]. Also please grant access on published nuget.org package |
The
GraphResult
class is not available publicly and henceIGraphClient
is not Mockable, thus disabling the case to create Unit Tests for the sameThe text was updated successfully, but these errors were encountered: