General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Dean Schulze
Continuous Delivery
comments
Comments by "Dean Schulze" (@deanschulze3129) on "TDD Isn't Hard, It's Something Else..." video.
@AleksandraSetsumei - For a web app you would start by testing basic CRUD functionality on the endpoints. You would also have to write tests to verify that business logic is working properly. It's usually best to write these end-end tests in the same language you used to write application code in.
3
You can't rely on developers testing their own code. If someone else hasn't used it, it doesn't work. I believe John Osterhout said that.
3
If the tests you wrote after writing the code didn't reveal any bugs then your tests were terrible. The most vital type of testing is system level tests which not only test your application code but the infrastructure and integration points as well.
2
You will probably also have to do load testing to verify scalability, but often this is ignored until you run into performance problems in production.
2
Software development today includes provisioning cloud resources with terraform or some other IAC software. How would you TDD cloud infrastructure, for example a simple real-time data pipeline with kinesis, lambda, and SQS? Or is TDD irrelevant for provisioning cloud resources?
2
@francis_n - I think you're correct. But declarative code is a critical part of software development and it evolves with the project application code. Cloud infrastructure need to be thoroughly tested too. We've always had declarative code in code bases, like maven pom.xml.
1
@ForgottenKnight1 - I've yet to see a TDD consultant apply TDD to provisioning cloud resources or other infrastructure. Dave has another YouTube video where he says you shouldn't do integration tests https://www.youtube.com/watch?v=QFCHSEHgqFE
1
@nandomax3 - Good joke, and good point. Test later does not use tests to drive design, which is the point of TDD. The shortcoming of TDD as a design methodology is that TDD is one dimensional. There are other aspects to design such as low coupling, high cohesion, scalability, reliability, etc. which TDD does nothing for.
1
@jangohemmes352 - Please explain how unit testing the various functions in a microservice makes the entire service scalable.
1