Search results for 'moq'

Testing ASP.NET Core Controllers in Isolation with Mock Objects and Moq In previous posts we saw how to get started testing ASP.NET Core MVC controllers and also how to use Type: Post
Tags : testing, .net core, xunit.net, asp.net core, mocking
http://dontcodetired.com/blog/post/Testing-ASPNET-Core-Controllers-in-Isolation-with-Mock-Objects-and-Moq
Mocking in .NET Core Tests with Moq When writing automated tests it is sometimes useful to isolate the thing(s) being tested from other Type: Post
Tags : testing, .net, .net core, mocking
http://dontcodetired.com/blog/post/Mocking-in-NET-Core-Tests-with-Moq
Setting Up Mock ref Return Values in Moq "I recently received a message related to my Mocking in .NET Core Unit Tests with Moq: Getting Started Pluralsight course asking how to set the values of ref parameters. As a (somewhat contrived) examp ..." Type: Post
Tags : mocking, testing, qa, xunit.net
http://dontcodetired.com/blog/post/Setting-Up-Mock-ref-Return-Values-in-Moq
Getting Started with MoqaLate Mocking in Windows Store Apps "Just knocked up this quick and dirty video explaining how to set up MoqaLate in a Windows Store app solution. You can find out more about MoqaLate on the MoqaLate project home page." Type: Post
Tags : windows 8 apps, windows 8, winrt, testing, tdd, moqalate
http://dontcodetired.com/blog/post/Getting-Started-with-MoqaLate-Mocking-in-Windows-Store-Apps
Mocking Framework for Windows Store apps (and Windows Phone) "With Windows Store apps there are challenges getting traditional mocking frameworks such as Rhino and Moq working due to limited reflection support in the platform (presumably for security reasons). I ..." Type: Post
Tags : tdd, windows 8, windows 8 apps, winrt, mocking, testing
http://dontcodetired.com/blog/post/Mocking-Framework-for-Windows-Store-apps-(and-Windows-Phone)
Azure Functions Continuous Deployment with Azure Pipelines: Part 5 - Adding Unit Tests "This is the fifth part in a series demonstrating how to setup continuous deployment of an Azure Functions App using Azure DevOps build and release pipelines. Demo app source code is available on GitHu ..." Type: Post
Tags : funcpipeseries, azure, azuredevops, azure functions, c#
http://dontcodetired.com/blog/post/Azure-Functions-Continuous-Deployment-with-Azure-Pipelines-Part-5-Adding-Unit-Tests
Mocking HttpRequest Body Content When Testing Azure Function HTTP Trigger Functions "When creating Azure Functions that are triggered by an HTTP request, you may want to write unit tests for the function Run method. These unit tests can be executed outside of the Azure Functions runti ..." Type: Post
Tags : testing, xunit.net, mocking, azure functions
http://dontcodetired.com/blog/post/Mocking-HttpRequest-Body-Content-When-Testing-Azure-Function-HTTP-Trigger-Functions
Introducing (probably) The World's Only Mocking Framework for Windows Phone 7 (WP7) "Introducing MoqaLate Whilst I love developing apps for Windows Phone 7, the testing aspect is hard! I'm a TDD-er by default and it's such a pain to have to hand roll my own mock objects. ..." Type: Post
Tags : windows phone 7, wp7, c#, testing, tdd, mocking, moqalate
http://dontcodetired.com/blog/post/Introducing-(probably)-The-Worlds-Only-Mocking-Framework-for-Windows-Phone-7-(WP7)
Mocking with FeatureToggle "I was asked a question on Twitter so I thought I’d write it up here. When using the FeatureToggle library you may have some some code that behaves differently if a toggle is enabled. When writing a te ..." Type: Post
Tags : mocking, testing, featuretoggle, c#
http://dontcodetired.com/blog/post/Mocking-with-FeatureToggle
Testing ASP.NET Core MVC Controllers: Getting Started "When writing ASP.NET Core MVC web applications, you may want to test that controller actions behave in the expected way, for example that the action returns the correct result type (e.g. a ViewResult) ..." Type: Post
Tags : testing, .net core, xunit.net, asp.net core
http://dontcodetired.com/blog/post/Testing-ASPNET-Core-MVC-Controllers-Getting-Started
Februaries Windows 7 Phone Roundup "http://blogs.msdn.com/b/astebner/archive/2012/02/27/10273543.aspx "The Windows Phone SDK 7.1.1 Update – CTP provides a new 256 MB device emulator image and an updated 512 MB emulator, ..." Type: Post
Tags : windows phone 7, wp7
http://dontcodetired.com/blog/post/Februaries-Windows-7-Phone-Roundup