Stories recently tagged with 'Testing'

Sharing a WebDriver across TestFixtures(www.tomdupont.net)

submitted by tduponttdupont(1163) 9 hours, 10 minutes ago

WebDriver (also known as Selenium 2.0) is a web testing tool that is both useful and easy, which is a very rare find. If you are doing web development with ASP.NET, you need to take 30 minutes of your time and go try out WebDriver. That is all the time it will take to get you hooked. To launch a browser you need only new up a Driver object for that browser. I used to create a new Driver in my TestFixtureSetup, and then close and dispose of that in the testFixtureTearDown. However now that Firefox does not persist my windows login credentials it can be very frustrating to have to log back in for every test fixture. A solution to this problem is simply to share a single WebDriver across multiple TestFixtures. Fortunately NUnit's SetUpFixture makes this very easy to do. read more...

add a comment |category: |Views: 0

tags: another

NCrunch(geeklyeverafter.blogspot.com)

submitted by brunomarquesbrunomarques(279) 4 days, 5 hours ago

Not so often, but every once in a while a new great development tool comes around. This is one of those times. Meet NCrunch. A TDD tool that will speed up your way of doing unit tests read more...

add a comment |category: |Views: 10

tags: another

Testing DI bootstrappers(jclaes.blogspot.com)

submitted by JefClaesJefClaes(536) 5 days, 21 hours ago

While your Dependency Injection bootstrappers - being responsible for gluing your application together - are a vital part of your application, they are seldom put under test. I don't see any reason why they shouldn't be though. The cost of these tests is negligible, definitely if you compare it to the cost of the often catastrophical outcome of bugs in your bootstrappers. read more...

add a comment |category: |Views: 121

tags: another

New tools for your TDD arsenal(www.beletsky.net)

submitted by dpetersondpeterson(3464) 8 days, 13 hours ago

Alexander Beletsky shares a list of sweet new TDD tools to retrofit into your current load-out, including a tool to automatically re-run tests as you make changes to source code, a replacement for Moq, and some awesome fluent assertions. read more...

add a comment |category: |Views: 323

tags: another

Guilt Driven Development(tatiyants.com)

submitted by atatiyanatatiyan(112) 1 month ago

Do you want to use Test Driven Development in your daily work but lack the necessary motivation? Do you have the nagging feeling that TDD could use more nagging to make you get things done? If this describes you, then you should definitely consider Guilt Driven Development. GDD is a powerful new technique based on one of the strongest motivating forces known to man: guilt. It works by forcing you to create promises to it and then guilts you into keeping them. read more...

2 comments |category: |Views: 210

tags: another

Coded UI Tests : Property “ReadOnly” cannot be retrieved ...(www.jonathanantoine.com)

submitted by jmix90jmix90(494) 1 month, 1 day ago

Did you ever encounter this error while trying to retrieve a property value from an AutomationElement ? I did ! Don’t worry, there is always a work-around, and I’ve found one. In this post, we’ll dig a little more into this issue and give a little example of the “Coded UI Tests” fun read more...

add a comment |category: |Views: 2

tags: another

Story in bddify (www.mehdi-khalili.com)

submitted by mwhelanmwhelan(74) 1 month, 8 days ago

Mehdi Khalili continues his series looking at the use of bddify, the simple to use and extend BDD framework for .Net developers. In this part Mehdi looks at how you can introduce the concept of a story into your behaviour tests. read more...

add a comment |category: |Views: 80

tags: another

Static Code Analysis(altdevblogaday.com)

submitted by pwhe23pwhe23(845) 1 month, 8 days ago

The most important thing I have done as a programmer in recent years is to aggressively pursue static code analysis. Even more valuable than the hundreds of serious bugs I have prevented with it is the change in mindset about the way I view software reliability and code quality. read more...

1 comment |category: |Views: 246

tags: another

Status Update on SpecsFor.Mvc(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(836) 1 month, 10 days ago

SpecsFor.Mvc is an integration testing framework for ASP.NET MVC applications. It enables you to write integration tests that are strongly-typed, refactor-friendly, and that run under the testing framework of your choice, all while leveraging your existing unit test writing skills. SpecsFor.Mvc is a work-in-progress, so please take a moment to give me some feedback on how the API is shaping up. read more...

add a comment |category: |Views: 2

tags: another

Method name conventions in bddify(www.mehdi-khalili.com)

submitted by mwhelanmwhelan(74) 1 month, 10 days ago

Mehdi Khalili continues his series looking in detail at his bddify framework. This part explores the naming and structure of your tests, and the two different ways (reflective and fluent) of reading scenarios. read more...

add a comment |category: |Views: 23

tags: another

Assert on number and text of Nhibernate queries during a unit test(www.codewrecks.com)

submitted by alkampferalkampfer(1748) 1 month, 12 days ago

A test helper class that permits me to assert on the number and text of the query that Nhibernate issued to the database during the test read more...

1 comment |category: |Views: 82

tags: another

Introduction to bddify(www.mehdi-khalili.com)

submitted by mwhelanmwhelan(74) 1 month, 14 days ago

Mehdi Khalili announces the release of bddify 1.0, a BDD testing framework which makes it easy to turn Arrange Act Assert unit test into BDD tests, and kicks off a series of posts looking at the framework, starting with an introduction to its history and use. read more...

1 comment |category: |Views: 122

tags: another

Generate Return Values Using Lambdas in Moq(www.blackwasp.co.uk)

submitted by BlackWaspBlackWasp(4024) 1 month, 20 days ago

Mock objects and stubs created using the Moq framework are generally used to inject dependencies with expectations that define fixed results. For more complex scenarios, lambda expressions can be used to generate results based on provided arguments. read more...

add a comment |category: |Views: 5

tags: another

You write too many tests and open too many bugs(blogs.msdn.com)

submitted by dpetersondpeterson(3464) 1 month, 20 days ago

Microsoft's Liam Price shares his thoughts on the problems associated with writing too many tests as well as with testers opening too many bugs. Seems like another case of "less is more", when it comes to testing. read more...

1 comment |category: |Views: 301

tags: another

Just because you can test it, doesn't mean you should(blogs.msdn.com)

submitted by dpetersondpeterson(3464) 1 month, 28 days ago

Samson Tanrena shares his thoughts on why choosing what to test, rather than simply testing all code, is an important step in shipping your product. read more...

3 comments |category: |Views: 189

tags: another

Web Testing with MbUnit and WatiN: Testing Asynchronous AJAX calls(www.developerfusion.com)

submitted by james.crowleyjames.crowley(1212) 1 month, 29 days ago

Concluding his look at combining MbUnit and Watin to produce clean web integration tests, Yann Trevin looks at testing asynchronous calls read more...

add a comment |category: |Views: 87

tags: another