Top "Tdd" questions

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

expected a spy but got undefined?

Trying to get my head around jasmine spies, this is what my test looks like: $scope.switchTurns = function () { $scope.playerTurn = !$…

angularjs tdd jasmine karma-jasmine spy
Spock- ignore spec method for a subclass

I have a test spec in Spock and I want to apply the same tests to another alternative with exception …

java testing groovy tdd spock
Test Driven Development in PHP

I am a web-developer working in PHP. I have some limited experience with using Test Driven Development in C# desktop …

php unit-testing tdd
How to check if method has an attribute

I have an example class public class MyClass{ ActionResult Method1(){ .... } [Authorize] ActionResult Method2(){ .... } [Authorize] ActionResult Method3(int value){ .... } } Now what …

c# reflection attributes tdd assert
What javascript mocking frameworks are people using?

I'm using Jasmine for testing client & server side javascript and need to do some mocking. Has anyone got any …

javascript node.js tdd mocking bdd
The Agile Way: Integration Testing vs Functional Testing or both?

I work in an office which has been doing Agile for a while now. We use Scrum for project management …

testing tdd scrum
Unit tests vs integration tests with Spring

I'm working on a Spring MVC project, and I have unit tests for all of the various components in the …

java tdd junit spring-mvc integration-testing
When to use mocking versus faking in C# unit testing?

Can anyone come up with guidelines suggesting the ideal scenarios to choose mocking versus faking, i.e., setting up the …

c# .net unit-testing tdd
QUnit Vs. Jasmine and TDD Vs. BDD

I've been looking at two libraries for doing unit tests on the front-end. QUnit - http://qunitjs.com/ Jasmine - …

javascript tdd bdd jasmine qunit
How to do TDD and unit testing in powershell?

With MS ramming powershell into all new server products, I'm starting to (reluctantly) think I need to take it seriously. …

unit-testing powershell tdd pester