Quantcast
Channel: DotNetShoutout - Stories tagged with unit-test
Browsing all 22 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Gautam Goenka (MSFT) : Logging a message in test result as part of an...

Logging a message in test result as part of an automated test Multiple folks have asked in forums on how to log a message from a Coded UI Test for tracing\debugging purpose.  I know of as many as 5...

View Article



Image may be NSFW.
Clik here to view.

Unit Testing Entity Framework Video - Unit Testing Database Applications...

Muhammad Mosa prepared a video on examples for unit testing EF apps. Entity framework has been considered hard to test, but Muhammad shows how to do it easily with Typemock Isolator. You can download...

View Article

Image may be NSFW.
Clik here to view.

Nizar’s .NET Blog » Refactoring for Unit Testing

Imagine the following (which you’ve very likely run into in the past): You join a new company and inherit a humongous existing code base. You are told to add some new functionalities without of course...

View Article

Image may be NSFW.
Clik here to view.

Do Unit Test and Integration Test from same test code using Conditional...

Do Unit Test and Integration Test from same test code using Conditional Compilation You usually write unit test and integration test code separately using different technologies. For example, for unit...

View Article

Image may be NSFW.
Clik here to view.

Unit Testing and Integration Testing in real projects

Unit Testing and Integration Testing in real projects I am yet to find a proper sample on how to do realistic Test Driven Development (TDD) and how to write proper unit tests for complex business...

View Article


Image may be NSFW.
Clik here to view.

How to convince developers and management to use automated unit test for AJAX...

How to convince developers and management to use automated unit test for AJAX websites Everyone agrees that unit testing is a good thing, we should all write unit tests. We read articles and blogs to...

View Article

Image may be NSFW.
Clik here to view.

Using Mocking Framework - Moq

This post will tell how to incorporate one of the popular & free object mocking framework, Moq in your unit tests.

View Article

Image may be NSFW.
Clik here to view.

How to convince developers and management to use automated test instead of...

Learn ways to convince devs and management to move away from manual testing to automated unit, integration testing. See some convincing graphs to put in a powerpoint.

View Article


Image may be NSFW.
Clik here to view.

Code Contracts: Unit testing contracted code

Code contracts and unit tests are not replacements for each other. They both have different purpose and different nature. It does not matter if you are using code contracts or not – you still have to...

View Article


Image may be NSFW.
Clik here to view.

Finally! Entity Framework working in fully disconnected N-tier web app

Entity Framework was supposed to solve the problem of Linq to SQL, which requires endless hacks to make it work in n-tier world. Not only did Entity Framework solve none of the L2S problems, but also...

View Article

Image may be NSFW.
Clik here to view.

Tip – When writing custom assertion methods – Keep your assertion stack trace...

I have bumped in to a couple of custom assertion methods which lets the assertion stack trace contain the assertion method itself. Hence, if I use, e.g. Testdriven.Net, I might double-click on the...

View Article

Image may be NSFW.
Clik here to view.

Write your Tests in RSpec with IronRuby - Kazi Manzur Rashid

[Note: This is not a continuation of my previous post, treat it as an experiment out in the wild. ] Lets consider the following class, a fictitious Fund Transfer Service: view source print? 01 public...

View Article

Image may be NSFW.
Clik here to view.

Unit Testing Dynamic XAP Files

By now, you probably are aware that you can dynamically load XAP files using the Managed Extensibility Framework (MEF) within your Silverlight applications. Have you been scratching your head, however,...

View Article


Image may be NSFW.
Clik here to view.

BinaryThought Blog | Pex Power Tools

An introduction to the Pex Power Tools for Visual Studio 2010.

View Article

Image may be NSFW.
Clik here to view.

Unit Test using test doubles, aka Mock, Stub, Fake, Dummy

Following my post about Application Acceptance Testing, we went, beginning of that week, in some very interesting discussions during a meeting at Innoveo in which I presented the differences between...

View Article


Image may be NSFW.
Clik here to view.

Rhino Mocks for testing

Mock object is making to mock implementation with the custom objects. So many mock objcts available like NMock,NMock2,EasyMock, Rhino Mocks,TypeMock . But i am using the Rhino Mock. This is supports...

View Article

Image may be NSFW.
Clik here to view.

How To Unit Test Workflows–Mocking Activities - Ron Jacobs

Suppose you want to unit test a workflow that has some external dependency like a database, web service, file or some other thing that makes testing inconvenient. The need to eliminate external...

View Article


Image may be NSFW.
Clik here to view.

Silverlight Unit Test For Phone - Jesse Liberty

There has been some confusion about how to make the Silverlight Unit Tests work on FAILEDUNITTESTWindows Phone. The latest release of the Silverlight Unit Tests comes with the Silverlight Toolkit, and...

View Article

Image may be NSFW.
Clik here to view.

AutoMoq Introduction

AutoMoq is an “auto-mocking” container that automatically creates for Moq any fake objects that are necessary to instantiate the class under test.

View Article

Image may be NSFW.
Clik here to view.

Using the InternetExplorerDriver for WebDriver

Are you getting this error when trying to use the InternetExplorerDriver for WebDriver (Selenium 2.0)? "System.InvalidOperationException: Unexpected error launching Internet Explorer. Protected Mode...

View Article
Browsing all 22 articles
Browse latest View live




Latest Images