Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is my test structure too coupled to system structure? #27

Open
farlee2121 opened this issue May 11, 2018 · 2 comments
Open

Is my test structure too coupled to system structure? #27

farlee2121 opened this issue May 11, 2018 · 2 comments
Labels
question Further information is requested

Comments

@farlee2121
Copy link
Owner

http://blog.cleancoder.com/uncle-bob/2017/03/03/TDD-Harms-Architecture.html

@farlee2121 farlee2121 added the question Further information is requested label May 11, 2018
@farlee2121
Copy link
Owner Author

One way this could manifest is testing against interfaces instead of concrete classes. Because of data prep abstraction, I can make my tests about the expected behavior of any instance of a service instead of for a concrete implementation.

@farlee2121
Copy link
Owner Author

If I test at too high a level, then the tests loose value as a construction aid.

At the very minimum, I'd want to test all of my services, since those are the unit of information hiding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant