Top "Tdd" questions

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

BDD and TDD for node.js?

What is used for BDD and TDD with node.js? I'm used to use Cucumber + RSpec. What's a good combo …

node.js rspec tdd cucumber bdd
"Web interface" to PHPUnit tests?

Is there a simple "Web interface" to running PHPUnit test suites? i.e. a PHP script that runs the test …

php unit-testing tdd phpunit
Unit tests on MVC validation

How can I test that my controller action is putting the correct errors in the ModelState when validating an entity, …

asp.net-mvc unit-testing validation asp.net-mvc-2 tdd
Rspec: expect vs expect with block - what's the difference?

Just learning rspec syntax and I noticed that this code works: context "given a bad list of players" do let(:…

ruby tdd rspec2
How can I use HTML fixtures with Karma test runner using Qunit?

I'm playing with Karma test runner (http://karma-runner.github.io/0.8/index.html) using qunit (http://qunitjs.com). I succesfully created …

javascript unit-testing tdd qunit karma-runner
Why does phpunit not show any errors in the console

I'm using phpunit with Laravel 4 framework. Why is it that when there's a PHP error during the tests, no error …

php tdd phpunit laravel laravel-4
Testing asynchronous function with mocha

I want to test a asynchronous javascript function that runs in node.js and makes a simple request to a …

javascript node.js testing tdd mocha
How to include Rails Helpers on RSpec

I'm trying to include some helpers to test with rspec but no luck. What I did: created a support/helpers.…

ruby-on-rails ruby-on-rails-3 rspec tdd rspec2
How to mock specific function in object using Jest?

I'm testing a React/Reflux application using Jest. I have the following function in a store: onLoad: function() { console.log("…

mocking tdd reactjs jestjs refluxjs
Chai.js: Object contains/includes

Chai has an include method. I want to test to see if an object contains another object. For example: var …

javascript arrays object tdd chai