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
In some highly decoupled projects with large number of integration tests it is sometimes convenient not to store all the fixtures in one place, but to put them closer to tested modules. Currently I found only two ways to handle such files hierarchy:
To list all possible paths as arguments when running CLI command. The downside of this approach is that the command become too heavy and hard to read and maintain.
To use Programmatically loading fixtures feature. It potentially could save the day, but it only supports 0.3.0+ version of TypeORM and also requires too many lines of code for such a simple task of files filtering.
Potential feature as I see it has to have two arguments, let's say "rootPath" and regex/glob "matchExpression":
In some highly decoupled projects with large number of integration tests it is sometimes convenient not to store all the fixtures in one place, but to put them closer to tested modules. Currently I found only two ways to handle such files hierarchy:
Potential feature as I see it has to have two arguments, let's say "rootPath" and regex/glob "matchExpression":
The text was updated successfully, but these errors were encountered: