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
Lazy initialization using an iterator works perfectly when the data provider is specified in a Test annotation, but NOT when it is specified in a Factory annotation.
Steps to reproduce:
Actual result:
No lazy initialization. All instances are created before the tests are started:
Creating instance for test1
Creating instance for test2
Creating instance for test3
Setup test: test3
Running test: test3
Setup test: test2
Running test: test2
Setup test: test1
Running test: test1
Expected result:
Lazy initialization looking like this:
Creating instance for test1
Setup test: test1
Running test: test1
Creating instance for test2
Setup test: test2
Running test: test2
Creating instance for test3
Setup test: test3
Running test: test3
The text was updated successfully, but these errors were encountered: