Adrian Herscu
Adrian Herscu
Got the same effect :) There are two separate issues: 1. there is some IDE integration defect, perhaps in NUnit's [Visual Studio Test Adapter](https://docs.nunit.org/articles/vs-test-adapter/Index.html), sometimes tests succeed but reported as...
JOOX.$(context.match()).attr("id") -- works JOOX.$(context.match()).xpath("@id") -- does not work Anything I am missing?
this one draws rectangles ``` val imageDiff = new ImageComparison( read(getRelativeResourceAsStream(getClass(), "example.png")), read(getRelativeResourceAsStream(getClass(), "example-different.png"))); val d = imageDiff .setDifferenceRectangleFilling(true, 10) .compareImages(); try (val o = new FileOutputStream("diff.png")) { write(d.getResult(), "png",...
> Thanks so much @adrian-herscu ! Will give a try but looks exactly what I was looking for! You're welcome :) Actually, I don't know why this library does comparison...
Maybe...? ``` if(small < large) large .scaleDown(small.width, small.height) .compareTo(small) .withPixelTolerance(xxx) ```
I am looking for a way to repeat a step, or a sequence of steps, sometimes in parallel. Currently I have in my scenario: when().repeating_$_times(2, new FunctionWithDescription( "requesting OAuth token...
Yes. The repeated block should only appear once in the report. And the repetition might be required to occur in parallel. And the repetition might be required to occur for...
Is the block identical for all repetitions? Yes. Think of a block in a "for" loop or a closure in a functional language. What should happen if there occurs an...
I think that a good enough general solution would be that JGiven should render Java lambda expression blocks. Currently, it just calls toString() and plots that into the report. This...
Maybe the general usecase would be reporting steps provided as parameters to other steps. This becomes common when testing asynchronous systems. Now I have a generic method like this: `public...