# what is the usage of post in a command?

post conditions serve the following 2 purpose:

  • To test the logic written inside a command. Refer Testing a command for more details.
  • Makes the command spec comprehensive.