CloudCoders / Design-Patterns

Project for learning and discuss about design patterns
16 stars 1 forks source link

Basic tests #9

Closed tonilopezmr closed 7 years ago

tonilopezmr commented 7 years ago

3 I have opened this issue for refactor @Cotel tests and comment about his work ;)

tonilopezmr commented 7 years ago

This test are okey but @Cotel You have forgotten in Command tests the part more important to test, the Command object xDD

The processor it's like a Commands provider for do an invocation but the interesting part are Commands and how interact with their Receiver and if the command calls right Receiver and more, I'm going to implement some Command in the following commits ⛱

tonilopezmr commented 7 years ago

I have implemented an example of Unit Test for ChooseIngredientCommand 🙉

@Cotel I think you are very interested in give me a review 👍 @ConradoMateu I have used some test doubles 🍭 @frnlpz

Cotel commented 7 years ago

Really illustrating 👍

Cotel commented 7 years ago

giphy

ConradoMateu commented 7 years ago

I will see your tests doubles and i'll comment it.

postdata: Welcome to github Madafacas

tonilopezmr commented 7 years ago

image