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

1

14

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

Kirchhoff answered 19/10, 2014 at 22:48 Comment(0)
R
19

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.

Ratfink answered 3/12, 2014 at 4:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.