Testing can be problematic for devs who just want to code and leave the testing to specialists, but many have to DIY. These tools help with that.
Really, you only need to do two kinds of testing: Unit testing (to make sure that your individual components work) and end-to-end testing (to make sure your application works). Anything else is just a waste of your time.
Microsoft's HockeyApp -- the strange-sounding tool for continuously building, testing, releasing and monitoring apps -- has scored its last goal, being retired and sent to the permanent bench in favor of Visual Studio App Center.
Microsoft has boosted the functionality of its GitHub Actions, automated workflows for the sprawling open source code repository and development platform it acquired in 2018.
Visual Studio App Center, a mobile-centric resource for building, testing, releasing and monitoring apps, now supports WPF and WinForms desktop development.
A new Test Explorer highlights the February release of the Python extension for Visual Studio Code, by far the most popular tool in the marketplace, installed more than 6.5 million times.
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
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
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
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.