Stories recently tagged with 'Unit'

Agile development practices within a traditional sdlc(instantiate.co.nz)

submitted by lukus7lukus7(135) 2 years, 1 month ago

Agile development practices greatly improve quality and productivity. There are "agile" development practices that can be applied to any project independently of the project methodology. In this post I talk about a recent project and some of the development practices that worked really well for our team. read more...

add a comment |category: |Views: 8

tags: another

Repository, Specification, Unit of Work, Persistence Ignorance POCO 2(www.kitchaiyong.net)

submitted by kitchaiyongkitchaiyong(89) 2 years, 3 months ago

This is my second post on one of the ways of applying the Repository, Specification and Unit of Work pattern using the persistence ignorance POCO with the upcoming ADO.NET Entity Framework 4.0. This post will explain how to implement the Repository, Specification & Unit of Work with Entity Framework 4.0. Sample project codes included. read more...

1 comment |category: |Views: 411

tags: another

Smoke, Sanity and Regression Testing: The River Analogy(geekswithblogs.net)

submitted by joycscjoycsc(1597) 3 years, 2 months ago

In the world of testing, Smoke Testing, Sanity Testing and Regression Testing are very similar to each other: to ensure the quality running the test cases of an existing application with respect to a new feature being added/dropped/modified. We can consider a River Analogy to understand the difference between Smoke Testing, Sanity Testing and Regression Testing better. read more...

add a comment |category: |Views: 12

tags: another

Some xUnut.net Snippets(blogs.msdn.com)

submitted by jemtsjemts(591) 3 years, 2 months ago

Some xUnit.net snippets for Visual Studio. read more...

add a comment |category: |Views: 5

tags: another

Unit Testable Configuration Manager - Kazi Manzur Rashid's Blog(weblogs.asp.net)

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

If you are a TDD purist, you should know that accessing file system in Unit Test is violating the rule. But in our application, our infrastructural code often requires to access the configuration values form web.config/app.config. In this post, I will show you how can create a simple wrapper class which you can use in your unit tests without hitting the file ... read more...

1 comment |category: |Views: 239

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

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

100% Unit Testable Linq To Sql Repository - Kazi Manzur Rashid's Blog(weblogs.asp.net)

submitted by jantujantu(1045) 3 years, 3 months ago

In this post, I will show you how you can architect your Linq To Sql repository which will have 100% code coverage. I will use our favorite Northwind database along with my ongoing UnityCommonServiceLocatorMVC project. First, lets add a Linq To Sql diagram in our project and drag n drop the Category and Product table that will look something like foll... read more...

add a comment |category: |Views: 372

tags: another

First attempts with Gallio(blog.andreloker.de)

submitted by alokeraloker(1810) 3 years, 3 months ago

From time to time I like to check my development workflow and tools to see whether I’m still up to date. This time I thought it might be a nice idea to give Gallio a shot. If you don’t now Gallio: it is a platform to uniformly run unit tests from whatever unit test framework (MbUnit, NUnit, MSTest etc.) you use. It also integrates into a bunch of other tools which I use (CruiseControl.NET, NAnt, NCover, ReSharper et al). So basically it sounds like a cool idea. Here's my list of thoughts after using Gallio for 60 minutes. read more...

add a comment |category: |Views: 26

tags: another

NHibernate: Testing The Performance Urban Legend(iamnotmyself.com)

submitted by NotMyselfNotMyself(215) 3 years, 10 months ago

I wanted to challenge the dogmatic urban legend passed down from .NET developer to .NET developer since the classic ASP days. That dogma simply states you should always access your database via stored procedure for "performance reasons". Inline SQL is BAAAAAAD. So I fired up Visual Studio, created a class and started writing tests. read more...

2 comments |category: |Views: 398

tags: another

Why Pluggable Applications Fails in NUnit? (dev102.com)

submitted by shaharyrshaharyr(4325) 4 years ago

I am currently working on a project with a pluggable application. Although, the code was functioning very well it always failed during the NUnit tests, always! read more...

1 comment |category: |Views: 126

tags: another

More on Unit Testing : TestContext(weblogs.asp.net)

submitted by adil.bdadil.bd(30) 4 years ago

In Test Driven Development as a developer we spend significant amount of time in writing unit tests. As improving coding coverage, testing all the boundary condition and ensuring the of quality code is significantly important, writing unit test effectively become one of the priority that we has to consider in software development. In this article, we will see what is TestContext of VSTS unit testing framework and how we can use TestContext to leverage writing effective unit tests for you application. read more...

add a comment |category: |Views: 59

tags: another

Getting Started with Test Driven Development(koffeekoder.com)

submitted by kbeeveer46kbeeveer46(155) 4 years, 4 months ago

"Few days ago I started a poll on www.KoffeeKoder.com where I asked which tool do you use for testing your applications. Surprisingly, most of the people are not using any tool for testing. This means that there are more and more applications being developed which are destined to be failed. In this article I will talk about test driven development hoping that more and more developers start using TDD and see how it benefits the application." read more...

add a comment |category: |Views: 83

tags: another

Test-Driven Development for Embedded Software(methodsandtools.com)

submitted by martinigmartinig(568) 4 years, 7 months ago

Despite a prevalent industry perception to the contrary, the agile practices of Test-Driven Development and Continuous Integration can be successfully applied to embedded software. We present here a holistic set of practices, platform independent tools, and a new design pattern (Model Conductor Hardware - MCH) that together produce: good design from tests programmed first, logic decoupled from hardware, and systems testable under automation. Ultimately, this approach yields an order of magnitude or more reduction in software flaws, predictable progress, and measurable velocity for data-driven project management. We use the approach discussed herein for real-world production systems and have included a full C-based sample project to illustrate it. read more...

add a comment |category: |Views: 10

tags: another

Including unit tests in project release(csharptutorial.blogspot.com)

submitted by bacalaobacalao(320) 4 years, 7 months ago

It struck me as a great idea to include NUnit test in the next release of my SQLite query browser. If the program crashes or misbehaves, users can run the tests, find out why and either report to me or fix it themselves. read more...

add a comment |category: |Views: 5

tags: another

Ways to revert a database to pre-Test state after Unit testing (weblogs.sqlteam.com)

submitted by spirit1spirit1(3160) 4 years, 10 months ago

A few ways on how to revert a database to pre-testing state after test completion read more...

1 comment |category: |Views: 26

tags: another