Thanks! I agree, the TDD section (like any other) is absolutely debatable. Perhaps I can provide some more context to help me clarify why I think it was not a good idea:
Enabling Unit testing was not something easy by any means given the framework and product we were working with (+ we had problems with PhantomJs crashing and replacing it with Chrome). Nobody had previous experience with the particular way we had to set up our test cases, so that resulted on a stepped curve which took some time to climb.
And in the end very few of our devs were actually using/knew about TDD.
Regarding what you mentioned that some tests are better than no tests at all, it is true that some times a developer can implement them as a way to document his code, even when the coverage is minimum, and I think that's a good alternative for tests when there is no TDD, but in my project many tests are simple checks for initialization which usually don't add any info.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks! I agree, the TDD section (like any other) is absolutely debatable. Perhaps I can provide some more context to help me clarify why I think it was not a good idea:
Enabling Unit testing was not something easy by any means given the framework and product we were working with (+ we had problems with PhantomJs crashing and replacing it with Chrome). Nobody had previous experience with the particular way we had to set up our test cases, so that resulted on a stepped curve which took some time to climb.
And in the end very few of our devs were actually using/knew about TDD.
Regarding what you mentioned that some tests are better than no tests at all, it is true that some times a developer can implement them as a way to document his code, even when the coverage is minimum, and I think that's a good alternative for tests when there is no TDD, but in my project many tests are simple checks for initialization which usually don't add any info.