test folder ignoring in config:base preset #12755
Replies: 6 comments 23 replies
-
I don't see a problem with it as I think this rule benefits the majority who don't want to update tests/ and is easily changed by the minority who do. |
Beta Was this translation helpful? Give feedback.
-
Just to see what happens to a more less standard .NET repository after removing the All of these are useful upgrades to test dependencies. @rarkins What do you think about my proposal above?
|
Beta Was this translation helpful? Give feedback.
-
I know this is very old, but I still think this is a wrong default behavior. Not updating dependencies in these directories is comparable to not updating devDependencies for NPM packages. People can miss important updates to test frameworks, coverage tools, or security linters. |
Beta Was this translation helpful? Give feedback.
-
We've also had problems with 'ignoreModulesAndTests' being included in the In most .NET projects in all the companies I've recently worked with, there's been a dedicated package.json for cypress/playwright ui tests and this has also been in a folder nested under the "test" folder. It is important for UI test dependencies to be kept up to date but the recommended configs would prevent this too. It would be good to have something in the docs that says "don't use preset configs (including |
Beta Was this translation helpful? Give feedback.
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
I created #31146 but would like to have a reproduction repo to verify it solves the problem |
Beta Was this translation helpful? Give feedback.
-
The
config:base
preset currently includes the following rules:renovate/lib/config/presets/internal/default.ts
Lines 42 to 55 in e5ccf2b
At least
test
andtests
are pretty much standard directory names, e.g. in .NET projects. In my opinion these should not be ignored, because you usually want to keep also your test frameworks up to date.What are your thoughts behind this?
Beta Was this translation helpful? Give feedback.
All reactions