Skip to content

Conversation

yiming-tang-cs
Copy link
Contributor

Copy link
Member

@khatchad khatchad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests must fail since we have not implemented the code for this yet. Please review test driven development https://technologyconversations.com/2013/12/20/test-driven-development-tdd-example-walkthrough/.

@khatchad
Copy link
Member

khatchad commented Jan 3, 2018

Also, just adding test cases never entails changing the functional code.

@khatchad
Copy link
Member

khatchad commented Jan 3, 2018

Also, I am a bit confused about the tests themselves. Do they correspond to the table in the draft? Are we testing the state of the collectors?

@khatchad
Copy link
Member

khatchad commented Jan 3, 2018

BTW, this will not be pulled into master but rather another branch. That way, we can keep master passing.

@yiming-tang-cs
Copy link
Contributor Author

The tests must fail since we have not implemented the code for this yet. Please review test driven development https://technologyconversations.com/2013/12/20/test-driven-development-tdd-example-walkthrough/.

Thank you for your explanation and links. The way to process exceptions in the link needs org.junit.Test which conflicts with junit.framework.Test which is imported by you. Hence, I did not choose it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants