Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When using (substack's) Tape module for testing, how do I run only one test in a file?

When using Tape how do I run a specific test and ignore all other tests?

like image 338
nelsonic Avatar asked Oct 19 '14 22:10

nelsonic


1 Answers

According to the docs: Change that test's code from test(//etc) to test.only(//etc). It will be the only test run for that process.

Otherwise, you can put a certain test or tests in a separate file and just run that file alone.

like image 124
m59 Avatar answered Sep 22 '22 13:09

m59