Top "Tdd" questions

Test-Driven Development (TDD) involves writing a failing automated test to specify what is to be built.

Unit testing Anti-patterns catalogue

anti-pattern : there must be at least two key elements present to formally distinguish an actual anti-pattern from a simple bad …

unit-testing tdd anti-patterns
What does regression test mean?

Could anyone explain the word regression test in an understandable way?

tdd bdd regression-testing
How to set execution order of mocha test cases in multiple files

I have two javascript files which contain mocha test cases. //----------abc.js ------------- describe("abc file", function(){ it("test 1" , function(){ …

javascript node.js tdd mocha
How do I test if a function calls a specific method/function?

Is there a way in Mocha to test if a function calls a specific method or external function? I am …

javascript node.js tdd mocha chai
Expecting anything as parameter to mock using EasyMock

Using EasyMock I want to be able to say that I expect a specific method called on my mock, but …

java unit-testing tdd mocking easymock
how to write django test meant to fail?

I have a model called Thing with an attribute called name, and I want name to be a char field …

django testing tdd
Fake DbContext of Entity Framework 4.1 to Test

I'm using this tutorial to Fake my DbContext and test: http://refactorthis.wordpress.com/2011/05/31/mock-faking-dbcontext-in-entity-framework-4-1-with-a-generic-repository/ But i have …

.net asp.net-mvc unit-testing entity-framework tdd
Mocking free function

I am stuck in a problem and can't seem to find the solution. I am using VS2005 SP1 for compiling …

c++ unit-testing tdd googlemock
What's the difference between RSpec and Cucumber?

I have 6 months of Rails development experience. I've built a web application that's in use now with authentication and authorization …

ruby-on-rails testing rspec tdd cucumber
How can I load this file into an NUnit Test?

I have the following IntegrationTest project structure ... If i wish to use that test data 126.txt in an NUnit Test, …

c# .net testing tdd nunit