We add TODO
s to our code whenever there is a dependency from another team member. Then we slowly resolve all TODO
s until our code works. How can I make our build fail when there are any unresolved TODO
s ?
Asked
Active
Viewed 153 times
0

Jed Cua
- 251
- 2
- 11
-
1I would take a look here: https://stackoverflow.com/a/42403224/296328 furthermore that sounds more like a `FIXME` than a `TODO`... – khmarbaise Apr 19 '18 at 07:53
-
@khmarbaise this is what i was looking for. thanks – Jed Cua Apr 19 '18 at 08:48
-
Also take into consideration the suggestion of JF Meier... – khmarbaise Apr 19 '18 at 08:52
1 Answers
0
Write a Junit test for your todo. It will fail if the the todo was not resolved.

J Fabian Meier
- 33,516
- 10
- 64
- 142