-deleted-
9 years, 7 months ago.

Is Unit Testing or TDD being used?

In terms of TDD (Test Driven Development) is anyone using this approach and can provide some tips and tricks?

This seems like a good way to eliminate bugs.

I found this post: https://blog.feabhas.com/2013/05/test-driven-development-tdd-with-the-mbed/ and http://www.odd-e.com/material/2012/08_tdd_in_c/tddec.pdf

There is also: http://developer.mbed.org/search/?type=&q=TDD

I would like to know how to make TDD more approachable.

.

posted by -deleted- 13 Apr 2015

Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: first the developer writes an (initially failing) automated test case that defines a desired improvement or new function, then produces the minimum amount of code to pass that test, and finally refactors the new code to acceptable standards. More details: https://www.simform.com/what-is-tdd/

posted by Kalpesh Darji 25 Sep 2018

1 Answer

9 years, 7 months ago.

Hi,

I havent used TDD much in the real devel. Unit testing is used by mbed, currently CppUtest. You can find some documentation here: http://developer.mbed.org/teams/SDK-Development/wiki/Special:Allpages

Thank you Martin.

The following seems most helpful: https://developer.mbed.org/teams/SDK-Development/wiki/Mbed-SDK-cpputest-usage

posted by -deleted- 13 Apr 2015