{"action":"created","issue":{"url":"https://api.github.com/repos/Moq/moq4/issues/230","labels_url":"https://api.github.com/repos/Moq/moq4/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/Moq/moq4/issues/230/comments","events_url":"https://api.github.com/repos/Moq/moq4/issues/230/events","html_url":"https://github.com/Moq/moq4/issues/230","id":123668341,"number":230,"title":"Worthwhile to add in Quickstart?","user":{"login":"sethdorris","id":12013667,"avatar_url":"https://avatars.githubusercontent.com/u/12013667?v=3","gravatar_id":"","url":"https://api.github.com/users/sethdorris","html_url":"https://github.com/sethdorris","followers_url":"https://api.github.com/users/sethdorris/followers","following_url":"https://api.github.com/users/sethdorris/following{/other_user}","gists_url":"https://api.github.com/users/sethdorris/gists{/gist_id}","starred_url":"https://api.github.com/users/sethdorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethdorris/subscriptions","organizations_url":"https://api.github.com/users/sethdorris/orgs","repos_url":"https://api.github.com/users/sethdorris/repos","events_url":"https://api.github.com/users/sethdorris/events{/privacy}","received_events_url":"https://api.github.com/users/sethdorris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-23T14:27:45Z","updated_at":"2015-12-28T17:00:33Z","closed_at":null,"body":"## Suggestion for Adding to QuickStart Guide \r\n\r\n### A Beginners Guide to Mocking and why \r\n\r\nProposed Table of Contents\r\n### 1. Use Cases\r\nA. Context Mocking\r\nB. Repo Mocking\r\nC.  DBSets Mocking\r\n\r\n### 2. Setting up your Mocks\r\nA. Mock Context\r\nB. Mock Repo\r\nC. Mock Sets\r\n\r\n### 3.  Test Setup and Cleanup\r\n-Why and how   \r\n\r\n...etc \r\n\r\nWould implementing a beginners guide to mocking be something that should be done, as I found it difficult to know where to begin for mocking and what I needed to mock when I first started mocking.\r\n\r\nThe moq docs are good, but I think geared more towards users with mocking experience?\r\n\r\nIf this would be something perceived as value added, it is something that I could work on..?"},"comment":{"url":"https://api.github.com/repos/Moq/moq4/issues/comments/167603558","html_url":"https://github.com/Moq/moq4/issues/230#issuecomment-167603558","issue_url":"https://api.github.com/repos/Moq/moq4/issues/230","id":167603558,"user":{"login":"kzu","id":169707,"avatar_url":"https://avatars.githubusercontent.com/u/169707?v=3","gravatar_id":"","url":"https://api.github.com/users/kzu","html_url":"https://github.com/kzu","followers_url":"https://api.github.com/users/kzu/followers","following_url":"https://api.github.com/users/kzu/following{/other_user}","gists_url":"https://api.github.com/users/kzu/gists{/gist_id}","starred_url":"https://api.github.com/users/kzu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzu/subscriptions","organizations_url":"https://api.github.com/users/kzu/orgs","repos_url":"https://api.github.com/users/kzu/repos","events_url":"https://api.github.com/users/kzu/events{/privacy}","received_events_url":"https://api.github.com/users/kzu/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T17:00:33Z","updated_at":"2015-12-28T17:00:33Z","body":"The build errors are due to the usage of MSTest. I'd switch to xunit, since\nthat's what Moq source itself uses.\n\nAlso, what do you guys think about making this part of the Wiki? Or maybe\neven the moq.github.io Github pages instead?\n\nOn Mon, Dec 28, 2015 at 1:18 PM TJSoftware <notifications@github.com> wrote:\n\n> @sethdorris <https://github.com/sethdorris> Sorry for the slow response,\n> holiday break ;). I started going through your example.\n>\n>    1. I think your formatting looks nice\n>    2. I like the external references, they will be helpful to new users.\n>    3. Where new users may get lost is the references you have that you do\n>    not show in the example, for example MyContext and MySet will need\n>    some prior knowledge to create. The example can have this later on.\n>    4. I am using DNX (.Net 5 library) and I think that changes the\n>    attributes. Only having used XUnit and a few others like that I am not sure\n>    if this is a change or not. I am unable to find a package for\n>    Microsoft.VisualStudio.TestTools.UnitTesting\n>    <https://www.nuget.org/packages?q=Microsoft.VisualStudio.TestTools.UnitTesting>\n>    on NuGet. The dependencies that I am using are in screenshot 1, I see\n>    several build errors, see screenshot 2.\n>    5. I think this is a great tutorial, perhaps the step after a Hello\n>    World tutorial. Unit Testing can be used for more than just database\n>    testing, I agree that it is a primary use and that the purpose is to\n>    prevent modification of the dependency. Your dependency may be a flat file,\n>    an office file, or any other resource that you wish to mock.\n>\n> Screenshot 1\n>\n> [image: image]\n> <https://cloud.githubusercontent.com/assets/4823412/12021210/8728eb52-ad41-11e5-9aff-0012ffadaa27.png>\n> Screenshot 2\n>\n> [image: image]\n> <https://cloud.githubusercontent.com/assets/4823412/12021130/a240561a-ad40-11e5-9ed8-22ba3430ac73.png>\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Moq/moq4/issues/230#issuecomment-167597136>.\n>\n"}}