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
Cypress already has a config file that says where the test source files are located. We could use that. Thanks to that user would not have to set KNAPSACK_PRO_TEST_FILE_PATTERN if he keeps tests in non-standard directory.
The text was updated successfully, but these errors were encountered:
I'm not sure if the issue still makes sense. I think the option to set your own KNAPSACK_PRO_TEST_FILE_PATTERN gives users more flexibility. For instance, you can run 2 different sets of tests on CI by specifying different KNAPSACK_PRO_TEST_FILE_PATTERN values per the @knapsack-pro/cypress command.
I'd like to hear feedback from users. What's your use case? Do you always have a single pattern in your cypress.config.js file? Do you use a few patterns? How?
We've released the @knapsack-pro/cypress 5.3.0 version. Here is an example of how to use KNAPSACK_PRO_TEST_FILE_LIST_SOURCE_FILE to define a list of test files in the .txt file. KnapsackPro/knapsack-pro-core-js#62
You could generate any list of test files you like and provide it to Knapsack Pro.
Cypress already has a config file that says where the test source files are located. We could use that. Thanks to that user would not have to set
KNAPSACK_PRO_TEST_FILE_PATTERN
if he keeps tests in non-standard directory.The text was updated successfully, but these errors were encountered: