-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
The data providers get called before the static setupBeforeClass has been executed. If think it should be the other way around.
Use case:
- We have a list of adapters. Some adapters are only supported on some environment (ie Linux vs Win),
- I would like to initialize a list of supported adapters once and pass it to all the tests through a data provider,
- The cleanest way I can imagine is to initialize a static property in
setupBeforeClassand have the provider returns that property
The problem is that the property is not initialized when the provider gets called.
Version found: 3.7.14
machitgarha, mrj0, jasonmccreary, arobinski, pixelbrackets and 1 more
Metadata
Metadata
Assignees
Labels
No labels