By default, tests in the new .NET Core testing framework (xUnit) are isolated. This is a good thing ... except when you need to create a single test environment that is used by multiple tests. Here's all the ways you can provide a single environment for a set of tests in xUnit.
There's a new testing framework in town. Here's how to use it.
There's a new kid in the Visual Studio testing environment, though it's only for your .NET Core projects. You don't have to use it, but here are some reasons you'll want to.
The Visual Studio App Center is previewing a new feature that adds more enterprise security to the app lifecycle management portal.
Microsoft's Jay Schmelzer shared the story of Microsoft's multi-year transition to DevOps and continuous delivery during his keynote at Visual Studio Live! Chicago. It all started, he told attendees, with a groundswell of discontent within the product engineering teams.
- By John K. Waters
- 09/20/2018
That understanding should drive how you deal with testing, including how to turn it into a value-added task.
Testing is a necessary but not a value-added task. To put it another way, while testing is something we have to do, our users would be just as happy if we could produce quality software without it. Understanding that leads to a realistic approach to testing.
Back in the day, we'd write some code, compile, execute, see what happened and repeat. That was testing. (Sometimes that's still what testing looks like, for better or worse.) Today, we can do a lot better.
- By Terrence Dorsey
- 05/17/2018
Microsoft announced Visual Studio App Center, its cloud-based lifecycle management service for mobile and other apps, has partnered with the GitHub development platform for continuous integration and other services.
Visual Studio Code developers have asked for support for more test frameworks and Microsoft said it has responded in kind, announcing initial support for JUnit 5 this week, along with other Java-related features.
After a public preview, Microsoft has renamed and officially launched its "mission control" service for mobile apps, now called Visual Studio App Center.
Premature optimization may be the root of all evil, but these tools will make sure your code is clear, clean and secure.
- By Terrence Dorsey
- 10/26/2017
Sometimes what you want to test is how your Action method behaves when it's invoked through an AJAX call. Here's how to mock up that call using Moq.
Those days are long gone, but Microsoft was at one time a notorious anti-open source company. It's turned that notion upside down within a decade, and is now a member of several foundations whose purposes are to steer open source development deep into the cloud.
- By Michael Domingo
- 07/28/2017
With the fall release of Windows 10 Fall Creators Update, developers will be able to get full support for WSL, now that it's no longer labeled a beta service.
- By Michael Domingo
- 07/28/2017
Test, test and test again. You can automate those tests with a TestServer-based Web app that doesn't even touch the Web server.
- By Jason Roberts
- 07/27/2017
An update to this VS Code extension allows for locally running and debugging code prior to pushing code to production Azure services.
- By Michael Domingo
- 07/26/2017
Update 2 is now out, and with enhancements to Delivery Plans and a more simplified Work Item search capability comes more pull request and git improvements, and a new build definition editor.
- By Michael Domingo
- 07/25/2017
Windows Template Studio, the wizard-based coding engine for Windows 10 UWP apps, gains momentum with a newer point release this week. Also, in this week's .NET Insight Podcast, we ask: Who are your programming heroes?
- By Michael Domingo
- 06/30/2017
It's the third preview for VS 2017 15.3, which sports mostly fit-and-finish improvements of many user-reported issues, and second preview for the .NET/ASP.NET/Entity Framework Core 2.0 trio.
- By Michael Domingo
- 06/29/2017