I'm new to TDD and it's my first time to test drive a real-world project. First, I wanted to test drive an FTP client so I did. Since the FTP client naturally deals with network I/O, in my opinion, there's no use to unit test it because unit tests should not include any I/O operations but only in-memory operations [1].
The confusion lands in integration testing and functional testing though. Where should I place my FTP client test suite? The integration testing can accommodate I/O operations [1] but FTP client is only one module, so should I place it under functional testing?
Aucun commentaire:
Enregistrer un commentaire