Search results for 'xunit'

Running and Filtering Tests with the .NET Core Command Line Test Runner "In a previous article we saw how to use Visual Studio’s Test Explorer to filter and run subsets of automated tests. If we’re working with .NET Core, in addition to using Test Explorer (or other 3rd pa ..." Type: Post http://dontcodetired.com/blog/post/Running-and-Filtering-Tests-with-the-NET-Core-Command-Line-Test-Runner
Quick-Start Guide To Using xUnit To Test Your Windows 8 WinRT Store app "Until xUnit officially supports* Windows store apps you can get xUnit working with your WinRT app by doing the following: In Visual Studio 2012, go to Tools menu, Extensions and Updates; search for an ..." Type: Post
Tags : windows 8 apps, windows 8, apps, xunit, testing
http://dontcodetired.com/blog/post/Quick-Start-Guide-To-Using-xUnit-To-Test-Your-Windows-8-WinRT-Store-app
Asserting the Results of Tests in xUnit.net "The below is an excerpt from the latest chapter “An Introduction to Unit Testing With xUnit.net” from my book Keeping Software Soft.   xUnit.net provides a number of ways for checking (asserting) ..." Type: Post
Tags : xunit, testing
http://dontcodetired.com/blog/post/Asserting-the-Results-of-Tests-in-xUnitnet
Creating Inline Data Driven Tests in xUnit "xUnit.net allows the creation of data-driven tests. These kind of tests get their test data from outside the test method code via parameters added to the test method signature. Say we had to test a Ca ..." Type: Post
Tags : xunit, .net, c#, testing, tdd, quality
http://dontcodetired.com/blog/post/Creating-Inline-Data-Driven-Tests-in-xUnit
Getting Started Testing .NET Core Code with xUnit.net "xUnit.net is a testing framework that can be used to write automated tests for .NET (full) framework and also .NET Core. To get started, first create a .NET Core application, in the following example ..." Type: Post
Tags : .net, .net core, xunit.net, testing, quality, C#
http://dontcodetired.com/blog/post/Getting-Started-Testing-NET-Core-Code-with-xUnitnet
Learning xUnit .NET Unit Testing the Easy Way "If you’re getting started with .NET or you’ve done some testing but want to know how to put it all together and also learn some additional tools then the new xUnit.net testing path from Pluralsight ma ..." Type: Post
Tags : testing, profession, personal development, .net, xunit.net
http://dontcodetired.com/blog/post/Learning-xUnit-NET-Unit-Testing-the-Easy-Way
Testing for Thrown Exceptions in xUnit.net When writing tests it is sometimes useful to check that the correct exceptions are thrown at the exp Type: Post
Tags : xunit.net, testing, qa, c#
http://dontcodetired.com/blog/post/Testing-for-Thrown-Exceptions-in-xUnitnet
New Pluralsight Course: The xUnit.net Testing Framework "My latest Pluralsight course on the xUnit.net testing framework has just been released. Course Description Learn the latest in unit testing technology for C#, VB.NET (and other .NET languages) created ..." Type: Post
Tags : xunit, .net, c#, pluralsight courses, testing, tdd, quality, autofixture, automocking
http://dontcodetired.com/blog/post/New-Pluralsight-Course-The-xUnitnet-Testing-Framework
xUnit.net Cheat Sheet "To help people get started with xUnit.net and as an accompaniment to my  Pluralsight xUnit.net training course I thought I’d create a cheat sheet showing common assert methods and attributes. Hop ..." Type: Post
Tags : xunit, .net, c#, testing, tdd, quality
http://dontcodetired.com/blog/post/xUnitnet-Cheat-Sheet
xUnit.net 2 Cheat Sheet "To compliment the release of my Testing .NET Code with xUnit.net 2 Pluralsight course, I’ve updated my original xUnit.net cheat sheet. (To download just right-click, save-as)" Type: Post
Tags : xunit, .net, c#, testing, tdd, quality
http://dontcodetired.com/blog/post/xUnitnet-2-Cheat-Sheet
Diagnosing Failing Tests More Easily and Improving Test Code Readability "Sometimes the assertions that come bundled with a testing framework are suboptimal in that they do not provide test failure messages that allow easier understanding of why/where the test failed. If th ..." Type: Post
Tags : testing, .net, .net core, C#
http://dontcodetired.com/blog/post/Diagnosing-Failing-Tests-More-Easily-and-Improving-Test-Code-Readability
An Update on Keeping Software Soft "I’m writing my first ever book calling Keeping Software Soft. I just published 3 new chapters: Technical Debt Software Craftsmanship, Professionalism, and Personal Development What Programmers Want a ..." Type: Post
Tags : keeping software soft, writing
http://dontcodetired.com/blog/post/An-Update-on-Keeping-Software-Soft
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
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
New Pluralsight Course - Better .NET Unit Tests with AutoFixture "My new Pluralsight testing course was just released: Better .NET Unit Tests with AutoFixture: Get Started. AutoFixture is an open source library that allows the simplification of automated .NET tests. ..." Type: Post
Tags : autofixture, testing, .net, pluralsight courses
http://dontcodetired.com/blog/post/New-Pluralsight-Course-Better-NET-Unit-Tests-with-AutoFixture
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)
Unit Testing C# File Access Code with System.IO.Abstractions "It can be difficult  to write unit tests for code that accesses the file system. It’s possible to write integration tests that read in an actual file from the file system, do some processing, and ..." Type: Post
Tags : c#, testing, xunit.net, qa, .net
http://dontcodetired.com/blog/post/Unit-Testing-C-File-Access-Code-with-SystemIOAbstractions
In Process Http Server for Integration Test Faking with Owin, Katana, and WebAPI "Sometimes when integration testing we need an HTTP endpoint. We can set one up in our solution (for example a Web Api project) and make sure it’s running before we execute our integration tests but it ..." Type: Post
Tags : testing, asp.net, owin, katana, web api
http://dontcodetired.com/blog/post/In-Process-Http-Server-for-Integration-Test-Faking-with-Owin-Katana-and-WebAPI
50 Apps by Christmas: SilverKeys - Porting a Silverlight App to a Windows Store App "This article is part of the 50 Apps by Christmas series. I developed a Silverlight app a few years ago and I wanted to see how easy it would be to port to a Windows Store app. You can download free t ..." Type: Post
Tags : silverlight, windows 8 apps, windows 8, winrt, windows phone, 50appsbychristmas2013, portable class library, rhinomocks
http://dontcodetired.com/blog/post/50-Apps-by-Christmas-SilverKeys-Porting-a-Silverlight-App-to-a-Windows-Store-App
Beyond the Compiler with ConventionTests "We often have conventions in our code. For example all DTOs/entity/etc. classes should be in a specific namespace, or the name of certain types of class should end with a given word. Another example, ..." Type: Post
Tags : conventiontests, teststack, c#, testing
http://dontcodetired.com/blog/post/Beyond-the-Compiler-with-ConventionTests