Stories recently tagged with 'Testing' Subscribe to this feed

RhinoMocks Stub not retaining property values (sweux.com)

submitted by smourasmoura(140) 19 hours, 17 minutes ago

I was still fixing the tests that had failed after upgrading to Castle.Windsor 2.1 and RhinoMocks 3.6 when I stumble on this one. Basically I had a unit test that passed before I upgraded and as soon as I switched to using the most recent versions of both libraries the test failed.The issue manifested on a stub for an Interface... read more...

add a comment | category: | Views: 1

tags: another

BadImageFormatException when debugging interface mocked with RhinoMock (sweux.com)

submitted by smourasmoura(140) 19 hours, 20 minutes ago

Recently I updated the project I am working on to Castle.Windsor version 2.1. Since we are using an abstraction over the container (for resolving purposes only), we had to adapt it to conform with the new restrictions for Resolving dependencies... read more...

add a comment | category: | Views: 0

tags: another

Refactoring for Unit Testing (nizarnoorani.com)

submitted by noorani786noorani786(180) 8 days, 6 hours ago

How to go about re-factoring existing code to support unit-testing. read more...

add a comment | category: | Views: 8

tags: another

Gherkin style specification testing in .NET (ryanlanciaux.com)

published 8 days, 7 hours ago, submitted by dengar007dengar007(3069) 8 days, 16 hours ago

Behavior Driven Development is something that has interested me for quite awhile. I have constantly tried to write my tests as clear and concise as possible but once I saw Cucumber for Ruby that became the new standard for what I was trying to achieve in .NET. This is where SpecFlow comes in. read more...

add a comment | category: | Views: 296

tags: another

The business value of test-driven development (jonkruger.com)

submitted by david_hollanddavid_holland(565) 15 days, 13 hours ago

Most businesses are creating software for one primary reason — to make money. In order to make money, we need software that meets the needs of the business and can be developed and maintained in a reasonable amount of time with a high level of quality. Test-driven development is a discipline that will help you achieve these goals. read more...

add a comment | category: | Views: 2

tags: another

Is it possible to fail a load test? (dobrzanski.net)

submitted by dobrzanski.netdobrzanski.net(85) 16 days, 19 hours ago

Learn how to change the status of a load test to other than 'Completed'. read more...

add a comment | category: | Views: 0

tags: another

How to invoke a common coded web test method from GetRequestEnumerator (dobrzanski.net)

submitted by dobrzanski.netdobrzanski.net(85) 16 days, 19 hours ago

Find out how to invoke a common coded web test method from GetRequestEnumerator() read more...

add a comment | category: | Views: 0

tags: another

So you write unit tests, but do you really TDD? (www.thecodejunkie.com)

submitted by thecodejunkiethecodejunkie(45) 22 days, 8 hours ago

Many developers are claiming to be TDD practitioners, without really understanding the differences between Test-Driven Development and unit testing. Somewhere along the line the definition of TDD has gotten lost and it is time to set the record straight; just because you write unit tests does not mean you practice TDD. read more...

add a comment | category: | Views: 7

tags: another

Web testing with Selenium and xUnit.net (joelabrahamsson.com)

submitted by webpoetwebpoet(265) 22 days, 23 hours ago

In this post I describe how to use Selenium and xUnit.net to create a fully automated in-browser web test for testing the comment functionality on my blog. I provide a list of links to necessary components, such as Selenium, xUnit.net and Java and a step by step guide to creating the test. read more...

add a comment | category: | Views: 3

tags: another

Unit Testing Biztalk : Two possible frameworks (weblogs.asp.net)

submitted by JemmJemm(9400) 27 days, 17 hours ago

BizTalk is notoriously hard to test. But I just came a cross a couple of interesting solutions to do unit testing for biztalk related logic and orchestration. read more...

add a comment | category: | Views: 2

tags: another

Unit Testing Entity Framework Video (site.typemock.com)

submitted by mosessaurmosessaur(5050) 1 month, 10 days ago

Video on examples for unit testing EF apps. Entity framework has been considered hard to test, This video shows how to do it easily with Typemock Isolator. You can download the presentation and code and try it for yourselves. read more...

add a comment | category: | Views: 6

tags: another

NUnit 2.5.3 and SetUICulture (codeofrob.com)

submitted by robashtonrobashton(65) 1 month, 22 days ago

SetUICulture doesn't appear to be working right, so here is a work-around for now. read more...

add a comment | category: | Views: 3

tags: another

Dealing with persistence in web tests for ASP.NET (slmoloch.blogspot.com)

submitted by slmolochslmoloch(45) 1 month, 23 days ago

Every web site have persisted storage. It can be XML on disk, DB or Key-Value storage, whatever. This aspect brings a lot of troubles while designing Web Tests. The most common example – tests script must login in system with predefined credentials and this credentials should be in storage before test run. read more...

add a comment | category: | Views: 5

tags: another

Lightspeed 3 : Testing Enhancements - Paul Mason (blog.paul-mason.co.nz)

submitted by tivittivit(315) 1 month, 24 days ago

In this post I'm going for a bit of a diversion from the usual Protecting Your Precious Code series; and for good reason! The long awaited version 3 of the Lightspeed tool was released on Monday. Rather than go into all of the new features that it boasts (which can be found on the Mindscape blog), I'm going to take a look at a particular aspect that excites me: improved testability of entities! read more...

add a comment | category: | Views: 2

tags: another

Writing Unit Tests for Data Access Code « Have Code, Will Travel (psandler.wordpress.com)

submitted by psandlerpsandler(50) 1 month, 30 days ago

Had a question today from a developer from another software project within my company: How do I begin and rollback database transactions from a unit test? My short answer . . . You don’t. . . . led to a pointed follow-up question . . . So how do I write unit tests for my data access code? . . . which led to a somewhat lengthy discussion. read more...

add a comment | category: | Views: 11

tags: another

The Meaning of 100% Test Coverage (www.nuclex.org)

submitted by CygonCygon(125) 2 months, 5 days ago

The Myth that 100% test coverage means code is completely bug-free has been busted thoroughly. So much in fact, that it is almost risqué to add complete test coverage to your agenda. But is 100% test coverage really 100% useless, or are there some advantages worth striving for still? This article discusses the advantages and disadvantages of aiming for 100% test coverage. read more...

add a comment | category: | Views: 9

tags: another