Stories recently tagged with 'UnitTesting'

Unit Testing Html Helpers for ASP.NET MVC(blogs.teamb.com)

submitted by CraigStuntzCraigStuntz(438) 1 year, 4 months ago

How to write unit tests for HTML helpers (which might use HttpContext or ViewContext) without needing a mocking framework. read more...

add a comment |category: |Views: 38

tags: another

Nuclex Framework on CodePlex(nuclex.org)

submitted by CygonCygon(134) 2 years, 4 months ago

Nuclex.org has finally published their Nuclex Framework, a library of advanced building blocks for XNA game programming, as Open Source on CodePlex! Just some of the features: 3D Vector font rendering, multi-threaded particle system simulation, 3D SpriteBatch replacement, content compression using LZMA (7-Zip), graphical user interfaces with skin support, texture atlas creation, game state management, collision detection, C++' deque ported to C#, debug overlay renderer, automatic vertex declaration creator, game state management and more, all organized into neatly isolated building blocks you can pick from. The code has more than 1,400 unit tests with some assemblies achieving 100.0% test coverage and is thoroughly and completely documented. read more...

1 comment |category: |Views: 255

tags: another

ReSharper Discount & Extended Trial(web2asp.net)

submitted by sedgeysedgey(1728) 2 years, 4 months ago

I have had a few emails recently asking if I am still able to obtain the 10% discount coupons and 60 day extended trial for ReSharper read more...

5 comments |category: |Views: 723

tags: another

Unit testing WCF services through dependency injection(toomuchcode.com)

submitted by JemmJemm(9604) 2 years, 8 months ago

"When building a WCF service in an enterprise application, this service frequently depends on other services or resources. When creating unit tests for this service, we don’t want to host all these other services over WCF endpoints. Instead we will most likely want to inject mock objects. In some case we may even want to inject some in-process instances of these other services." read more...

add a comment |category: |Views: 208

tags: another

Unit Testing Silverlight Animation(compiledexperience.com)

submitted by NigelSampsonNigelSampson(505) 2 years, 10 months ago

Examples in unit testing a Silverlight animation framework using the Silverlight unit test system. read more...

add a comment |category: |Views: 20

tags: another

How to Compare / Test the Equality of two Queries in SQL Server(blog.troyd.net)

submitted by powerrushpowerrush(3873) 3 years, 3 months ago

Compare / Test the Equality of two Queries in SQL Server using this short T-SQL read more...

1 comment |category: |Views: 382

tags: another

What's an Auto Mocking Container?(mikehadlow.blogspot.com)

submitted by powerrushpowerrush(3873) 3 years, 5 months ago

...it's a really neat tool if you're writing a lot of unit tests and find yourself forever constructing mock objects read more...

add a comment |category: |Views: 41

tags: another

Test Driven Development Tips: Getting Value out of Code Coverage(stupiddumbguy.blogspot.com)

submitted by bbcookbbcook(335) 3 years, 8 months ago

Lies, True lies and Statistics -- Coverage tools can be misleading. So how does an organization benefit from having them? Bryan provides some great field notes on do's and don'ts for code coverage, including how tests can ruin coverage. read more...

add a comment |category: |Views: 58

tags: another

Unit Testing and Code Coverage - A Powerful Duo(thevalerios.net)

submitted by mattman206mattman206(305) 3 years, 8 months ago

Unit testing (using NUnit) and code coverage (using NCoverExplorer) make an amazing combination to not only run unit tests, but see how well your tests execute your code. All of this is made even easier by the TestDriven.net Add-in for Visual Studio. read more...

add a comment |category: |Views: 54

tags: another

unit testing your events(dotnettoad.com)

submitted by PaklPakl(120) 3 years, 9 months ago

In this article I will show you how you can unit test your events. I will show you a simple technique that will enable you to test if your events fire exactly as often as you want them to and I will provide you with two implementations. One implementation works well with the .NET Framework 2.0 and the second one uses .NET 3.0 (anonymous methods) in order to minimize the code necessary. read more...

add a comment |category: |Views: 155

tags: another

Host your own Web Server in your app using IIS7 Hostable Web Core(blogs.iis.net)

submitted by JemmJemm(9604) 3 years, 9 months ago

IIS 7.0 includes a very cool feature that is not so well known called Hostable WebCore (HWC). This feature basically allows you to host the entire IIS functionality within your own process. read more...

add a comment |category: |Views: 97

tags: another

TDD: The Road so Far(blog.wekeroad.com)

submitted by usshermussherm(5285) 3 years, 10 months ago

Rob talks about traveling the TDD road, shares a few lessons learned, and points out a couple of pros and cons he's discovered along the way. read more...

add a comment |category: |Views: 34

tags: another

Unit Testing with Silverlight - the FULL article.(jeff.wilcox.name)

submitted by powerrushpowerrush(3873) 3 years, 10 months ago

This is the article that ScottGu points to in http://www.dotnetkicks.com/silverlight/ScottGu_Unit_Testing_with_Silverlight , even thought it has more meat than Scott's article. read more...

add a comment |category: |Views: 20

tags: another

ScottGu: Unit Testing with Silverlight(weblogs.asp.net)

submitted by JemmJemm(9604) 3 years, 10 months ago

One of the important capabilities we shipped with the Beta1 release of Silverlight 2 was a unit test harness that enables you to perform both API-level and UI-level unit testing. This testing harness is cross browser and cross platform, and can be used to quickly run and verify automated unit tests. read more...

4 comments |category: |Views: 25

tags: another

Moq: Why do we need yet another NET mocking framework?(clariusconsulting.net)

submitted by powerrushpowerrush(3873) 3 years, 10 months ago

"I've already argued in the past why I think forcing regular developers to learn and understand the difference between a stub, a fake, a "true" mock and a dynamic mock is unproductive and largely irrelevant for their TDD needs. Also, even though quite common in the mocking community, the typical record/replay model is alien to developers and introduces yet another new concept that makes the learning curve steeper than needed. " read more...

add a comment |category: |Views: 103

tags: another

Simplified Asp.net MVC Controller Testing with Moq(codethinked.com)

submitted by justin_etheredgejustin_etheredge(8539) 3 years, 10 months ago

Want to learn how to better unit test your controllers in Asp.net MVC? In this example I go through the process of testing a controller action in asp.net MVC using Moq (but it could be easily translated into another mocking framework). read more...

add a comment |category: |Views: 1356

tags: another