Mr.Big said you should write class at the same time ,as you should think about interface and parameter first .
https://en.wikipedia.org/wiki/Test-driven_development
try new things right? just have a try!
don't panic.
详解测试驱动开发 Test Driven Development(TDD)
TDD (test driver development)测试驱动开发