Unit Testing DTO Classes
Unit Testing DTO Classes
Reason why I unit test my DTO (Data Transfer Object) classes are because I pass these classes to client app and client app might use them and expect certain properties in response. Sometimes I change DTO properties that I used in client app and forget to refactor client app. By unit testing my DTO classes, it acts as reminder for me to refactor client app whenever DTO properties (or its name)…
View On WordPress










