How do you test database abstraction in PHP?
I apologise in advance if this question is too subjective but I’m struggling to find a good answer, probably as there is not really a correct answer to give.
A weakness of the TDD method?
This is in summary the TDD method:
Shared context: good or bad?
RSpec allows users to share context across tests / examples, which would reduce the number of code lines in my app by a significant amount.
Fundamental TDD: stuck with writing a test so I can write code that I want
I have a Season class. This Season has a few properties: among them, a list of Games. This should be populated from the same source that populated the rest of the Season properties.
Production or Custom Test Data for Unit Testing?
I’ve recently had a little disagreement with fellow developers. We’re transforming various ontologies from the original source format (Pica+, RDF, etc) into our data format and have several converters dedicated to exactly this task. The argument came whether or not we should use the full ontology-data file, or create a subset specifically used for testing.
End-to-end tests versus unit tests, should tests be decoupled?
At our company we typically make sure that we write an end-to-end test for our websites/web apps. That means we access a URL, fill in a form, submit the form to another URL and check the results of the page. We do this to test form validation, test that the HTML templates have the correct context variables, etc.
I don’t understand how TDD helps me get a good design if I need a design to start testing it
I’m trying to wrap my head around TDD, specifically the development part. I’ve looked at some books, but the ones I found mainly tackle the testing part – the History of NUnit, why testing is good, Red/Green/Refactor and how to create a String Calculator.
I don’t understand how TDD helps me get a good design if I need a design to start testing it
I’m trying to wrap my head around TDD, specifically the development part. I’ve looked at some books, but the ones I found mainly tackle the testing part – the History of NUnit, why testing is good, Red/Green/Refactor and how to create a String Calculator.
I don’t understand how TDD helps me get a good design if I need a design to start testing it
I’m trying to wrap my head around TDD, specifically the development part. I’ve looked at some books, but the ones I found mainly tackle the testing part – the History of NUnit, why testing is good, Red/Green/Refactor and how to create a String Calculator.
I don’t understand how TDD helps me get a good design if I need a design to start testing it
I’m trying to wrap my head around TDD, specifically the development part. I’ve looked at some books, but the ones I found mainly tackle the testing part – the History of NUnit, why testing is good, Red/Green/Refactor and how to create a String Calculator.