-
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
Storage v1 #24
Storage v1 #24
Conversation
- Check read and write is complete.
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.
Tested locally, default test cases passed.
Issue when running TestDriver.java locally:
12:14:17 PM: Executing task 'TestDriver.main()'...
Task :compileJava UP-TO-DATE
Task :processResources UP-TO-DATE
Task :classes UP-TO-DATE
Task :TestDriver.main()
Exceptions
BUILD SUCCESSFUL in 0s
3 actionable tasks: 1 executed, 2 up-to-date
Oct 07, 2020 12:14:18 PM seedu.address.commons.util.JsonUtil readJsonFile
INFO: Json file data\testing.json not found
12:14:18 PM: Task execution finished 'TestDriver.main()'.
Data stored in the /data/ won't be included in commit (listed in gitignore).
Perhaps you can move them to src/test/data instead?
Also, I think the TestDriver class should belong somewhere in src/test instead. Classes in src/main are used in running the app itself.
This is not my final copy yet. Just want to run the above tests to see where I need to help. |
…operty. - CliSyntax :--> Include new property for PATH - UserPrefs :--> Include new poperty exerciseBookFilePath
…to accomdate for CommandForExercise Counterpart.
…nto v1.1-storage # Conflicts: # docs/DeveloperGuide.md # docs/UserGuide.md
…nto v1.1-storage # Conflicts: # docs/DeveloperGuide.md # docs/UserGuide.md
…nto v1.1-storage # Conflicts: # docs/DeveloperGuide.md # docs/UserGuide.md
…to Parser<T extends Command> Potential Bugs ArchiveCommandParser should extends Parser<CommandForExercise>
Codecov Report
@@ Coverage Diff @@
## v1.2 #24 +/- ##
============================================
- Coverage 72.31% 63.40% -8.91%
- Complexity 400 451 +51
============================================
Files 70 90 +20
Lines 1228 1585 +357
Branches 124 156 +32
============================================
+ Hits 888 1005 +117
- Misses 308 538 +230
- Partials 32 42 +10
Continue to review full report at Codecov.
|
Tested locally. All storage related tests passed. For TestDriver.java, if I run it multiple times, the data will be stored repeatedly into testingForExercise.json. Is that the desired outcome or should you first clear the file and then store the exercise book? (not sure about this) Otherwise LGTM. |
The TestDriver is created to ensure that I can read and write from the data. |
Read, Write and Archive for ExerciseBook is completed.