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
Updated gradebook delete command #149
Updated gradebook delete command #149
Conversation
tristyxxnana
commented
Oct 23, 2018
- added tests for gradebook add parser
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments to address, but overall a good job 👍 . Please try to use ModuleCode instead of plain strings in a future PR :)
src/main/java/seedu/address/logic/parser/GradebookEditCommandParser.java
Show resolved
Hide resolved
gradebookComponentName, | ||
gradebookMaxMarks, | ||
gradebookWeightage)), | ||
new CommandHistory(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I advise you to break this up by at least creating the Gradebook
object beforehand i.e. above the call to assertCommandSuccess()
. That would improve the readability of your code.
Likewise, you can also create the CommandHistory
object beforehand if you feel it improves readability :)