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

[W5.4r][F09-B4] Liu Hang #926

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Conversation

lh0213
Copy link

@lh0213 lh0213 commented Oct 5, 2017

No description provided.

@louislai
Copy link

louislai commented Oct 6, 2017

@liuhang0213 take note of your team id. @jeffryhartanto tagged you in this PR.

@jeffryhartanto
Copy link

@satyam-cyc Please review this PR.

Copy link

@satyam-cyc satyam-cyc left a comment

Choose a reason for hiding this comment

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

Please add proper IO tests to assess end-to-end correctness of the program.

This is not a requirement for your grade, but is a good exercise to understand the difference between Unit tests and IO tests.

@@ -60,12 +60,24 @@ public void listCommand_parsedCorrectly() {
}

@Test
public void sortCommand_parsedCorrectly() {
public void sortCommand_noArgs_parsedCorrectly() {

Choose a reason for hiding this comment

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

You have successfully implemented Unit tests!

But you still need to add IO tests for your feature.
IO tests help assess the end-to-end correctness of a program.
You will need to add input.txt and expected.txt files along with a batch script to compare your programs output to the expected output.

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.

5 participants