User Tools

Site Tools


trackwork:track_and_segment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
trackwork:track_and_segment [2017/03/14 20:48]
mjallison [Case 1 Test 3 - Add segment]
trackwork:track_and_segment [2017/03/15 16:34] (current)
mjallison [Case 1 Test 2 - Turn off Job Hours]
Line 13: Line 13:
      * Track DevUnitTest-2 time span 2:05 - 4:23      * Track DevUnitTest-2 time span 2:05 - 4:23
      * Track DevUnitTest-3 time span 1:53 - 4:24      * Track DevUnitTest-3 time span 1:53 - 4:24
 +  * NOTE: Developer created this test plan using a tablet set up for showing 24 hour time
 +    * User preferences should take effect on display. ​
 +    * Changing tablet to 12 hour display will change track and segment display times. ​
 +  * Project is set to America/​Los_Angeles timezone
 +    * Setting the tester'​s tablet'​s timezone to something other than Los_Angeles will have no effect on displayed times.
 +    * Times in application display must match these shown in these test results.
  
 {{ :​trackwork:​devunittest-raw.png?​200 |Initial view of unit test data}} {{ :​trackwork:​devunittest-raw.png?​200 |Initial view of unit test data}}
Line 32: Line 38:
 ==== Case 1 Test 1 - Report Values ==== ==== Case 1 Test 1 - Report Values ====
  
-    ​Track   ​   Time     ​^Cycles^AvLength^AvMove^AvSpeed ^CycleTime^MinPerHr^CostHrs^Volume^ + Track         ​ Time          ^ Cycles ​ ^ AvLength ​ ^ AvMove ​ ^ AvSpeed ​ ^ CycleTime ​ ^ MinPerHr ​ ^ CostHrs ​ ^ Volume ​ 
-    ​All     ​|14:00 - 16:​30| ​ 57  |  ​3029  ​ 296 |  ​10.2  ​|  04:41     ​47 ​ | 06:00 |  0.0 | + All           ​| 14:00 - 16:30  |  57     ​|  ​1511         ​296 |  ​5.1     |  04:41     ​|  ​47       | 06:00        ​0.0 | 
-|DevUnitTest-1|14:​00 - 16:​30| ​ 19  |  ​3062  ​ 314 |  ​9.7   |  01:39     ​50 ​ | 02:00 |  0.0 | +| DevUnitTest-1 ​ | 14:00 - 16:30  |  19     ​|  ​1528         ​314 |  ​4.9     |  01:39     ​|  ​50       | 02:00        ​0.0 | 
-|DevUnitTest-2|14:​00 - 16:​30| ​ 19  |  ​2986  ​ 260 |  ​11. |  01:22     41  | 02:00 |  0.0 | +| DevUnitTest-2 ​ | 14:00 - 16:30  |  19     ​|  ​1490         ​260 |  5.7     |  01:22     ​ 41       ​| 02:00        ​0.0 | 
-|DevUnitTest-3|14:​00 - 16:​30| ​ 19  |  ​3038  ​ 315 |   9.6  ​| ​ 01:39     ​50 ​ | 02:00 |  0.0 |+| DevUnitTest-3 ​ | 14:00 - 16:30  |  19     ​|  ​1515         ​315 |  ​4.8     |  01:39     ​|  ​50       | 02:00        ​0.0 |
  
 ==== Case 1 Test 2 - Turn off Job Hours ==== ==== Case 1 Test 2 - Turn off Job Hours ====
Line 42: Line 48:
   * Examine stats again:   * Examine stats again:
  
-    ​Track   ​   Time     ​^Cycles^AvLength^AvMove^AvSpeed ^CycleTime^MinPerHr^CostHrs^Volume^ + Track         ​ Time          ^ Cycles ​ ^ AvLength ​ ^ AvMove ​ ^ AvSpeed ​ ^ CycleTime ​ ^ MinPerHr ​ ^ CostHrs ​ ^ Volume ​ 
-   All      |13:53 - 16:​24| ​ 57  |  ​3055  ​ 298 |  ​10.2  ​|  04:43    ​38   ​| 07:32  0.0 | + All           ​| 13:53 - 16:24  |  57     ​|  ​1524         ​298 |  ​5.1     |  04:43     ​ 38       ​| 07:18    ​    ​0.0 | 
-|DevUnitTest-1|13:​53 - 16:​24| ​ 19  |  ​3090  ​ 317 |  ​9.8   |  01:40    ​40   ​| 02:30  0.0 | +| DevUnitTest-1 ​ | 13:53 - 16:24  |  19     ​|  ​1542         ​317 |  ​4.9     |  01:40     ​ 40       ​| 02:29    ​    ​0.0 | 
-|DevUnitTest-2|13:​53 - 16:​24| ​ 19  |  ​3020  ​ 261 |  ​11.6  ​|  01:22    ​33   ​| 02:30  0.0 | +| DevUnitTest-2 ​ | 13:53 - 16:24  |  19     ​|  ​1508         ​261 |  ​5.8     |  01:22     ​ 33       ​| 02:17    ​    ​0.0 | 
-|DevUnitTest-3|13:​53 - 16:​24| ​ 19  |  ​3055  ​ 318 |  ​9.6   |  01:40    ​40   ​| 02:30 |  0.0 |+| DevUnitTest-3 ​ | 13:53 - 16:24  |  19     ​|  ​1523         ​318 |  ​4.8     |  01:40     ​ 40       ​| 02:30        ​0.0 |
  
 ==== Case 1 Test 3 - Add segment ==== ==== Case 1 Test 3 - Add segment ====
Line 56: Line 62:
  
 ^  Track         ​^ ​ Time          ^ Cycles ​ ^ AvLength ​ ^ AvMove ​ ^ AvSpeed ​ ^ CycleTime ​ ^ MinPerHr ​ ^ CostHrs ​ ^ Volume ​ ^ ^  Track         ​^ ​ Time          ^ Cycles ​ ^ AvLength ​ ^ AvMove ​ ^ AvSpeed ​ ^ CycleTime ​ ^ MinPerHr ​ ^ CostHrs ​ ^ Volume ​ ^
-|  All           | 14:00 - 16:30  |  27     ​|  ​3074     |     306 |  ​10.0    |  02:17     ​| ​ 46       | 03:00    |     0.0 | +|  All           | 14:00 - 16:30  |  27     ​|  ​1537     |     306 |  ​5.0     ​|  02:17     ​| ​ 46       | 03:00    |     0.0 | 
-| DevUnitTest-1 ​ | 14:00 - 16:30  |  9      |  ​3093     |     326 |  ​9.    |  00:48     ​| ​ 49       | 01:00    |     0.0 | +| DevUnitTest-1 ​ | 14:00 - 16:30  |  9      |  ​1546     |     326 |  ​4.    |  00:48     ​| ​ 49       | 01:00    |     0.0 | 
-| DevUnitTest-2 ​ | 14:00 - 16:30  |  9      |  ​3041     |     263 |  ​11.6    ​|  00:39     ​| ​ 39       | 01:00    |     0.0 | +| DevUnitTest-2 ​ | 14:00 - 16:30  |  9      |  ​1520     |     263 |  ​5.8     |  00:39     ​| ​ 39       | 01:00    |     0.0 | 
-| DevUnitTest-3 ​ | 14:00 - 16:30  |  9      |  ​3087     |     328 |  ​9.    |  00:49     ​| ​ 49       | 01:00    |     0.0 |+| DevUnitTest-3 ​ | 14:00 - 16:30  |  9      |  ​1544     |     328 |  ​4.    |  00:49     ​| ​ 49       | 01:00    |     0.0 |
  
   - Open the second segment from the listview (long press)   - Open the second segment from the listview (long press)
Line 73: Line 79:
   * Resulting statistics should look like   * Resulting statistics should look like
  
-    ​Track   ​   Time     ​^Cycles^AvLength^AvMove^AvSpeed ^CycleTime^MinPerHr^CostHrs^Volume^ + Track         ​ Time          ^ Cycles ​              ​^ AvLength ​ ^ AvMove ​ ^ AvSpeed ​ ^ CycleTime ​ ^ MinPerHr ​ ^ CostHrs ​ ^ Volume ​ 
-    ​All     ​|14:00 - 16:​30| ​ 19  |  ​3062  ​ 314 |  ​9.7   |  1:39   ​  ​50   ​| 2:00 |  0.0 | + All           ​| 14:00 - 16:30  |  19                  |  ​1542         ​314 |  ​4.9     |  1:39       50       ​| 2:00     ​    ​0.0 | 
-|DevUnitTest-1|14:​00 - 16:​30| ​ 19  |  ​3062  ​ 314 |  ​9.7   |  1:39   ​  ​50   ​| 2:00 |  0.0 | +| DevUnitTest-1 ​ | 14:00 - 16:30  |  19                  |  ​1542         ​314 |  ​4.9     |  1:39       50       ​| 2:00     ​    ​0.0 | 
-|DevUnitTest-2|14:​00 - 16:​30| ​  ​Statistics Disabled | +| DevUnitTest-2 ​ | 14:00 - 16:30   Statistics Disabled ​|           ​| ​        ​| ​         |            |           ​| ​         |         
-|DevUnitTest-3|14:​00 - 16:​30| ​  ​Statistics Disabled |+| DevUnitTest-3 ​ | 14:00 - 16:30   Statistics Disabled ​|           ​| ​        ​| ​         |            |           ​| ​         |         |
  
 ==== Case 1 Test 5 - Turn off ALL segment calcs ==== ==== Case 1 Test 5 - Turn off ALL segment calcs ====
Line 86: Line 92:
   * Verify stats    * Verify stats 
  
-    ​Track   ​   Time     ​^Cycles^AvLength^AvMove^AvSpeed ^CycleTime^MinPerHr^CostHrs^Volume^ + Track         ​ Time          ^ Cycles ​ ^ AvLength ​ ^ AvMove ​ ^ AvSpeed ​ ^ CycleTime ​ ^ MinPerHr ​ ^ CostHrs ​ ^ Volume ​ 
-    ​All     ​|14:00 - 16:​30| ​ 27  |  1537   306 |  5.0   ​|  2:17   ​  ​46   ​| 3:00 |  0.0 | + All           ​| 14:00 - 16:30  |  27     ​|  1537     ​    ​306 |  5.0     ​|  2:17       46       ​| 3:00     ​    ​0.0 | 
-|DevUnitTest-1|14:​00 - 16:​30| ​  9  ​| ​ 1546   326 |  4.7   ​|  0:48   ​  50   | 1:00 |  0.0 | +| DevUnitTest-1 ​ | 14:00 - 16:30  |  ​9      ​|  1546     ​    ​326 |  4.7     ​|  0:48       ​49 ​      | 1:00     ​    ​0.0 | 
-|DevUnitTest-2|14:​00 - 16:​30| ​  9  ​| ​ 1520   263 |  5.8   ​|  0:38     ​39   ​| 1:00 |  0.0 | +| DevUnitTest-2 ​ | 14:00 - 16:30  |  ​9      ​|  1520     ​    ​263 |  5.8     ​|  0:39      ​ 39       ​| 1:00     ​    ​0.0 | 
-|DevUnitTest-3|14:​00 - 16:​30| ​  9  ​| ​ 1544   328 |  4.7   ​|  0:49   ​  ​49   ​| 1:00 |  0.0 |+| DevUnitTest-3 ​ | 14:00 - 16:30  |  ​9      ​|  1544     ​    ​328 |  4.7     ​|  0:49       49       ​| 1:00     ​    ​0.0 |
  
  
Line 100: Line 106:
   * Verify stats as:   * Verify stats as:
  
-    ​Track   ​   Time     ​^Cycles^AvLength^AvMove^AvSpeed ^CycleTime^MinPerHr^CostHrs^Volume^ + Track         ​ Time          ^ Cycles ​ ^ AvLength ​ ^ AvMove ​ ^ AvSpeed ​ ^ CycleTime ​ ^ MinPerHr ​ ^ CostHrs ​ ^ Volume ​ 
-    ​All     ​|14:00 - 16:​30| ​ 27  |  1537   306 |  5.0   ​|  2:17   ​  ​46   ​| 3:00 |  0.0 | + All           ​| 14:00 - 16:30  |  27     ​|  1537     ​    ​306 |  5.0     ​|  2:17       46       ​| 3:00     ​    ​0.0 | 
-|DevUnitTest-1|14:​00 - 16:​30| ​  9  ​| ​ 1546   326 |  4.7   ​|  0:48   ​  50   | 1:00 |  0.0 | +| DevUnitTest-1 ​ | 14:00 - 16:30  |  ​9      ​|  1546     ​    ​326 |  4.7     ​|  0:48       ​49 ​      | 1:00     ​    ​0.0 | 
-|DevUnitTest-2|14:​00 - 16:​30| ​  9  ​| ​ 1520   263 |  5.8   ​|  0:38     ​39   ​| 1:00 |  0.0 | +| DevUnitTest-2 ​ | 14:00 - 16:30  |  ​9      ​|  1520     ​    ​263 |  5.8     ​|  0:39      ​ 39       ​| 1:00     ​    ​0.0 | 
-|DevUnitTest-3|14:​00 - 16:​30| ​  9  ​| ​ 1544   328 |  4.7   ​|  0:49   ​  ​49   ​| 1:00 |  0.0 |+| DevUnitTest-3 ​ | 14:00 - 16:30  |  ​9      ​|  1544     ​    ​328 |  4.7     ​|  0:49       49       ​| 1:00     ​    ​0.0 |
  
 ==== Case 1 Test 6 - ALL track summation ==== ==== Case 1 Test 6 - ALL track summation ====
Line 120: Line 126:
   * verify that statistics are:   * verify that statistics are:
  
-    ​Track   ​   Time     ​^Cycles^AvLength^AvMove^AvSpeed ^CycleTime^MinPerHr^CostHrs^Volume^ + Track         ​ Time          ^ Cycles ​ ^ AvLength ​ ^ AvMove ​ ^ AvSpeed ​ ^ CycleTime ​ ^ MinPerHr ​ ^ CostHrs ​ ^ Volume ​ 
-    ​All     ​|15:15 - 16:​30| ​ 18  |  ​2947  ​ 285 |  ​10.3  ​|  1:25   ​  ​57   ​| 1:30 |  0.0 | + All           ​| 15:15 - 16:30  |  18     ​|  ​1473         ​285 |  ​5.2     |  1:25       57       ​| 1:30     ​    ​0.0 | 
-|DevUnitTest-1|14:​00 - 16:30|   ​6 ​ ​|  ​2988  ​|  299 |  ​10.0  |  0:29   ​  ​60   ​| 0:30 |  0.0 | +| DevUnitTest-1 ​ | 14:00 - 16:30  |  ​6      ​|  ​1494     ​| ​    299 |  ​5.0     ​|  0:29       60       ​| 0:30     ​    ​0.0 | 
-|DevUnitTest-2|14:​00 - 16:30|   ​6 ​ ​|  ​2885  ​|  257 |  ​11.2  ​|  0:25   ​  ​51   ​| 0:30 |  0.0 | +| DevUnitTest-2 ​ | 14:00 - 16:30  |  ​6      ​|  ​1443     ​| ​    257 |  ​5.6     |  0:25       51       ​| 0:30     ​    ​0.0 | 
-|DevUnitTest-3|14:​00 - 16:30|   ​6 ​ ​|  ​2967  ​|  299 |  ​9.9   |  0:29   ​  ​60   ​| 0:30 |  0.0 |+| DevUnitTest-3 ​ | 14:00 - 16:30  |  ​6      ​|  ​1483     ​| ​    299 |  ​5.0     |  0:29       60       ​| 0:30     ​    ​0.0 |
  
   - continue time scanning from 4:00 through end of day   - continue time scanning from 4:00 through end of day
Line 193: Line 199:
   - Either close playback, or time select to end of day.   - Either close playback, or time select to end of day.
   - Verify that the report is now showing 54 cycles.   - Verify that the report is now showing 54 cycles.
-  - Segment ALL at 3:38 (TBD) 
-  * Verify that the report is now showing 51 cycles 
  
trackwork/track_and_segment.1489524512.txt.gz · Last modified: 2017/03/14 20:48 by mjallison