-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add Copy
Command
#131
Add Copy
Command
#131
Conversation
Currently does not support copy to clipboard functionality Copy to clipboard functionality added alongside relevant tests
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #131 +/- ##
============================================
+ Coverage 78.89% 78.98% +0.09%
- Complexity 488 509 +21
============================================
Files 72 73 +1
Lines 1464 1542 +78
Branches 119 136 +17
============================================
+ Hits 1155 1218 +63
- Misses 285 298 +13
- Partials 24 26 +2 ☔ View full report in Codecov by Sentry. |
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've added some preliminary comments, will require further analysis.
Code currently does not conform to certain conventions required Unused print statements removed and defensiveness of code maintained in new logic added
ea1cc53
to
08172ca
Compare
src/test/java/seedu/address/logic/commands/CopyCommandTest.java
Outdated
Show resolved
Hide resolved
src/test/java/seedu/address/logic/commands/CopyCommandTest.java
Outdated
Show resolved
Hide resolved
CopyCommandTest currently does not use default values in personbuilder Default values in PersonBuilder used in test, and refactor for new line spacing
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.
LGTM
copy command should only work on one field and without prepending the field name
CopyCommand returns multiple fields and field names Update to return only field and no field name
Test coverage currently too little Added more tests
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.
LGTM
Modify links to point to repo
Currently does not support copy to clipboard functionality
Copy to clipboard functionality added alongside relevant tests
Closes #121