Can you describe the outcome you expect instead of how you'll achieve it?
--
The only way to go fast is to go well.
---
You received this message because you are subscribed to the Google Groups "Clean Code Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clean-code-discu...@googlegroups.com.
To post to this group, send email to clean-code...@googlegroups.com.
Visit this group at http://groups.google.com/group/clean-code-discussion.
Well, as you've done, I'd try and establish my ports - you have one that represents the network connection.
You can query it for a particular report.
Then I'd integration test each adapter implementation to make sure it works.
And then I wouldn't check the async bit, maybe an end-to-end example to prove you can fetch them all.
It seems like most of the behaviour is in the adapters, would you agree?
--
You received this message because you are subscribed to a topic in the Google Groups "Clean Code Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clean-code-discussion/Or_kcK4DAIA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clean-code-discu...@googlegroups.com.
By adapter I just mean something that finds reports for real.
For me that's where the behaviour sits.
As the actual program I only about the abstraction (port). I know I can ask one of these things for a report.
_How_ an adapter (port implementation) does it I don't mind, but I do want to make sure it gives me the report I want - hence the integration test that skewers just that part.
Thanks again mate.
To unsubscribe from this group and stop receiving emails from it, send an email to clean-code-discussion+unsub...@googlegroups.com.
To post to this group, send email to clean-code-discussion@googlegroups.com.
Visit this group at http://groups.google.com/group/clean-code-discussion.
--
The only way to go fast is to go well.
---
You received this message because you are subscribed to a topic in the Google Groups "Clean Code Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clean-code-discussion/Or_kcK4DAIA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clean-code-discussion+unsub...@googlegroups.com.
To post to this group, send email to clean-code-discussion@googlegroups.com.
Visit this group at http://groups.google.com/group/clean-code-discussion.
--
The only way to go fast is to go well.
---
You received this message because you are subscribed to the Google Groups "Clean Code Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clean-code-discussion+unsub...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to clean-code-discu...@googlegroups.com.