There could be several reasons for not writing test.
- It takes too much time.
- It is not worth it.
- I am too lazy.
- I don't know how to do it.
- I know my code works because i ran it once and it worked
- I am a superhero, i don't make mistakes.
Best resource to begin with is TDD by Example..