Skip to content

Instantly share code, notes, and snippets.

@gnutix
Created June 15, 2020 06:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gnutix/8a6223d24ad9c8b2aa79ea652f8ab56c to your computer and use it in GitHub Desktop.
Save gnutix/8a6223d24ad9c8b2aa79ea652f8ab56c to your computer and use it in GitHub Desktop.
Investigation around the behavior of liip/taxi start/stop commands

taxi start

Use case 1 : no previous entries

Given :

27/05/2020

taxi start SM-11 à 21:02

Expected :

27/05/2020
SM-11 21:02-? ?

Use case 2 : in progress entry

Given :

27/05/2020
SM-11 21:02-? ? 

taxi start SM-11 à 21:06

Expected :

# no_rounding.tks
27/05/2020
SM-11 21:02-21:06 ?
SM-11      -? ?       # or SM-15 21:06-? ?

And should prompt interactive description question. Same as taxi stop.

Use case 3 : already closed entry

Given :

27/05/2020
SM-11 21:02-21:06 ?

taxi start SM-11 à 21:06

Expected :

# no_rounding.tks
27/05/2020
SM-11 21:02-21:06 ?
SM-11 21:06-? ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment