From 2a8d5aaceae07c5c6f37f3008eb78e75a1366f7c Mon Sep 17 00:00:00 2001 From: tet54 Date: Mon, 7 Nov 2016 23:41:14 +0800 Subject: [PATCH 1/7] Added SampleData.xml and TestScript.md --- src/test/data/ManualTesting/SampleData.xml | 506 +++++++++++++++++++++ src/test/data/ManualTesting/TestScript.md | 121 +++++ test/data/ManualTesting/SampleData.xml | 505 ++++++++++++++++++++ 3 files changed, 1132 insertions(+) create mode 100644 src/test/data/ManualTesting/SampleData.xml create mode 100644 src/test/data/ManualTesting/TestScript.md create mode 100644 test/data/ManualTesting/SampleData.xml diff --git a/src/test/data/ManualTesting/SampleData.xml b/src/test/data/ManualTesting/SampleData.xml new file mode 100644 index 000000000000..146ea024aedc --- /dev/null +++ b/src/test/data/ManualTesting/SampleData.xml @@ -0,0 +1,506 @@ + + + + 1 + 0 + Attend project meeting + 2016-11-16T00:10:00+08:00 + 2016-11-16T00:12:00+08:00 + High + priority + false + + + 2 + 0 + Go to the gym + Medium + priority + false + + + 3 + 0 + Swimming session + Low + priority + false + + + 4 + 0 + Project deadline + 2016-12-01T00:00:00+08:00 + High + false + + + 5 + 0 + Homework submission deadline + 2016-11-16T00:00:00+08:00 + Medium + false + + + 6 + 0 + Christmas shopping + 2016-12-05T00:13:00+08:00 + 2016-12-05T00:16:00+08:00 + Medium + false + + + 7 + 0 + Send out party invites + 2016-11-29T00:11:00+08:00 + 2016-11-29T00:13:00+08:00 + Medium + false + + + 8 + 0 + Create presentation slides + 2016-01-01T00:00:00+08:00 + Medium + true + + + 9 + 0 + Run marathon + 2016-01-01T00:00:00+08:00 + Medium + false + City Hall + Standard Chartered Marathon + + + 10 + 0 + Make demo video + 2016-11-19T00:10:00+08:00 + 2016-11-19T00:12:00+08:00 + Medium + false + + + 11 + 0 + Finish CS2010 PS6 + 2016-11-09T00:00:00+08:00 + High + false + CodeCrunch + Complete search problem + + + 12 + 0 + Swimming Lesson + 2016-11-26T12:00:00+08:00 + 2016-11-26T15:00:00+08:00 + Medium + false + Tampines Swimming Pool + Teach butterfly stroke to students + + + 13 + 0 + Study for CS2105 midterms + 2016-10-15T00:00:00+08:00 + High + true + National Library + Lectures 1 to 5 + + + 14 + 0 + Study for CS2010 midterms + 2016-10-26T15:00:00+08:00 + High + true + NUS Central Library + Lectures 1 to 6 + + + 15 + 0 + Watch YouTube videos + 2016-05-01T16:00:00+08:00 + Low + true + At home + + + 16 + 0 + Watch Dr Strange movie + 2016-11-09T16:00:00+08:00 + 2016-11-09T18:30:00+08:00 + Low + true + Cathay JEM + Stay back for 2 end credit scenes + + + 17 + 0 + Practice piano + 2016-11-14T15:00:00+08:00 + 2016-11-14T16:30:00+08:00 + Medium + false + Home + Chopin, Beethoven, Mozart scores + + + 18 + 0 + Bring brother to playground + 2016-11-24T12:00:00+08:00 + 2016-11-24T15:00:00+08:00 + Medium + false + Woodlands Blk 401 + Pick up his friends along the way + + + 19 + 0 + Study for CS2105 finals + 2016-11-26T00:00:00+08:00 + High + false + National Library + Lectures 1 to 11 + + + 20 + 0 + Study for CS2010 finals + 2016-11-28T00:00:00+08:00 + High + false + COM1 Level 2 + Lectures 1 to 11 + + + 21 + 0 + Practice for Math Olympiad + 2016-12-08T00:00:00+08:00 + High + false + S17 + Do past year papers + + + 22 + 0 + Bring grandparents out + 2016-12-14T12:00:00+08:00 + 2016-12-14T15:00:00+08:00 + Medium + false + Gardens by the Bay + Visit the Flower Dome + + + 23 + 0 + Set up dinner with OG + 2016-12-02T18:00:00+08:00 + 2016-12-02T20:00:00+08:00 + Medium + false + Bugis + Steamboat, get table for 9 + + + 24 + 0 + Play Call of Duty + 2016-12-03T12:00:00+08:00 + 2016-12-03T15:00:00+08:00 + Low + false + Home + on Playstation 4 + + + 25 + 0 + Print out lecture notes + 2016-10-28T12:00:00+08:00 + 2016-10-28T12:30:00+08:00 + Medium + true + COM1 Level 1 + Print for CS2106 + + + 26 + 0 + Do Math Homework 4 + 2016-11-07T19:00:00+08:00 + 2016-11-07T21:00:00+08:00 + High + false + PGP study room + Practice MATLAB + + + 27 + 0 + Buy chocolates for Easter + 2016-11-11T12:00:00+08:00 + 2016-11-11T13:00:00+08:00 + Medium + false + Takashimaya + Find Japanese chocolates + + + 28 + 0 + Pay hostel fees + 2016-11-07T12:00:00+08:00 + 2016-11-07T12:15:00+08:00 + High + false + Hostel Management Office + Bring credit card + + + 29 + 0 + Apply for vacation stay + 2016-11-18T00:00:00+08:00 + Medium + false + + + 30 + 0 + Make poster for Orbital + 2016-08-12T09:00:00+08:00 + 2016-08-12T13:00:00+08:00 + High + true + COM1 + Print out A3 size at printing area + + + 31 + 0 + Tea appreciation session + 2016-12-12T12:00:00+08:00 + 2016-12-12T16:00:00+08:00 + Medium + false + Teahouse @ Bugis + 300 different teas to try + + + 32 + 0 + Go prawning + 2016-12-19T17:00:00+08:00 + 2016-12-19T19:00:00+08:00 + Medium + false + Bugis + Get 2 rods and live bait + + + 33 + 0 + Buy new iPhone + 2016-12-21T12:00:00+08:00 + 2016-12-21T13:00:00+08:00 + Medium + false + Orchard Road + get iPhone 7 Plus 128GB + + + 34 + 0 + Deposit money in bank + 2016-12-04T13:00:00+08:00 + 2016-12-04T13:30:00+08:00 + Medium + false + DBS Bank + Deposit paycheck + + + 35 + 0 + Book flight tickets + 2016-11-22T15:00:00+08:00 + Medium + false + Online + Book 2 tickets to San Francisco + + + 36 + 0 + Buy new camera for trip + 2016-11-22T17:00:00+08:00 + Medium + false + Orchard Road + Get a GoPro Hero 5 + + + 37 + 0 + Go to motor exhibition + 2016-12-19T10:00:00+08:00 + 2016-12-19T15:00:00+08:00 + Low + false + Suntec Convention Center + Bring $50 for tickets + + + 38 + 0 + Go grocery shopping + 2016-11-10T13:00:00+08:00 + 2016-11-10T16:00:00+08:00 + Medium + false + NTUC Fairprice + Replace toiletries and food + + + 39 + 0 + Buy souvenirs for foreign guests + 2016-12-27T12:00:00+08:00 + 2016-12-27T15:00:00+08:00 + Medium + false + Marina Bay Sands + Get Singapore specific items + + + 40 + 0 + Watch concert + 2016-12-29T19:00:00+08:00 + 2016-12-29T122:00:00+08:00 + Low + false + Esplanade + Bring jacket + + + 41 + 0 + Submit assignment + 2016-09-01T00:00:00+08:00 + High + true + + + 42 + 0 + Finish tutorial + 2016-09-04T00:00:00+08:00 + Medium + true + + + 43 + 0 + Buy Turkey for Thanksgiving + 2016-12-22T00:00:00+08:00 + Medium + Cold Storage + false + + + 44 + 0 + Buy new furniture + 2016-12-26T12:00:00+08:00 + 2016-12-26T15:00:00+08:00 + Medium + false + IKEA Tampines + Get a chair and study lamp + + + 45 + 0 + Play badminton + 2016-12-06T12:00:00+08:00 + 2016-12-06T14:00:00+08:00 + Low + false + Kovan Sports Hub + Bring own shuttlecocks + + + 46 + 0 + Play tennis + 2016-12-05T12:00:00+08:00 + 2016-12-05T14:00:00+08:00 + Low + false + Kovan Sports Hub + Bring own tennis balls + + + 47 + 0 + Go for fish spa + 2016-12-08T13:00:00+08:00 + 2016-12-08T15:00:00+08:00 + Low + false + Bugis + Bring towel + + + 48 + 0 + Go for massage + 2016-12-02T12:00:00+08:00 + 2016-12-02T15:00:00+08:00 + Low + false + JB + Get premium package + + + 49 + 0 + Bring dog to vet + 2016-11-09T13:00:00+08:00 + 2016-11-09T14:00:00+08:00 + High + false + Clementi Vet + Dog displaying allergy symptoms + + + 50 + 0 + Return library books + 2016-12-07T00:00:00+08:00 + High + false + + \ No newline at end of file diff --git a/src/test/data/ManualTesting/TestScript.md b/src/test/data/ManualTesting/TestScript.md new file mode 100644 index 000000000000..abe3551c4eb4 --- /dev/null +++ b/src/test/data/ManualTesting/TestScript.md @@ -0,0 +1,121 @@ +# Manual Scripted Testing + +## How to load the sample data + +1. Download saavytasker.jar +1. Download the [SampleData.xml](/test/data/ManualTesting/SampleData.xml) file +2. Make a copy, and rename it is to 'savvytasker.xml' +3. Copy 'savvytasker.xml' and overwrite the same named file \data\savvytasker.xml +4. Launch savvytasker.jar + +## Test script + +1. List tasks + +* List all tasks: 'list' or Ctrl + L +> Lists all currently unmarked/ongoing tasks, according to due date. +> All floating tasks are listed after tasks with dates, according to the order they were entered. + +* List all tasks by priority level: 'list priority level' or Ctrl + P + +* List all marked tasks: 'list archived' or Ctrl + A +> Lists all marked/completed tasks. + +2. Adding new tasks + +* Add a task: 'add Buy groceries' +> New task will be added to end of unmarked list, with a default 'Medium' priority level (yellow in color). +> Task will be added as a 'Floating Task'. + +* Add a task with a deadline and High priority level: 'add Submit assignment e/11-11-16 8pm p/High' +> New task will be added, with a 'High' priority level (red in color), and end date of 11 Nov 2016, 8pm. +> Start date will be defaulted to current date 12am. + +* Add a task with a Low priority level: 'add Watch a movie p/Low' +> New task will be added, with a 'Low' priority level (green in color). +> Task wil be added as a 'Floating Task'. + +* Add a task with a start date, end date, location, and description: 'add Attend dance class s/8-11-16 5pm e/8-11-16 7pm l/Bugis dance studio d/Salsa class' +> New task will be added, with respective start date, end date, location, and description. +> Task will be added to the respective dates on the calendar. + +* Add an overdue task: 'add Study for midterms s/6-10-16' +> New task will be added, end date will be defaulted to 23:59:59 of the start date. +> Task will be added as an overdue task. + +3. Deleting tasks + +* Delete a task: 'delete 1' +> Removes the task listed at index 1 (Go to the gym). + +* Delete multiple tasks: 'delete 1 2 3' +> Removes the tasks listed at indexes 1, 2 and 3 (Swimming session, Project deadline, Homework submission deadline). + +4. Undo commands + +* Undo last command: 'undo' or Ctrl + Z +> The last 'delete 1 2 3' command is undone, and all 3 deleted tasks are added back. + +5. Redo commands + +* Redo the last undone command: 'redo' or Ctrl + Y +> The last undone 'delete 1 2 3' command is redone, so all 3 tasks are deleted again. + +6. Modify tasks + +* Modify a task: 'modify 1 t/Buy working supplies s/11-10-16 3pm e/11-10-16 4pm l/Popular Bookstore d/Pens p/Low' +> Changes the task listed at index 1 (Christmas shopping) to Buy working supplies, with new start date Nov 10 3pm and end date Nov 10 4pm, and priority level changed to 'Low'. +> Also adds a new location: Popular Bookstore, and new description: Pens. + +7. Alias command + +* Alias a keyword: 'alias k/pjm r/Project Meeting' 'add pjm' +> Future instances of 'pjm' will be recognized as 'Project Meeting'. +> A new task 'Project Meeting' will be added to the end of the list. + +* Alias a command: 'alias k/++ r/add' '++ pjm' +> Future instances of '++' will be recognized as an 'add' command. +> A new task 'Project Meeting' will be added to the end of the list. + +* View aliased keys: 'list alias' or Ctrl + I +> Lists all aliased keys (pjm, ++). + +8. Unalias command + +* Unalias an aliased keyword: 'unalias pjm' 'add pjm' +> Future instances of 'pjm' will no longer be recognized as 'Project Meeting'. +> A new task 'pjm' will be added to the end of the list. + +9. Mark a task + +* Mark a completed task: 'mark 1' +> Marks the task listed at index 1 (Buy working supplies). +> The newly marked task is relisted on the archived list. + +10. Unmark a task + +* Unmark a previously marked task: 'list archived' 'unmark 1' +> Shows the list of marked/archived tasks. +> Unmarks the task listed at index 1 (Buy working supplies). +> The newly unmarked task relists on the unmarked task list. + +11. Find a task + +* Find tasks containing keywords: 'find gro' +> Shows all unmarked/unarchived tasks containing the keyword 'gro' (Bring brother to playground, Go grocery shopping, Buy groceries). + +* Find tasks containing exact match: 'find t/exact buy groceries' +> Shows the task(s) containing the exact phrase: 'buy groceries', not case sensitive. + +12. Clear all tasks + +* Clear all tasks: 'clear' or Ctrl + D +> Deletes all data from all lists. + +13. Other commands + +* View help: 'help' or Ctrl + H +> Opens the help window. + +* Exit the app: 'exit' or Ctrl + Q +> Exits the SaavyTasker app. diff --git a/test/data/ManualTesting/SampleData.xml b/test/data/ManualTesting/SampleData.xml new file mode 100644 index 000000000000..c88f59971511 --- /dev/null +++ b/test/data/ManualTesting/SampleData.xml @@ -0,0 +1,505 @@ + + + + 1 + 0 + Attend project meeting + 2016-11-16T00:10:00+08:00 + 2016-11-16T00:12:00+08:00 + High + priority + false + + + 2 + 0 + Go to the gym + Medium + priority + false + + + 3 + 0 + Swimming session + Low + priority + false + + + 4 + 0 + Project deadline + 2016-12-01T00:00:00+08:00 + High + false + + + 5 + 0 + Homework submission deadline + 2016-11-16T00:00:00+08:00 + Medium + false + + + 6 + 0 + Christmas shopping + 2016-12-05T00:13:00+08:00 + 2016-12-05T00:16:00+08:00 + Medium + false + + + 7 + 0 + Send out party invites + 2016-11-29T00:11:00+08:00 + 2016-11-29T00:13:00+08:00 + Medium + false + + + 8 + 0 + Create presentation slides + 2016-01-01T00:00:00+08:00 + Medium + true + + + 9 + 0 + Run marathon + 2016-01-01T00:00:00+08:00 + City Hall + Medium + Standard Chartered Marathon + false + + + 10 + 0 + Make demo video + 2016-11-19T00:10:00+08:00 + 2016-11-19T00:12:00+08:00 + Medium + false + + + 11 + 0 + Finish CS2010 PS6 + 2016-11-09T00:00:00+08:00 + CodeCrunch + High + Complete search problem + false + + + 12 + 0 + Swimming Lesson + 2016-11-26T12:00:00+08:00 + 2016-11-26T15:00:00+08:00 + Tampines Swimming Pool + Medium + Teach butterfly stroke to students + false + + + 13 + 0 + Study for CS2105 midterms + 2016-10-15T00:00:00+08:00 + National Library + High + Lectures 1 to 5 + true + + + 14 + 0 + Study for CS2010 midterms + 2016-10-26T15:00:00+08:00 + NUS Central Library + High + Lectures 1 to 6 + true + + + 15 + 0 + Watch YouTube videos + 2016-05-01T16:00:00+08:00 + At home + Low + true + + + 16 + 0 + Watch Dr Strange movie + 2016-11-09T16:00:00+08:00 + 2016-11-09T18:30:00+08:00 + Cathay JEM + Low + Stay back for 2 end credit scenes + true + + + 17 + 0 + Practice piano + 2016-11-14T15:00:00+08:00 + 2016-11-14T16:30:00+08:00 + Home + Medium + Chopin, Beethoven, Mozart scores + false + + + 18 + 0 + Bring brother to playground + 2016-11-24T12:00:00+08:00 + 2016-11-24T15:00:00+08:00 + Woodlands Blk 401 + Medium + Pick up his friends along the way + false + + + 19 + 0 + Study for CS2105 finals + 2016-11-26T00:00:00+08:00 + National Library + High + Lectures 1 to 11 + false + + + 20 + 0 + Study for CS2010 finals + 2016-11-28T00:00:00+08:00 + COM1 Level 2 + High + Lectures 1 to 11 + false + + + 21 + 0 + Practice for Math Olympiad + 2016-12-08T00:00:00+08:00 + S17 + High + Do past year papers + false + + + 22 + 0 + Bring grandparents out + 2016-12-14T12:00:00+08:00 + 2016-12-14T15:00:00+08:00 + Gardens by the Bay + Medium + Visit the Flower Dome + false + + + 23 + 0 + Set up dinner with OG + 2016-12-02T18:00:00+08:00 + 2016-12-02T20:00:00+08:00 + Bugis + Medium + Steamboat, get table for 9 + false + + + 24 + 0 + Play Call of Duty + 2016-12-03T12:00:00+08:00 + 2016-12-03T15:00:00+08:00 + Home + Low + on Playstation 4 + false + + + 25 + 0 + Print out lecture notes + 2016-10-28T12:00:00+08:00 + 2016-10-28T12:30:00+08:00 + COM1 Level 1 + Medium + Print for CS2106 + true + + + 26 + 0 + Do Math Homework 4 + 2016-11-07T19:00:00+08:00 + 2016-11-07T21:00:00+08:00 + PGP study room + High + Practice MATLAB + false + + + 27 + 0 + Buy chocolates for Easter + 2016-11-11T12:00:00+08:00 + 2016-11-11T13:00:00+08:00 + Takashimaya + Medium + Find Japanese chocolates + false + + + 28 + 0 + Pay hostel fees + 2016-11-07T12:00:00+08:00 + 2016-11-07T12:15:00+08:00 + Hostel Management Office + High + Bring credit card + false + + + 29 + 0 + Apply for vacation stay + 2016-11-18T00:00:00+08:00 + Medium + false + + + 30 + 0 + Make poster for Orbital + 2016-08-12T09:00:00+08:00 + 2016-08-12T13:00:00+08:00 + COM1 + High + Print out A3 size at printing area + true + + + 31 + 0 + Tea appreciation session + 2016-12-12T12:00:00+08:00 + 2016-12-12T16:00:00+08:00 + Teahouse @ Bugis + Medium + 300 different teas to try + false + + + 32 + 0 + Go prawning + 2016-12-19T17:00:00+08:00 + 2016-12-19T19:00:00+08:00 + Bugis + Medium + Get 2 rods and live bait + false + + + 33 + 0 + Buy new iPhone + 2016-12-21T12:00:00+08:00 + 2016-12-21T13:00:00+08:00 + Orchard Road + Medium + get iPhone 7 Plus 128GB + false + + + 34 + 0 + Deposit money in bank + 2016-12-04T13:00:00+08:00 + 2016-12-04T13:30:00+08:00 + DBS Bank + Medium + Deposit paycheck + false + + + 35 + 0 + Book flight tickets + 2016-11-22T15:00:00+08:00 + Online + Medium + Book 2 tickets to San Francisco + false + + + 36 + 0 + Buy new camera for trip + 2016-11-22T17:00:00+08:00 + Orchard Road + Medium + Get a GoPro Hero 5 + false + + + 37 + 0 + Go to motor exhibition + 2016-12-19T10:00:00+08:00 + 2016-12-19T15:00:00+08:00 + Suntec Convention Center + Low + Bring $50 for tickets + false + + + 38 + 0 + Go grocery shopping + 2016-11-10T13:00:00+08:00 + 2016-11-10T16:00:00+08:00 + NTUC Fairprice + Medium + Replace toiletries and food + false + + + 39 + 0 + Buy souvenirs for foreign guests + 2016-12-27T12:00:00+08:00 + 2016-12-27T15:00:00+08:00 + Marina Bay Sands + Medium + Get Singapore specific items + false + + + 40 + 0 + Watch concert + 2016-12-29T19:00:00+08:00 + Esplanade + Low + Bring jacket + false + + + 41 + 0 + Submit assignment + 2016-09-01T00:00:00+08:00 + High + true + + + 42 + 0 + Finish tutorial + 2016-09-04T00:00:00+08:00 + Medium + true + + + 43 + 0 + Buy Turkey for Thanksgiving + 2016-12-22T00:00:00+08:00 + Cold Storage + Medium + false + + + 44 + 0 + Buy new furniture + 2016-12-26T12:00:00+08:00 + 2016-12-26T15:00:00+08:00 + IKEA Tampines + Medium + Get a chair and study lamp + false + + + 45 + 0 + Play badminton + 2016-12-06T12:00:00+08:00 + 2016-12-06T14:00:00+08:00 + Kovan Sports Hub + Low + Bring own shuttlecocks + false + + + 46 + 0 + Play tennis + 2016-12-05T12:00:00+08:00 + 2016-12-05T14:00:00+08:00 + Kovan Sports Hub + Low + Bring own tennis balls + false + + + 47 + 0 + Go for fish spa + 2016-12-08T13:00:00+08:00 + 2016-12-08T15:00:00+08:00 + Bugis + Low + Bring towel + false + + + 48 + 0 + Go for massage + 2016-12-02T12:00:00+08:00 + 2016-12-02T15:00:00+08:00 + JB + Low + Get premium package + false + + + 49 + 0 + Bring dog to vet + 2016-11-09T13:00:00+08:00 + 2016-11-09T14:00:00+08:00 + Clementi Vet + High + Dog displaying allergy symptoms + false + + + 50 + 0 + Return library books + 2016-12-07T00:00:00+08:00 + High + false + + From a4399dc3287f79e5e4c56fb23f8f1df0b7b6df13 Mon Sep 17 00:00:00 2001 From: tet54 Date: Mon, 7 Nov 2016 23:45:02 +0800 Subject: [PATCH 2/7] Added SampleData.xml and TestScript.md --- SampleData.xml | 0 test/data/ManualTesting/TestScript.md | 121 ++++++++++++++++++++++++++ 2 files changed, 121 insertions(+) create mode 100644 SampleData.xml create mode 100644 test/data/ManualTesting/TestScript.md diff --git a/SampleData.xml b/SampleData.xml new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/test/data/ManualTesting/TestScript.md b/test/data/ManualTesting/TestScript.md new file mode 100644 index 000000000000..abe3551c4eb4 --- /dev/null +++ b/test/data/ManualTesting/TestScript.md @@ -0,0 +1,121 @@ +# Manual Scripted Testing + +## How to load the sample data + +1. Download saavytasker.jar +1. Download the [SampleData.xml](/test/data/ManualTesting/SampleData.xml) file +2. Make a copy, and rename it is to 'savvytasker.xml' +3. Copy 'savvytasker.xml' and overwrite the same named file \data\savvytasker.xml +4. Launch savvytasker.jar + +## Test script + +1. List tasks + +* List all tasks: 'list' or Ctrl + L +> Lists all currently unmarked/ongoing tasks, according to due date. +> All floating tasks are listed after tasks with dates, according to the order they were entered. + +* List all tasks by priority level: 'list priority level' or Ctrl + P + +* List all marked tasks: 'list archived' or Ctrl + A +> Lists all marked/completed tasks. + +2. Adding new tasks + +* Add a task: 'add Buy groceries' +> New task will be added to end of unmarked list, with a default 'Medium' priority level (yellow in color). +> Task will be added as a 'Floating Task'. + +* Add a task with a deadline and High priority level: 'add Submit assignment e/11-11-16 8pm p/High' +> New task will be added, with a 'High' priority level (red in color), and end date of 11 Nov 2016, 8pm. +> Start date will be defaulted to current date 12am. + +* Add a task with a Low priority level: 'add Watch a movie p/Low' +> New task will be added, with a 'Low' priority level (green in color). +> Task wil be added as a 'Floating Task'. + +* Add a task with a start date, end date, location, and description: 'add Attend dance class s/8-11-16 5pm e/8-11-16 7pm l/Bugis dance studio d/Salsa class' +> New task will be added, with respective start date, end date, location, and description. +> Task will be added to the respective dates on the calendar. + +* Add an overdue task: 'add Study for midterms s/6-10-16' +> New task will be added, end date will be defaulted to 23:59:59 of the start date. +> Task will be added as an overdue task. + +3. Deleting tasks + +* Delete a task: 'delete 1' +> Removes the task listed at index 1 (Go to the gym). + +* Delete multiple tasks: 'delete 1 2 3' +> Removes the tasks listed at indexes 1, 2 and 3 (Swimming session, Project deadline, Homework submission deadline). + +4. Undo commands + +* Undo last command: 'undo' or Ctrl + Z +> The last 'delete 1 2 3' command is undone, and all 3 deleted tasks are added back. + +5. Redo commands + +* Redo the last undone command: 'redo' or Ctrl + Y +> The last undone 'delete 1 2 3' command is redone, so all 3 tasks are deleted again. + +6. Modify tasks + +* Modify a task: 'modify 1 t/Buy working supplies s/11-10-16 3pm e/11-10-16 4pm l/Popular Bookstore d/Pens p/Low' +> Changes the task listed at index 1 (Christmas shopping) to Buy working supplies, with new start date Nov 10 3pm and end date Nov 10 4pm, and priority level changed to 'Low'. +> Also adds a new location: Popular Bookstore, and new description: Pens. + +7. Alias command + +* Alias a keyword: 'alias k/pjm r/Project Meeting' 'add pjm' +> Future instances of 'pjm' will be recognized as 'Project Meeting'. +> A new task 'Project Meeting' will be added to the end of the list. + +* Alias a command: 'alias k/++ r/add' '++ pjm' +> Future instances of '++' will be recognized as an 'add' command. +> A new task 'Project Meeting' will be added to the end of the list. + +* View aliased keys: 'list alias' or Ctrl + I +> Lists all aliased keys (pjm, ++). + +8. Unalias command + +* Unalias an aliased keyword: 'unalias pjm' 'add pjm' +> Future instances of 'pjm' will no longer be recognized as 'Project Meeting'. +> A new task 'pjm' will be added to the end of the list. + +9. Mark a task + +* Mark a completed task: 'mark 1' +> Marks the task listed at index 1 (Buy working supplies). +> The newly marked task is relisted on the archived list. + +10. Unmark a task + +* Unmark a previously marked task: 'list archived' 'unmark 1' +> Shows the list of marked/archived tasks. +> Unmarks the task listed at index 1 (Buy working supplies). +> The newly unmarked task relists on the unmarked task list. + +11. Find a task + +* Find tasks containing keywords: 'find gro' +> Shows all unmarked/unarchived tasks containing the keyword 'gro' (Bring brother to playground, Go grocery shopping, Buy groceries). + +* Find tasks containing exact match: 'find t/exact buy groceries' +> Shows the task(s) containing the exact phrase: 'buy groceries', not case sensitive. + +12. Clear all tasks + +* Clear all tasks: 'clear' or Ctrl + D +> Deletes all data from all lists. + +13. Other commands + +* View help: 'help' or Ctrl + H +> Opens the help window. + +* Exit the app: 'exit' or Ctrl + Q +> Exits the SaavyTasker app. From bf18b2465444afb219c21ed6c0a8eea1b7e8b094 Mon Sep 17 00:00:00 2001 From: tet54 Date: Mon, 7 Nov 2016 23:55:50 +0800 Subject: [PATCH 3/7] Changed formatting + location of files --- src/test/data/ManualTesting/SampleData.xml | 149 +++--- src/test/data/ManualTesting/TestScript.md | 78 ++-- test/data/ManualTesting/SampleData.xml | 505 --------------------- test/data/ManualTesting/TestScript.md | 121 ----- 4 files changed, 113 insertions(+), 740 deletions(-) delete mode 100644 test/data/ManualTesting/SampleData.xml delete mode 100644 test/data/ManualTesting/TestScript.md diff --git a/src/test/data/ManualTesting/SampleData.xml b/src/test/data/ManualTesting/SampleData.xml index 146ea024aedc..c88f59971511 100644 --- a/src/test/data/ManualTesting/SampleData.xml +++ b/src/test/data/ManualTesting/SampleData.xml @@ -46,7 +46,7 @@ 6 0 Christmas shopping - 2016-12-05T00:13:00+08:00 + 2016-12-05T00:13:00+08:00 2016-12-05T00:16:00+08:00 Medium false @@ -73,10 +73,10 @@ 0 Run marathon 2016-01-01T00:00:00+08:00 - Medium - false City Hall + Medium Standard Chartered Marathon + false 10 @@ -92,10 +92,10 @@ 0 Finish CS2010 PS6 2016-11-09T00:00:00+08:00 - High - false CodeCrunch + High Complete search problem + false 12 @@ -103,39 +103,39 @@ Swimming Lesson 2016-11-26T12:00:00+08:00 2016-11-26T15:00:00+08:00 - Medium - false Tampines Swimming Pool + Medium Teach butterfly stroke to students + false 13 0 Study for CS2105 midterms 2016-10-15T00:00:00+08:00 - High - true National Library + High Lectures 1 to 5 + true 14 0 Study for CS2010 midterms 2016-10-26T15:00:00+08:00 - High - true NUS Central Library + High Lectures 1 to 6 + true 15 0 Watch YouTube videos 2016-05-01T16:00:00+08:00 + At home Low true - At home 16 @@ -143,10 +143,10 @@ Watch Dr Strange movie 2016-11-09T16:00:00+08:00 2016-11-09T18:30:00+08:00 - Low - true Cathay JEM + Low Stay back for 2 end credit scenes + true 17 @@ -154,10 +154,10 @@ Practice piano 2016-11-14T15:00:00+08:00 2016-11-14T16:30:00+08:00 - Medium - false Home + Medium Chopin, Beethoven, Mozart scores + false 18 @@ -165,40 +165,40 @@ Bring brother to playground 2016-11-24T12:00:00+08:00 2016-11-24T15:00:00+08:00 - Medium - false Woodlands Blk 401 + Medium Pick up his friends along the way + false 19 0 Study for CS2105 finals 2016-11-26T00:00:00+08:00 - High - false National Library + High Lectures 1 to 11 + false 20 0 Study for CS2010 finals 2016-11-28T00:00:00+08:00 - High - false COM1 Level 2 + High Lectures 1 to 11 + false 21 0 Practice for Math Olympiad 2016-12-08T00:00:00+08:00 - High - false S17 + High Do past year papers + false 22 @@ -206,10 +206,10 @@ Bring grandparents out 2016-12-14T12:00:00+08:00 2016-12-14T15:00:00+08:00 - Medium - false Gardens by the Bay + Medium Visit the Flower Dome + false 23 @@ -217,10 +217,10 @@ Set up dinner with OG 2016-12-02T18:00:00+08:00 2016-12-02T20:00:00+08:00 - Medium - false Bugis + Medium Steamboat, get table for 9 + false 24 @@ -228,10 +228,10 @@ Play Call of Duty 2016-12-03T12:00:00+08:00 2016-12-03T15:00:00+08:00 - Low - false Home + Low on Playstation 4 + false 25 @@ -239,10 +239,10 @@ Print out lecture notes 2016-10-28T12:00:00+08:00 2016-10-28T12:30:00+08:00 - Medium - true COM1 Level 1 + Medium Print for CS2106 + true 26 @@ -250,10 +250,10 @@ Do Math Homework 4 2016-11-07T19:00:00+08:00 2016-11-07T21:00:00+08:00 - High - false PGP study room + High Practice MATLAB + false 27 @@ -261,10 +261,10 @@ Buy chocolates for Easter 2016-11-11T12:00:00+08:00 2016-11-11T13:00:00+08:00 - Medium - false Takashimaya + Medium Find Japanese chocolates + false 28 @@ -272,10 +272,10 @@ Pay hostel fees 2016-11-07T12:00:00+08:00 2016-11-07T12:15:00+08:00 - High - false Hostel Management Office + High Bring credit card + false 29 @@ -291,10 +291,10 @@ Make poster for Orbital 2016-08-12T09:00:00+08:00 2016-08-12T13:00:00+08:00 - High - true COM1 + High Print out A3 size at printing area + true 31 @@ -302,10 +302,10 @@ Tea appreciation session 2016-12-12T12:00:00+08:00 2016-12-12T16:00:00+08:00 - Medium - false Teahouse @ Bugis + Medium 300 different teas to try + false 32 @@ -313,10 +313,10 @@ Go prawning 2016-12-19T17:00:00+08:00 2016-12-19T19:00:00+08:00 - Medium - false Bugis + Medium Get 2 rods and live bait + false 33 @@ -324,10 +324,10 @@ Buy new iPhone 2016-12-21T12:00:00+08:00 2016-12-21T13:00:00+08:00 - Medium - false Orchard Road + Medium get iPhone 7 Plus 128GB + false 34 @@ -335,30 +335,30 @@ Deposit money in bank 2016-12-04T13:00:00+08:00 2016-12-04T13:30:00+08:00 - Medium - false DBS Bank + Medium Deposit paycheck + false 35 0 Book flight tickets 2016-11-22T15:00:00+08:00 - Medium - false Online + Medium Book 2 tickets to San Francisco + false 36 0 Buy new camera for trip 2016-11-22T17:00:00+08:00 - Medium - false Orchard Road + Medium Get a GoPro Hero 5 + false 37 @@ -366,10 +366,10 @@ Go to motor exhibition 2016-12-19T10:00:00+08:00 2016-12-19T15:00:00+08:00 - Low - false Suntec Convention Center + Low Bring $50 for tickets + false 38 @@ -377,10 +377,10 @@ Go grocery shopping 2016-11-10T13:00:00+08:00 2016-11-10T16:00:00+08:00 - Medium - false NTUC Fairprice + Medium Replace toiletries and food + false 39 @@ -388,21 +388,20 @@ Buy souvenirs for foreign guests 2016-12-27T12:00:00+08:00 2016-12-27T15:00:00+08:00 - Medium - false Marina Bay Sands + Medium Get Singapore specific items + false 40 0 Watch concert 2016-12-29T19:00:00+08:00 - 2016-12-29T122:00:00+08:00 - Low - false Esplanade + Low Bring jacket + false 41 @@ -425,8 +424,8 @@ 0 Buy Turkey for Thanksgiving 2016-12-22T00:00:00+08:00 - Medium Cold Storage + Medium false @@ -435,10 +434,10 @@ Buy new furniture 2016-12-26T12:00:00+08:00 2016-12-26T15:00:00+08:00 - Medium - false IKEA Tampines + Medium Get a chair and study lamp + false 45 @@ -446,10 +445,10 @@ Play badminton 2016-12-06T12:00:00+08:00 2016-12-06T14:00:00+08:00 - Low - false Kovan Sports Hub + Low Bring own shuttlecocks + false 46 @@ -457,10 +456,10 @@ Play tennis 2016-12-05T12:00:00+08:00 2016-12-05T14:00:00+08:00 - Low - false Kovan Sports Hub + Low Bring own tennis balls + false 47 @@ -468,10 +467,10 @@ Go for fish spa 2016-12-08T13:00:00+08:00 2016-12-08T15:00:00+08:00 - Low - false Bugis + Low Bring towel + false 48 @@ -479,10 +478,10 @@ Go for massage 2016-12-02T12:00:00+08:00 2016-12-02T15:00:00+08:00 - Low - false JB + Low Get premium package + false 49 @@ -490,10 +489,10 @@ Bring dog to vet 2016-11-09T13:00:00+08:00 2016-11-09T14:00:00+08:00 - High - false Clementi Vet + High Dog displaying allergy symptoms + false 50 @@ -503,4 +502,4 @@ High false - \ No newline at end of file + diff --git a/src/test/data/ManualTesting/TestScript.md b/src/test/data/ManualTesting/TestScript.md index abe3551c4eb4..0fa029ed36b5 100644 --- a/src/test/data/ManualTesting/TestScript.md +++ b/src/test/data/ManualTesting/TestScript.md @@ -4,118 +4,118 @@ 1. Download saavytasker.jar 1. Download the [SampleData.xml](/test/data/ManualTesting/SampleData.xml) file -2. Make a copy, and rename it is to 'savvytasker.xml' -3. Copy 'savvytasker.xml' and overwrite the same named file \data\savvytasker.xml +2. Make a copy, and rename it is to `savvytasker.xml` +3. Copy `savvytasker.xml` and overwrite the same named file \data\savvytasker.xml 4. Launch savvytasker.jar ## Test script 1. List tasks -* List all tasks: 'list' or Ctrl + L +- List all tasks: `list` or Ctrl + L > Lists all currently unmarked/ongoing tasks, according to due date. > All floating tasks are listed after tasks with dates, according to the order they were entered. -* List all tasks by priority level: 'list priority level' or Ctrl + P +- List all tasks by priority level: `list priority level` or Ctrl + P -* List all marked tasks: 'list archived' or Ctrl + A +- List all marked tasks: `list archived` or Ctrl + A > Lists all marked/completed tasks. 2. Adding new tasks -* Add a task: 'add Buy groceries' -> New task will be added to end of unmarked list, with a default 'Medium' priority level (yellow in color). -> Task will be added as a 'Floating Task'. +- Add a task: `add Buy groceries` +> New task will be added to end of unmarked list, with a default `Medium` priority level (yellow in color). +> Task will be added as a `Floating Task`. -* Add a task with a deadline and High priority level: 'add Submit assignment e/11-11-16 8pm p/High' -> New task will be added, with a 'High' priority level (red in color), and end date of 11 Nov 2016, 8pm. +- Add a task with a deadline and High priority level: `add Submit assignment e/11-11-16 8pm p/High` +> New task will be added, with a `High` priority level (red in color), and end date of 11 Nov 2016, 8pm. > Start date will be defaulted to current date 12am. -* Add a task with a Low priority level: 'add Watch a movie p/Low' -> New task will be added, with a 'Low' priority level (green in color). -> Task wil be added as a 'Floating Task'. +- Add a task with a Low priority level: `add Watch a movie p/Low` +> New task will be added, with a `Low` priority level (green in color). +> Task wil be added as a `Floating Task`. -* Add a task with a start date, end date, location, and description: 'add Attend dance class s/8-11-16 5pm e/8-11-16 7pm l/Bugis dance studio d/Salsa class' +- Add a task with a start date, end date, location, and description: `add Attend dance class s/8-11-16 5pm e/8-11-16 7pm l/Bugis dance studio d/Salsa class` > New task will be added, with respective start date, end date, location, and description. > Task will be added to the respective dates on the calendar. -* Add an overdue task: 'add Study for midterms s/6-10-16' +- Add an overdue task: `add Study for midterms s/6-10-16` > New task will be added, end date will be defaulted to 23:59:59 of the start date. > Task will be added as an overdue task. 3. Deleting tasks -* Delete a task: 'delete 1' +- Delete a task: `delete 1` > Removes the task listed at index 1 (Go to the gym). -* Delete multiple tasks: 'delete 1 2 3' +- Delete multiple tasks: `delete 1 2 3` > Removes the tasks listed at indexes 1, 2 and 3 (Swimming session, Project deadline, Homework submission deadline). 4. Undo commands -* Undo last command: 'undo' or Ctrl + Z +- Undo last command: `undo` or Ctrl + Z > The last 'delete 1 2 3' command is undone, and all 3 deleted tasks are added back. 5. Redo commands -* Redo the last undone command: 'redo' or Ctrl + Y -> The last undone 'delete 1 2 3' command is redone, so all 3 tasks are deleted again. +- Redo the last undone command: `redo` or Ctrl + Y +> The last undone `delete 1 2 3` command is redone, so all 3 tasks are deleted again. 6. Modify tasks -* Modify a task: 'modify 1 t/Buy working supplies s/11-10-16 3pm e/11-10-16 4pm l/Popular Bookstore d/Pens p/Low' +- Modify a task: `modify 1 t/Buy working supplies s/11-10-16 3pm e/11-10-16 4pm l/Popular Bookstore d/Pens p/Low` > Changes the task listed at index 1 (Christmas shopping) to Buy working supplies, with new start date Nov 10 3pm and end date Nov 10 4pm, and priority level changed to 'Low'. > Also adds a new location: Popular Bookstore, and new description: Pens. 7. Alias command -* Alias a keyword: 'alias k/pjm r/Project Meeting' 'add pjm' -> Future instances of 'pjm' will be recognized as 'Project Meeting'. +- Alias a keyword: `alias k/pjm r/Project Meeting` `add pjm` +> Future instances of `pjm` will be recognized as `Project Meeting`. > A new task 'Project Meeting' will be added to the end of the list. -* Alias a command: 'alias k/++ r/add' '++ pjm' -> Future instances of '++' will be recognized as an 'add' command. -> A new task 'Project Meeting' will be added to the end of the list. +- Alias a command: `alias k/++ r/add` `++ pjm` +> Future instances of `++` will be recognized as an `add` command. +> A new task `Project Meeting` will be added to the end of the list. -* View aliased keys: 'list alias' or Ctrl + I +- View aliased keys: `list alias` or Ctrl + I > Lists all aliased keys (pjm, ++). 8. Unalias command -* Unalias an aliased keyword: 'unalias pjm' 'add pjm' -> Future instances of 'pjm' will no longer be recognized as 'Project Meeting'. -> A new task 'pjm' will be added to the end of the list. +- Unalias an aliased keyword: `unalias pjm` `add pjm` +> Future instances of `pjm` will no longer be recognized as `Project Meeting`. +> A new task `pjm` will be added to the end of the list. 9. Mark a task -* Mark a completed task: 'mark 1' +- Mark a completed task: `mark 1` > Marks the task listed at index 1 (Buy working supplies). > The newly marked task is relisted on the archived list. 10. Unmark a task -* Unmark a previously marked task: 'list archived' 'unmark 1' +- Unmark a previously marked task: `list archived` `unmark 1` > Shows the list of marked/archived tasks. > Unmarks the task listed at index 1 (Buy working supplies). > The newly unmarked task relists on the unmarked task list. 11. Find a task -* Find tasks containing keywords: 'find gro' -> Shows all unmarked/unarchived tasks containing the keyword 'gro' (Bring brother to playground, Go grocery shopping, Buy groceries). +- Find tasks containing keywords: `find gro` +> Shows all unmarked/unarchived tasks containing the keyword `gro` (Bring brother to playground, Go grocery shopping, Buy groceries). -* Find tasks containing exact match: 'find t/exact buy groceries' -> Shows the task(s) containing the exact phrase: 'buy groceries', not case sensitive. +- Find tasks containing exact match: `find t/exact buy groceries` +> Shows the task(s) containing the exact phrase: `buy groceries`, not case sensitive. 12. Clear all tasks -* Clear all tasks: 'clear' or Ctrl + D +- Clear all tasks: `clear` or Ctrl + D > Deletes all data from all lists. 13. Other commands -* View help: 'help' or Ctrl + H +- View help: `help` or Ctrl + H > Opens the help window. -* Exit the app: 'exit' or Ctrl + Q +- Exit the app: `exit` or Ctrl + Q > Exits the SaavyTasker app. diff --git a/test/data/ManualTesting/SampleData.xml b/test/data/ManualTesting/SampleData.xml deleted file mode 100644 index c88f59971511..000000000000 --- a/test/data/ManualTesting/SampleData.xml +++ /dev/null @@ -1,505 +0,0 @@ - - - - 1 - 0 - Attend project meeting - 2016-11-16T00:10:00+08:00 - 2016-11-16T00:12:00+08:00 - High - priority - false - - - 2 - 0 - Go to the gym - Medium - priority - false - - - 3 - 0 - Swimming session - Low - priority - false - - - 4 - 0 - Project deadline - 2016-12-01T00:00:00+08:00 - High - false - - - 5 - 0 - Homework submission deadline - 2016-11-16T00:00:00+08:00 - Medium - false - - - 6 - 0 - Christmas shopping - 2016-12-05T00:13:00+08:00 - 2016-12-05T00:16:00+08:00 - Medium - false - - - 7 - 0 - Send out party invites - 2016-11-29T00:11:00+08:00 - 2016-11-29T00:13:00+08:00 - Medium - false - - - 8 - 0 - Create presentation slides - 2016-01-01T00:00:00+08:00 - Medium - true - - - 9 - 0 - Run marathon - 2016-01-01T00:00:00+08:00 - City Hall - Medium - Standard Chartered Marathon - false - - - 10 - 0 - Make demo video - 2016-11-19T00:10:00+08:00 - 2016-11-19T00:12:00+08:00 - Medium - false - - - 11 - 0 - Finish CS2010 PS6 - 2016-11-09T00:00:00+08:00 - CodeCrunch - High - Complete search problem - false - - - 12 - 0 - Swimming Lesson - 2016-11-26T12:00:00+08:00 - 2016-11-26T15:00:00+08:00 - Tampines Swimming Pool - Medium - Teach butterfly stroke to students - false - - - 13 - 0 - Study for CS2105 midterms - 2016-10-15T00:00:00+08:00 - National Library - High - Lectures 1 to 5 - true - - - 14 - 0 - Study for CS2010 midterms - 2016-10-26T15:00:00+08:00 - NUS Central Library - High - Lectures 1 to 6 - true - - - 15 - 0 - Watch YouTube videos - 2016-05-01T16:00:00+08:00 - At home - Low - true - - - 16 - 0 - Watch Dr Strange movie - 2016-11-09T16:00:00+08:00 - 2016-11-09T18:30:00+08:00 - Cathay JEM - Low - Stay back for 2 end credit scenes - true - - - 17 - 0 - Practice piano - 2016-11-14T15:00:00+08:00 - 2016-11-14T16:30:00+08:00 - Home - Medium - Chopin, Beethoven, Mozart scores - false - - - 18 - 0 - Bring brother to playground - 2016-11-24T12:00:00+08:00 - 2016-11-24T15:00:00+08:00 - Woodlands Blk 401 - Medium - Pick up his friends along the way - false - - - 19 - 0 - Study for CS2105 finals - 2016-11-26T00:00:00+08:00 - National Library - High - Lectures 1 to 11 - false - - - 20 - 0 - Study for CS2010 finals - 2016-11-28T00:00:00+08:00 - COM1 Level 2 - High - Lectures 1 to 11 - false - - - 21 - 0 - Practice for Math Olympiad - 2016-12-08T00:00:00+08:00 - S17 - High - Do past year papers - false - - - 22 - 0 - Bring grandparents out - 2016-12-14T12:00:00+08:00 - 2016-12-14T15:00:00+08:00 - Gardens by the Bay - Medium - Visit the Flower Dome - false - - - 23 - 0 - Set up dinner with OG - 2016-12-02T18:00:00+08:00 - 2016-12-02T20:00:00+08:00 - Bugis - Medium - Steamboat, get table for 9 - false - - - 24 - 0 - Play Call of Duty - 2016-12-03T12:00:00+08:00 - 2016-12-03T15:00:00+08:00 - Home - Low - on Playstation 4 - false - - - 25 - 0 - Print out lecture notes - 2016-10-28T12:00:00+08:00 - 2016-10-28T12:30:00+08:00 - COM1 Level 1 - Medium - Print for CS2106 - true - - - 26 - 0 - Do Math Homework 4 - 2016-11-07T19:00:00+08:00 - 2016-11-07T21:00:00+08:00 - PGP study room - High - Practice MATLAB - false - - - 27 - 0 - Buy chocolates for Easter - 2016-11-11T12:00:00+08:00 - 2016-11-11T13:00:00+08:00 - Takashimaya - Medium - Find Japanese chocolates - false - - - 28 - 0 - Pay hostel fees - 2016-11-07T12:00:00+08:00 - 2016-11-07T12:15:00+08:00 - Hostel Management Office - High - Bring credit card - false - - - 29 - 0 - Apply for vacation stay - 2016-11-18T00:00:00+08:00 - Medium - false - - - 30 - 0 - Make poster for Orbital - 2016-08-12T09:00:00+08:00 - 2016-08-12T13:00:00+08:00 - COM1 - High - Print out A3 size at printing area - true - - - 31 - 0 - Tea appreciation session - 2016-12-12T12:00:00+08:00 - 2016-12-12T16:00:00+08:00 - Teahouse @ Bugis - Medium - 300 different teas to try - false - - - 32 - 0 - Go prawning - 2016-12-19T17:00:00+08:00 - 2016-12-19T19:00:00+08:00 - Bugis - Medium - Get 2 rods and live bait - false - - - 33 - 0 - Buy new iPhone - 2016-12-21T12:00:00+08:00 - 2016-12-21T13:00:00+08:00 - Orchard Road - Medium - get iPhone 7 Plus 128GB - false - - - 34 - 0 - Deposit money in bank - 2016-12-04T13:00:00+08:00 - 2016-12-04T13:30:00+08:00 - DBS Bank - Medium - Deposit paycheck - false - - - 35 - 0 - Book flight tickets - 2016-11-22T15:00:00+08:00 - Online - Medium - Book 2 tickets to San Francisco - false - - - 36 - 0 - Buy new camera for trip - 2016-11-22T17:00:00+08:00 - Orchard Road - Medium - Get a GoPro Hero 5 - false - - - 37 - 0 - Go to motor exhibition - 2016-12-19T10:00:00+08:00 - 2016-12-19T15:00:00+08:00 - Suntec Convention Center - Low - Bring $50 for tickets - false - - - 38 - 0 - Go grocery shopping - 2016-11-10T13:00:00+08:00 - 2016-11-10T16:00:00+08:00 - NTUC Fairprice - Medium - Replace toiletries and food - false - - - 39 - 0 - Buy souvenirs for foreign guests - 2016-12-27T12:00:00+08:00 - 2016-12-27T15:00:00+08:00 - Marina Bay Sands - Medium - Get Singapore specific items - false - - - 40 - 0 - Watch concert - 2016-12-29T19:00:00+08:00 - Esplanade - Low - Bring jacket - false - - - 41 - 0 - Submit assignment - 2016-09-01T00:00:00+08:00 - High - true - - - 42 - 0 - Finish tutorial - 2016-09-04T00:00:00+08:00 - Medium - true - - - 43 - 0 - Buy Turkey for Thanksgiving - 2016-12-22T00:00:00+08:00 - Cold Storage - Medium - false - - - 44 - 0 - Buy new furniture - 2016-12-26T12:00:00+08:00 - 2016-12-26T15:00:00+08:00 - IKEA Tampines - Medium - Get a chair and study lamp - false - - - 45 - 0 - Play badminton - 2016-12-06T12:00:00+08:00 - 2016-12-06T14:00:00+08:00 - Kovan Sports Hub - Low - Bring own shuttlecocks - false - - - 46 - 0 - Play tennis - 2016-12-05T12:00:00+08:00 - 2016-12-05T14:00:00+08:00 - Kovan Sports Hub - Low - Bring own tennis balls - false - - - 47 - 0 - Go for fish spa - 2016-12-08T13:00:00+08:00 - 2016-12-08T15:00:00+08:00 - Bugis - Low - Bring towel - false - - - 48 - 0 - Go for massage - 2016-12-02T12:00:00+08:00 - 2016-12-02T15:00:00+08:00 - JB - Low - Get premium package - false - - - 49 - 0 - Bring dog to vet - 2016-11-09T13:00:00+08:00 - 2016-11-09T14:00:00+08:00 - Clementi Vet - High - Dog displaying allergy symptoms - false - - - 50 - 0 - Return library books - 2016-12-07T00:00:00+08:00 - High - false - - diff --git a/test/data/ManualTesting/TestScript.md b/test/data/ManualTesting/TestScript.md deleted file mode 100644 index abe3551c4eb4..000000000000 --- a/test/data/ManualTesting/TestScript.md +++ /dev/null @@ -1,121 +0,0 @@ -# Manual Scripted Testing - -## How to load the sample data - -1. Download saavytasker.jar -1. Download the [SampleData.xml](/test/data/ManualTesting/SampleData.xml) file -2. Make a copy, and rename it is to 'savvytasker.xml' -3. Copy 'savvytasker.xml' and overwrite the same named file \data\savvytasker.xml -4. Launch savvytasker.jar - -## Test script - -1. List tasks - -* List all tasks: 'list' or Ctrl + L -> Lists all currently unmarked/ongoing tasks, according to due date. -> All floating tasks are listed after tasks with dates, according to the order they were entered. - -* List all tasks by priority level: 'list priority level' or Ctrl + P - -* List all marked tasks: 'list archived' or Ctrl + A -> Lists all marked/completed tasks. - -2. Adding new tasks - -* Add a task: 'add Buy groceries' -> New task will be added to end of unmarked list, with a default 'Medium' priority level (yellow in color). -> Task will be added as a 'Floating Task'. - -* Add a task with a deadline and High priority level: 'add Submit assignment e/11-11-16 8pm p/High' -> New task will be added, with a 'High' priority level (red in color), and end date of 11 Nov 2016, 8pm. -> Start date will be defaulted to current date 12am. - -* Add a task with a Low priority level: 'add Watch a movie p/Low' -> New task will be added, with a 'Low' priority level (green in color). -> Task wil be added as a 'Floating Task'. - -* Add a task with a start date, end date, location, and description: 'add Attend dance class s/8-11-16 5pm e/8-11-16 7pm l/Bugis dance studio d/Salsa class' -> New task will be added, with respective start date, end date, location, and description. -> Task will be added to the respective dates on the calendar. - -* Add an overdue task: 'add Study for midterms s/6-10-16' -> New task will be added, end date will be defaulted to 23:59:59 of the start date. -> Task will be added as an overdue task. - -3. Deleting tasks - -* Delete a task: 'delete 1' -> Removes the task listed at index 1 (Go to the gym). - -* Delete multiple tasks: 'delete 1 2 3' -> Removes the tasks listed at indexes 1, 2 and 3 (Swimming session, Project deadline, Homework submission deadline). - -4. Undo commands - -* Undo last command: 'undo' or Ctrl + Z -> The last 'delete 1 2 3' command is undone, and all 3 deleted tasks are added back. - -5. Redo commands - -* Redo the last undone command: 'redo' or Ctrl + Y -> The last undone 'delete 1 2 3' command is redone, so all 3 tasks are deleted again. - -6. Modify tasks - -* Modify a task: 'modify 1 t/Buy working supplies s/11-10-16 3pm e/11-10-16 4pm l/Popular Bookstore d/Pens p/Low' -> Changes the task listed at index 1 (Christmas shopping) to Buy working supplies, with new start date Nov 10 3pm and end date Nov 10 4pm, and priority level changed to 'Low'. -> Also adds a new location: Popular Bookstore, and new description: Pens. - -7. Alias command - -* Alias a keyword: 'alias k/pjm r/Project Meeting' 'add pjm' -> Future instances of 'pjm' will be recognized as 'Project Meeting'. -> A new task 'Project Meeting' will be added to the end of the list. - -* Alias a command: 'alias k/++ r/add' '++ pjm' -> Future instances of '++' will be recognized as an 'add' command. -> A new task 'Project Meeting' will be added to the end of the list. - -* View aliased keys: 'list alias' or Ctrl + I -> Lists all aliased keys (pjm, ++). - -8. Unalias command - -* Unalias an aliased keyword: 'unalias pjm' 'add pjm' -> Future instances of 'pjm' will no longer be recognized as 'Project Meeting'. -> A new task 'pjm' will be added to the end of the list. - -9. Mark a task - -* Mark a completed task: 'mark 1' -> Marks the task listed at index 1 (Buy working supplies). -> The newly marked task is relisted on the archived list. - -10. Unmark a task - -* Unmark a previously marked task: 'list archived' 'unmark 1' -> Shows the list of marked/archived tasks. -> Unmarks the task listed at index 1 (Buy working supplies). -> The newly unmarked task relists on the unmarked task list. - -11. Find a task - -* Find tasks containing keywords: 'find gro' -> Shows all unmarked/unarchived tasks containing the keyword 'gro' (Bring brother to playground, Go grocery shopping, Buy groceries). - -* Find tasks containing exact match: 'find t/exact buy groceries' -> Shows the task(s) containing the exact phrase: 'buy groceries', not case sensitive. - -12. Clear all tasks - -* Clear all tasks: 'clear' or Ctrl + D -> Deletes all data from all lists. - -13. Other commands - -* View help: 'help' or Ctrl + H -> Opens the help window. - -* Exit the app: 'exit' or Ctrl + Q -> Exits the SaavyTasker app. From dc7faeb44e5cbe3a142a5fa8829932c98c1d1835 Mon Sep 17 00:00:00 2001 From: tet54 Date: Mon, 7 Nov 2016 23:57:08 +0800 Subject: [PATCH 4/7] changed format --- src/test/data/ManualTesting/TestScript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/data/ManualTesting/TestScript.md b/src/test/data/ManualTesting/TestScript.md index 0fa029ed36b5..4bc35a1bef21 100644 --- a/src/test/data/ManualTesting/TestScript.md +++ b/src/test/data/ManualTesting/TestScript.md @@ -3,7 +3,7 @@ ## How to load the sample data 1. Download saavytasker.jar -1. Download the [SampleData.xml](/test/data/ManualTesting/SampleData.xml) file +1. Download the [SampleData.xml](/src/test/data/ManualTesting/SampleData.xml) file 2. Make a copy, and rename it is to `savvytasker.xml` 3. Copy `savvytasker.xml` and overwrite the same named file \data\savvytasker.xml 4. Launch savvytasker.jar From 3992fb2336ec2344d92ff45b9bd711ebf3da0dd5 Mon Sep 17 00:00:00 2001 From: Qing Hua Date: Tue, 8 Nov 2016 00:05:41 +0800 Subject: [PATCH 5/7] Update TestScript.md --- src/test/data/ManualTesting/TestScript.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/data/ManualTesting/TestScript.md b/src/test/data/ManualTesting/TestScript.md index 4bc35a1bef21..285f77465e60 100644 --- a/src/test/data/ManualTesting/TestScript.md +++ b/src/test/data/ManualTesting/TestScript.md @@ -12,7 +12,8 @@ 1. List tasks -- List all tasks: `list` or Ctrl + L +* List all tasks: `list` or Ctrl + L + > Lists all currently unmarked/ongoing tasks, according to due date. > All floating tasks are listed after tasks with dates, according to the order they were entered. From bdcc5cc356beadb1f3cfbb6685757cfc75156b71 Mon Sep 17 00:00:00 2001 From: Qing Hua Date: Tue, 8 Nov 2016 00:06:38 +0800 Subject: [PATCH 6/7] Update TestScript.md --- src/test/data/ManualTesting/TestScript.md | 28 +++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/test/data/ManualTesting/TestScript.md b/src/test/data/ManualTesting/TestScript.md index 285f77465e60..8835fe712011 100644 --- a/src/test/data/ManualTesting/TestScript.md +++ b/src/test/data/ManualTesting/TestScript.md @@ -10,9 +10,9 @@ ## Test script -1. List tasks + 1. List tasks -* List all tasks: `list` or Ctrl + L +- List all tasks: `list` or Ctrl + L > Lists all currently unmarked/ongoing tasks, according to due date. > All floating tasks are listed after tasks with dates, according to the order they were entered. @@ -22,7 +22,7 @@ - List all marked tasks: `list archived` or Ctrl + A > Lists all marked/completed tasks. -2. Adding new tasks + 2. Adding new tasks - Add a task: `add Buy groceries` > New task will be added to end of unmarked list, with a default `Medium` priority level (yellow in color). @@ -44,7 +44,7 @@ > New task will be added, end date will be defaulted to 23:59:59 of the start date. > Task will be added as an overdue task. -3. Deleting tasks + 3. Deleting tasks - Delete a task: `delete 1` > Removes the task listed at index 1 (Go to the gym). @@ -52,23 +52,23 @@ - Delete multiple tasks: `delete 1 2 3` > Removes the tasks listed at indexes 1, 2 and 3 (Swimming session, Project deadline, Homework submission deadline). -4. Undo commands + 4. Undo commands - Undo last command: `undo` or Ctrl + Z > The last 'delete 1 2 3' command is undone, and all 3 deleted tasks are added back. -5. Redo commands + 5. Redo commands - Redo the last undone command: `redo` or Ctrl + Y > The last undone `delete 1 2 3` command is redone, so all 3 tasks are deleted again. -6. Modify tasks + 6. Modify tasks - Modify a task: `modify 1 t/Buy working supplies s/11-10-16 3pm e/11-10-16 4pm l/Popular Bookstore d/Pens p/Low` > Changes the task listed at index 1 (Christmas shopping) to Buy working supplies, with new start date Nov 10 3pm and end date Nov 10 4pm, and priority level changed to 'Low'. > Also adds a new location: Popular Bookstore, and new description: Pens. -7. Alias command + 7. Alias command - Alias a keyword: `alias k/pjm r/Project Meeting` `add pjm` > Future instances of `pjm` will be recognized as `Project Meeting`. @@ -81,26 +81,26 @@ - View aliased keys: `list alias` or Ctrl + I > Lists all aliased keys (pjm, ++). -8. Unalias command + 8. Unalias command - Unalias an aliased keyword: `unalias pjm` `add pjm` > Future instances of `pjm` will no longer be recognized as `Project Meeting`. > A new task `pjm` will be added to the end of the list. -9. Mark a task + 9. Mark a task - Mark a completed task: `mark 1` > Marks the task listed at index 1 (Buy working supplies). > The newly marked task is relisted on the archived list. -10. Unmark a task + 10. Unmark a task - Unmark a previously marked task: `list archived` `unmark 1` > Shows the list of marked/archived tasks. > Unmarks the task listed at index 1 (Buy working supplies). > The newly unmarked task relists on the unmarked task list. -11. Find a task + 11. Find a task - Find tasks containing keywords: `find gro` > Shows all unmarked/unarchived tasks containing the keyword `gro` (Bring brother to playground, Go grocery shopping, Buy groceries). @@ -108,12 +108,12 @@ - Find tasks containing exact match: `find t/exact buy groceries` > Shows the task(s) containing the exact phrase: `buy groceries`, not case sensitive. -12. Clear all tasks + 12. Clear all tasks - Clear all tasks: `clear` or Ctrl + D > Deletes all data from all lists. -13. Other commands + 13. Other commands - View help: `help` or Ctrl + H > Opens the help window. From 2668119829bf74c20fffa393727ea463e349206c Mon Sep 17 00:00:00 2001 From: Qing Hua Date: Tue, 8 Nov 2016 00:07:37 +0800 Subject: [PATCH 7/7] Update TestScript.md --- src/test/data/ManualTesting/TestScript.md | 26 +++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/test/data/ManualTesting/TestScript.md b/src/test/data/ManualTesting/TestScript.md index 8835fe712011..560b8ca6691a 100644 --- a/src/test/data/ManualTesting/TestScript.md +++ b/src/test/data/ManualTesting/TestScript.md @@ -10,7 +10,7 @@ ## Test script - 1. List tasks +### List tasks - List all tasks: `list` or Ctrl + L @@ -22,7 +22,7 @@ - List all marked tasks: `list archived` or Ctrl + A > Lists all marked/completed tasks. - 2. Adding new tasks +### Adding new tasks - Add a task: `add Buy groceries` > New task will be added to end of unmarked list, with a default `Medium` priority level (yellow in color). @@ -44,7 +44,7 @@ > New task will be added, end date will be defaulted to 23:59:59 of the start date. > Task will be added as an overdue task. - 3. Deleting tasks +### Deleting tasks - Delete a task: `delete 1` > Removes the task listed at index 1 (Go to the gym). @@ -52,23 +52,23 @@ - Delete multiple tasks: `delete 1 2 3` > Removes the tasks listed at indexes 1, 2 and 3 (Swimming session, Project deadline, Homework submission deadline). - 4. Undo commands +### Undo commands - Undo last command: `undo` or Ctrl + Z > The last 'delete 1 2 3' command is undone, and all 3 deleted tasks are added back. - 5. Redo commands +### Redo commands - Redo the last undone command: `redo` or Ctrl + Y > The last undone `delete 1 2 3` command is redone, so all 3 tasks are deleted again. - 6. Modify tasks +### Modify tasks - Modify a task: `modify 1 t/Buy working supplies s/11-10-16 3pm e/11-10-16 4pm l/Popular Bookstore d/Pens p/Low` > Changes the task listed at index 1 (Christmas shopping) to Buy working supplies, with new start date Nov 10 3pm and end date Nov 10 4pm, and priority level changed to 'Low'. > Also adds a new location: Popular Bookstore, and new description: Pens. - 7. Alias command +### Alias command - Alias a keyword: `alias k/pjm r/Project Meeting` `add pjm` > Future instances of `pjm` will be recognized as `Project Meeting`. @@ -81,26 +81,26 @@ - View aliased keys: `list alias` or Ctrl + I > Lists all aliased keys (pjm, ++). - 8. Unalias command +### Unalias command - Unalias an aliased keyword: `unalias pjm` `add pjm` > Future instances of `pjm` will no longer be recognized as `Project Meeting`. > A new task `pjm` will be added to the end of the list. - 9. Mark a task +### Mark a task - Mark a completed task: `mark 1` > Marks the task listed at index 1 (Buy working supplies). > The newly marked task is relisted on the archived list. - 10. Unmark a task +### Unmark a task - Unmark a previously marked task: `list archived` `unmark 1` > Shows the list of marked/archived tasks. > Unmarks the task listed at index 1 (Buy working supplies). > The newly unmarked task relists on the unmarked task list. - 11. Find a task +### Find a task - Find tasks containing keywords: `find gro` > Shows all unmarked/unarchived tasks containing the keyword `gro` (Bring brother to playground, Go grocery shopping, Buy groceries). @@ -108,12 +108,12 @@ - Find tasks containing exact match: `find t/exact buy groceries` > Shows the task(s) containing the exact phrase: `buy groceries`, not case sensitive. - 12. Clear all tasks +### Clear all tasks - Clear all tasks: `clear` or Ctrl + D > Deletes all data from all lists. - 13. Other commands +### Other commands - View help: `help` or Ctrl + H > Opens the help window.