Using something like https://github.com/logicalparadox/matcha add a simple test in the tests directory that will establish baseline performance for one command like gh is which lists issues. If we exceed the time it takes to run that cmd, the test should fail.
When we are testing, we use nock which serves a presaved github api response so we don't hit the network.
Therefore it should be safe to assume that we can expect a cmd to run within a threshold on travis ci.
Using something like https://github.com/logicalparadox/matcha add a simple test in the tests directory that will establish baseline performance for one command like
gh is
which lists issues. If we exceed the time it takes to run that cmd, the test should fail.When we are testing, we use nock which serves a presaved github api response so we don't hit the network.
Therefore it should be safe to assume that we can expect a cmd to run within a threshold on travis ci.