Skip to content

Commit 4e05e6b

Browse files
authored
docs: a tip for cleaner use of the new folder structure (#125)
1 parent 8099d8d commit 4e05e6b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ The problem with the legacy structure is that everything is global. This is prob
100100

101101
If you have a few tests the "oldschool" style is completely fine. But for a large enterprise-grade application, with hundreds or sometimes thousands of .feature files, the fact that everything is global becomes a maintainability nightmare.
102102

103+
We suggest to put:
104+
```json
105+
"ignoreTestFiles": "*.js"
106+
```
107+
in your cypress.json to have a clean view of your tests in the cypress dashbord, and also so cypress doesn't try to run your step definition files as tests in CI.
108+
103109
#### Oldschool/Legacy Cucumber style (please let us know if you decide to use it!)
104110

105111
##### Step Definition location configuration

0 commit comments

Comments
 (0)