|
Steps
|
Outcome |
|
|
|
|
SUCCESS |
018ms |
|
Given the first date 2021-10-20T16:10:59 and the second date 2021-10-20T17:10:59
|
SUCCESS |
006ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
002ms |
|
Then the returned relative delta should be hours=1
|
SUCCESS |
005ms |
|
|
|
SUCCESS |
018ms |
|
Given the first date 2021-10-20T16:10:59 and the second date 2021-10-20T15:10:59
|
SUCCESS |
004ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
001ms |
|
Then the returned relative delta should be hours=-1
|
SUCCESS |
006ms |
|
|
|
SUCCESS |
017ms |
|
Given the first date 2021-10-20T16:10:59 and the second date 2021-10-21T02:10:59
|
SUCCESS |
002ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
|
|
Then the returned relative delta should be hours=10
|
SUCCESS |
010ms |
|
|
|
SUCCESS |
023ms |
|
Given the first date 2021-10-20T16:10:59 and the second date 2021-10-21T16:10:59
|
SUCCESS |
009ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
001ms |
|
Then the returned relative delta should be days=1
|
SUCCESS |
007ms |
|
|
|
SUCCESS |
031ms |
|
Given the first date 2021-10-20T16:10:59 and the second date 2021-10-20T17:20:59
|
SUCCESS |
003ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
001ms |
|
Then the returned relative delta should be hours=1, minutes=10
|
SUCCESS |
020ms |
|
|
|
SUCCESS |
015ms |
|
Given the first date 2021-10-20T16:10:59 and the second date 2021-10-20T17:10:59
|
SUCCESS |
004ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
|
|
Then the returned relative delta should be hours=1
|
SUCCESS |
008ms |
|
|
|
SUCCESS |
018ms |
|
Given the first date 2021-10-20T16:10:59 and the second date 2021-10-20T16:11:00
|
SUCCESS |
006ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
001ms |
|
Then the returned relative delta should be seconds=1
|
SUCCESS |
005ms |
|
|
|
SUCCESS |
016ms |
|
Given the first date 2021-10-20T16:10:59 and the second date 2021-10-21T17:10:59
|
SUCCESS |
004ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
|
|
Then the returned relative delta should be days=1, hours=1
|
SUCCESS |
006ms |
|
|
|
SUCCESS |
016ms |
|
Given the first date 2021-10-20T16:10:59 and the second date 2021-11-21T17:10:59
|
SUCCESS |
004ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
|
|
Then the returned relative delta should be months=1, days=1, hours=1
|
SUCCESS |
008ms |
|
|
|
SUCCESS |
020ms |
|
Given the first date 2021-01-31T16:10:59 and the second date 2021-03-01T17:10:59
|
SUCCESS |
004ms |
|
When the datedif function is used to compute the difference between them
|
SUCCESS |
|
|
Then the returned relative delta should be months=1, days=1, hours=1
|
SUCCESS |
010ms |
|
|
SUCCESS |
0.24s |