Showing tag results for testing

Oct 30, 2017
Post comments count0
Post likes count0

Moving to real time test discovery in Test Explorer

KendraHavens

Real time test discovery is a new Visual Studio feature that uses a Roslyn analyzer to discover tests and populate the test explorer in real time without requiring you to build your project. This feature has been introduced in Visual Studio 2017 15.5 Preview 2 behind a feature flag. You can try it out by using the instructions in the next section. ...

.NET
Feb 15, 2011
Post comments count0
Post likes count0

SpinWait.SpinUntil for unit testing

Stephen Toub - MSFT

One of the hidden gems in .NET 4 is the System.Threading.SpinWait type.  This type is typically used for implementing lock-free solutions, and is used heavily throughout the rest of the threading and parallelism support in .NET 4.  That’s why I call it “hidden”, because most folks don’t implement their own lock-fre...

.NET Parallel Programming
Jan 15, 2008
Post comments count0
Post likes count0

Debugger display of PLINQ queries

Stephen Toub - MSFT

Sometimes very simple additions to an API or implementation make me happy.  One such nicety in the CTP of PLINQ is the implementation of ToString on the concrete types that represent query operators.  These implementations provide a textual representation of the query structure, which can be very nice for debugging purposes. Consider...

.NET Parallel Programming