Is Agile different from TDD ? If so what are the main differences ?
Is Agile really different from TDD ? If so what are the main differences ? ...
Is Agile really different from TDD ? If so what are the main differences ? ...
I'm new to TDD, and I'm trying to learn the right way to do things. So I have to make a javascript class for a web browser extension that stores the user's information to HTML5's localStorage (I'll call this class UserInfoStorage). However, I want to make my extension cross-browser compatible, and the way to interact with localStorage is...
Hi, I am working with a tester who is using Selenium in my latest project. I was trying to get some information out of him as to how i needed to name my CSS classes applied to the dynamic elements on the page that he will be testing. I think he is rather new to this himself so was going to put our findings here for comment: Testing ...
How can the repetition of a very short development cycle help to remove bugs from your software? What bugs is TDD most effective in catching, when implemented correctly? And why? Thanks in advance! ...
I read a post by Joshua Kerievsky about 'Limited Red Time' Link His org. Industrial Logic as part of a training module, has a screen where you upload an archive. In return, the screen shows you a graph of how much time were you in the red state vs the green state. It also hooks up with Resharper and annotates points at which the specif...
I have a nontrivial service object developed with TDD. It started with a simple task: For an object from queue, construct an attempt for asynchronous processing. So I wrote a test around my constructAttempt() method: void constructAttempt() {...} There are numerous possible scenarios that need to be taken into consideration, so I have...
I'm learning TDD (in Javascript), and I wanted to know, what is the right way to use configuration variables? Should I make a separate class and have them be member variables of the class, and pass an instance of the class to every object that needs it, or make a list of global variables and just use those? What are the benefits / setbac...
I'm trying to use SUT Factory 'pattern' to create my SUT. Given the SUT structure: namespace MySut { public class Dep1 { } public class Dep2 { } public class Sut { public Sut( Dep1 dep1, Dep2 dep2 ) { } } } I'm using AutoFixture, and am wondering what's the best way to col...
Suppose I have a class like so: public class StaticDude{ public static Object getGroove() { // ... some complex logic which returns an object }; } How do I mock the static method call using easy mock? StaticDude.getGroove(). I am using easy mock 3.0 ...
I am learning Test Driven Development and trying to use Moq library for mocking. What is the purpose of Setup method of Mock class? ...
I have been trying to determine a good way to test rails apps, covering all relevant aspects... since I have no experience writing tests at all I have been looking at railscasts.com which seems like a pretty good resource to learn basic stuff for rails. but for tests I have found several episodes, some using rails unit test classes, othe...
Possible Duplicate: What is Test Driven Development (TDD)? My friend told me TDD is not about testing, that it's all about the design. I don't understand why he would think that. what do you think TDD is all about ? what are its advantages ? disadvantages ? I've found it impossible to use TDD in some projects of mine. ...
Hello, I have an orchestration that receives any document type in BizTalk (System.Xml.Document). It looks like Bizmonade always wants to use an orchestration that specifies a type of schema that is different from ANY. OrchestrationSimulator.Test<Dummy__Simulated>() .When(MessageReceived.FromFile<CanonicalInvoice>( Path.Combine(AppDom...
What is test-first development and how does it corelate to TDD? Is test-first development a general name for things like TDD? If yes, what other test-first practices do exist? ...
The situation: millions of lines of code, more than one hundred developers and frequent defects. We want to avoid repeating defects and we want to improve code design (who doesn't?). Test Driven Development (first unit test, then code) sounds ideal: write a test case for each function. But, with so much code written, how can TDD be imp...
Hi Im doing TDD for an asp.net mvc project, I need to be able to do end to end testing fie sending a request to the controller action all the way to the repository. I have tried using http://blog.stevensanderson.com/2009/06/11/integration-testing-your-aspnet-mvc-application/ but unfortunately I cant get this to run and Im running out o...
Hi. I am quite new to TDD and the first question which came into my mind is whether I should apply unit tests to every developed component. I am asking it since I observed that unit testing takes a lot of time, especially when some changes into the requirements are provided. So, could you suggest something like best practices in TDD rega...
I have started a new game project, and have decided to learn and use OpenGL for it (project is being simultaneously developed on Windows and Linux). At the same time, I am also very interested in Test Driven Development, and am trying to put my best effort into writing my unit tests to lead design before any actual code. However, I thin...
Is it possible to create a mock for the function? UPD1: $class->callback('callback_function'); I've tried to test whether callback_function was invoked once or not. ...
I do a lot of TDD and am thinking of installing a Continuous Integration Plugin for Eclipse. The two most popular seem to be JUnit Max and Infinitest. As both are "payed for", I'd like some opinions on the pros/cons/otherwise of each. Maybe there is a "free" alternative that I've missed? ...