On one hand, it may take a while (or a long time) to create and run tests with TDD. The worst case scenario is when the test cases fail and the entire program fails. Refactoring may take longer than expected, and there isn't much time when it comes to a two-week sprint.
On the other hand, I heard smaller groups benefit from TDD. It is easier to develop test cases. Refactoring can be simpler too. Well, TDD is beneficial because a 100% working, bug-free program is what we, developers, ultimately desire.
Suppose a small project is reasonable enough to complete in time during a two-week sprint. Is it ideal or practical to use TDD when it comes to small groups and projects? Or should the small group adhere to Agile development?