Is Test Driven Development limited to OO? Or is it possible/useful to use it in conjunction with a procedural language? I have to start a greater project in C the next few weeks and I'm thinking of ways how to the developing.
The unit tests that come out of TDD are also an integral part of the continuous integration/continuous delivery (CI/CD) process. TDD relates specifically to unit tests and continuous integration/continuous delivery pipelines like CircleCI, GoCD, or Travis CI which run all the unit tests at commit time.
Test-driven development (TDD), also called test-driven design, is a method of implementing software programming that interlaces unit testing, programming and refactoring on source code.
TDD stands for Test Driven Development, and it's a design process in software development. It relies on the repetition of a very short development cycle, and the requirements are turned into very specific test cases. There are a couple of steps in the TDD process: Write a unit test that fails.
TDD is a design paradigm and as such is not tied to any specific programming paradigm.
Simply put, you write a test for your code before writing your of code.
See this slide deck about TDD with C (the Bowling Game Kata).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With