This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
trackwork:track_and_segment [2017/03/14 15:20] mjallison [Case 1 Test 4 - Turn off track calcs] |
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.5 | 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 55: | Line 61: | ||
* 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 |14:00 - 16:30| 27 | 3088 | 306 | 10.1 | 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 | 1546 | 326 | 4.7 | 00:48 | 49 | 01:00 | 0.0 | | + | | DevUnitTest-1 | 14:00 - 16:30 | 9 | 1546 | 326 | 4.7 | 00:48 | 49 | 01:00 | 0.0 | |
- | |DevUnitTest-2|14:00 - 16:30| 9 | 1520 | 263 | 5.8 | 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 | 3106 | 328 | 9.5 | 00:49 | 49 | 01:00 | 0.0 | | + | | DevUnitTest-3 | 14:00 - 16:30 | 9 | 1544 | 328 | 4.7 | 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 67: | Line 73: | ||
* Compare entire track statistics against previous table | * Compare entire track statistics against previous table | ||
* Stat values must be identical | * Stat values must be identical | ||
- | * ?mja - I don't understand why DUT-3 has longer AvLength than 1 & 2 | ||
- | * ?mja - Other values not consistent. | ||
==== Case 1 Test 4 - Turn off track calcs ==== | ==== Case 1 Test 4 - Turn off track calcs ==== | ||
- Make sure case 1 day settings is enabled | - Make sure case 1 day settings is enabled | ||
Line 75: | 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 87: | Line 91: | ||
- Disable calcs segment two from 3:14 to 4:30 | - Disable calcs segment two from 3:14 to 4:30 | ||
* Verify stats | * Verify stats | ||
- | ^ 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 | | ||
- | |DevUnitTest-1|14:00 - 16:30| 9 | 1546 | 326 | 4.7 | 0:48 | 50 | 1:00 | 0.0 | | ||
- | |DevUnitTest-2|14:00 - 16:30| 9 | 1520 | 263 | 5.8 | 0:38 | 39 | 1:00 | 0.0 | | ||
- | |DevUnitTest-3|14:00 - 16:30| 9 | 1544 | 328 | 4.7 | 0:48 | 49 | 1:00 | 0.0 | | ||
+ | ^ 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 | | ||
+ | | 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:39 | 39 | 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 5 - Turn off ALL segment calcs ==== | ||
+ | - Make sure case 1 day settings is enabled | ||
+ | - Open all 3 tracks from 3/8 | ||
+ | - Segment each track (DUT-1, DUT-2, DUT-3) at 3:15 | ||
+ | - Disable calcs on second segment of each of three tracks. | ||
+ | * Verify stats as: | ||
+ | |||
+ | ^ 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 | | ||
+ | | 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:39 | 39 | 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 ==== | ||
+ | - Make sure case 1 day settings is enabled | ||
+ | - Open all 3 tracks from 3/8 | ||
+ | - Segment ALL at 3:15 | ||
+ | - From view list, disable statistic calcs on first segment (2:00 - 3:15) | ||
+ | - Segment each track (DUT-1, DUT-2, DUT-3) at 4:00 | ||
+ | - For each track (DUT-1, DUT-2, DUT-3) disable statistics calculation in last segment (4:00 - 4:30) | ||
+ | - Open play and report | ||
+ | - Manually scan time from start to 3:15 | ||
+ | * Verify that report indicates "Statistics disabled" | ||
+ | * Verify that report begins reporting statistics at "post lunch" period. | ||
+ | - continue time scanning until 4:00 | ||
+ | * verify that statistics are: | ||
+ | |||
+ | ^ Track ^ Time ^ Cycles ^ AvLength ^ AvMove ^ AvSpeed ^ CycleTime ^ MinPerHr ^ CostHrs ^ Volume ^ | ||
+ | | All | 15:15 - 16:30 | 18 | 1473 | 285 | 5.2 | 1:25 | 57 | 1: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 | 1443 | 257 | 5.6 | 0:25 | 51 | 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 | ||
+ | * Verify that statistics hold constant from 4:00 to end of day | ||
+ | * Verify that each track summary (from view list) is consistent with track segment 2 summary. | ||
===== Segment Manipulation case 2 ===== | ===== Segment Manipulation case 2 ===== | ||
Line 157: | 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 | ||