You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kiwi can already run a single spec using KW_SPEC environment variable. This could be improved to run any numbers of specs. Maybe with this format:
<file name>:<line number of spec>[,<line number of spec>][;<file name>:<line number of spec>[,<line number of spec>]]
The AppCode guys that suggested this feature in their issue tracker so they can add complete support to Kiwi. I'd love that since I'm a user of both products.
The text was updated successfully, but these errors were encountered:
Actually, KW_SPEC is causing problems right now, because it uses atos, which is not available on devices.
Also, atos is considerably slow, it might work for one spec, but figuring out call sites for multiple specs considerably increased testing time when I was testing it.
We'll need to figure out in more detail how to approach this.
To run selected specs we use the following method:
Duplicate scheme with test into something like 'Selected Specs'
Mark 'Selected Specs' as not Shared
Edit new Xcode scheme and in Test action Info tab under Tests expand interested Test target
Uncheck some of the specs to exclude them from 'Selected Specs' scheme test run
We usually keep 2 private schemes: 'Single Spec' and 'Selected Specs' as names suggest to run specs faster and focus on failing tests. Our .gitignore has xcuserdata to exclude private schemes.
Kiwi can already run a single spec using
KW_SPEC
environment variable. This could be improved to run any numbers of specs. Maybe with this format:<file name>:<line number of spec>[,<line number of spec>][;<file name>:<line number of spec>[,<line number of spec>]]
The AppCode guys that suggested this feature in their issue tracker so they can add complete support to Kiwi. I'd love that since I'm a user of both products.
The text was updated successfully, but these errors were encountered: