This video applies to the technical practices of Lean-Agile software development. Scott Bain answers a question about test-driven development (TDD): Can a test be written with only a mock object in its fixture?
I use this approach to test behavior of an abstract class, that is meant for users of my library to implement. The mocking framework I use supports mocking an abstract class, providing stubs for abstract methods while leaving non-abstract methods alone, so that I can test their behavior.
I use this approach to test behavior of an abstract class, that is meant for users of my library to implement. The mocking framework I use supports mocking an abstract class, providing stubs for abstract methods while leaving non-abstract methods alone, so that I can test their behavior.
elnurabd 1 month ago