AY2425S1-CS2103-F10-2 / tp

MIT License
0 stars 5 forks source link

Add seed command to populate with sample data #83

Closed liauzhanyi closed 1 week ago

liauzhanyi commented 2 weeks ago

closes #82

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files with missing lines Coverage Δ Complexity Δ
...java/seedu/address/logic/commands/SeedCommand.java 100.00% <100.00%> (ø) 4.00 <4.00> (?)
.../seedu/address/logic/parser/AddressBookParser.java 100.00% <100.00%> (ø) 13.00 <1.00> (+1.00)

... and 1 file with indirect coverage changes

liauzhanyi commented 1 week ago

LGTM! Nit comment: you can add a test case for seed command after deletion of only some of the default people. That way you have 100% codecov, but this is up to you. I manually tested and it works for all situations.

Added test case.