how would you do this using TDD?
-
I am creating an application that reads all of the dlls that are in the same folder as the executing application and looks for classes that implement a certain interface (a pluggable application). I can do this pretty easily with just OO programming, but how would one go about doing this with TDD (I am still trying to get my head around this in situations that are more complex)? Would I need to abstract the FileSystem and assemblies? Thanks in advance.
Mike Lasseter
-
I am creating an application that reads all of the dlls that are in the same folder as the executing application and looks for classes that implement a certain interface (a pluggable application). I can do this pretty easily with just OO programming, but how would one go about doing this with TDD (I am still trying to get my head around this in situations that are more complex)? Would I need to abstract the FileSystem and assemblies? Thanks in advance.
Mike Lasseter
mr_lasseter wrote:
but how would one go about doing this with TDD
Test Driven Development? You might need to explain your thoughts more specifically.
mr_lasseter wrote:
Would I need to abstract the FileSystem and assemblies?
Not sure what you mean because those are both already abstracted right?
led mike