Stories recently tagged with 'UnitTest'

Docx 2 UnitTest(www.lennybacon.com)

submitted by philippropleschphilipproplesch(15) 2 years ago

A Visual Studio 2010 custom tool to generate unit tests from Microsoft® Word® 2007/2010 documents. read more...

add a comment |category: |Views: 26

tags: another

Introducing Entity Framework Unit Testing with TypeMock Isolator(mosesofegypt.net)

submitted by mosessaurmosessaur(5424) 2 years, 8 months ago

One of the challenging things with current version of Entity Framework, its leakage of testability. Which means when you build an application or module (e.g. Repositories) that depends on entity framework, it will be very hard to unit test your code isolated from Entity Framework. This might lead to conduct Integration Testing which will require a connection and interaction with underlying data store (database). You might think of using Mocking to mock or fake Entity Framework data store dependent calls. But sadly Moq and Rhino Mock mocking frameworks do not support this. And you’ll end up hitting the wall. Both frameworks are great useful and I personally use Moq for a while now and very happy with it. But no one can deny limitations when exist. read more...

add a comment |category: |Views: 71

tags: another

Implementing UnitOfWork Pattern In Linq To SQL Application(weblogs.asp.net)

submitted by iftekharahmedamitiftekharahmedamit(530) 3 years, 3 months ago

Implementing UnitOfWork Pattern In Linq To SQL Application In my previous post, I have shown how to create Linq to Sql Repository which will have the maximum code coverage, In this post, I will show a simple UnitOfWork class which will flash the changes back to your database. I will be again use my ongoing UnityCommonServiceLocatorMVC project. Lets assume that in your ASP.NET MVC application you have a method in your controller which will add a category and its associate product in the Northwind database. read more...

add a comment |category: |Views: 566

tags: another

Unit Test Code Coverage - What Is A Good Number?(james.newtonking.com)

submitted by JamesNKJamesNK(3020) 3 years, 11 months ago

Should you be aiming for 100% code coverage from your unit tests? Why I don't think it matters. read more...

add a comment |category: |Views: 21

tags: another

Building a Simple Blog Engine with ASP.NET MVC and LINQ - Part 4(aspalliance.com)

submitted by keyvankeyvan(4086) 4 years ago

In the fourth part of this series, Keyvan talks about the unit testing concepts related to the MVC pattern and how Microsoft has adapted these concepts for its ASP.NET MVC framework. He shows these principles and the process that should be followed to unit test an ASP.NET MVC application. read more...

1 comment |category: |Views: 27

tags: another

How To: Unit Test Hidden Classes(coderjournal.com)

submitted by zigamorphzigamorph(3319) 4 years, 7 months ago

One of the most popular ways to Unit Test .NET code is NUnit. However, I am not going to get in to the basics of Unit Testing in this post. If you are interesting in learning more about NUnit and Unit Testing please visit NUnit QuickStart page. This post is going to deal with how does a developer test a class that has a private or hidden constructor. read more...

add a comment |category: |Views: 3

tags: another

Test your App using Excel by building your own Test Framework(msdn.microsoft.com)

submitted by korayemkorayem(1240) 5 years, 6 months ago

When writing lightweight test automation, one of your best choices for test case data and test results storage is to use Microsoft® Excel® read more...

add a comment |category: |Views: 22

tags: another

TDD Design Starter Kit (codebetter.com)

submitted by jhol3990jhol3990(495) 5 years, 8 months ago

A Set of articles on where to do and what to consider when beginning est drivern development. Stay Agile. read more...

add a comment |category: |Views: 15

tags: another