What are the advantages and disadvantages of using one of these two types of tests instead of the other?
PS: I'm starting a project that isn't a class or a website. I have to choose a test system for files and a file may contain only a class, 2+ classes, functions, generic PHP code, etc...