1

I have to perform many tests on a platform and I regularly have to run tests on my local machine.

I use Rspec for testing.

These tests take time and in the meantime, I would like to be able to checkout in another window of my terminal.

Have you ever had to do this? How do you do it?

1 Answers1

0

Depending on your context, you could clone your local repo, get on the branch you want to test on this clone, and run any test you want on this one. Then you would get back to your "original" local and do whatever you want, create other clones for other tests, etc.

Then again, it could be infeasible in your context, for example if your tests involve some global level settings which must be different for different tests.

Romain Valeri
  • 19,645
  • 3
  • 36
  • 61