Bartek Florczak
Bartek Florczak
Hi @baev! Would You be able to have a look?
Ok, I will have a look. But my idea was that MAYBE all the logic of collecting the results of a before configuration methods should be handled inside onConfigurationSuccess/onConfigurationFailure methods...
The only jump you have to convince people to, is to drop JDK 8. I would also vote for targeting the most recent LTS release.
That's what I mean 😅 the biggest step was done.
> It doesn't follow undocumented convention for tests. Here you have a sample that should be used by a test which is running the engine. Please check how are run...
Done, I suppose
I think that it is failing somewhere there https://github.com/testng-team/testng/blob/3505e4b232f00969cf8baccece550cff85785602/testng-core/src/main/java/org/testng/internal/BaseTestMethod.java#L849 as the object passed via the dataprovider is altered inside the test, so that the object hash is different for each...
Then as another workaround You could maybe consider providing a supplier object creating a new instance of your custom object in your data provider.
The other thing that comes to my mind is to make the object serializable and to create a deep copy in the test. If the object is simple, then it...
@krmahadevan what if instead of comparing objects with the equals method, we do the comparison using == operator? Maybe it would be enough to evaluate if the reference is the...