I've been using Testify for a few days and generally it's been quite handy.
However, various scenarios of my application cannot be tested, due to which seems to be a bug in Testify.
When rendering a block through a delegate with Tapestry's PageTester, all is well.
When rendering a block through a delegate with Testify's PageTester, tests sometimes fail, sometimes pass.
In the attachment I have added 3 simple files.
The DelegateRender class, its corresponding .tml file and the test class.
All it does is delegate to getDelegateBlock and return the block RenderedBlock.
When testing with Testify's PageTester, it does not always render the div's content.
It does however, with Tapestry's PageTester.
Sometimes the test passes on the following line, sometimes it fails. Due to not always rendering it:
assertNotNull(doc.getElementById("testingPurposeId1"));
Testify version: 1.0.4
Tapestry version: 5.3.7
JUnit version: 4.12
Thanks for reporting the problem. At the moment I'm not doing any development and am really busy with other work, so it will probably take me a very long time to look at this. Apologies in advance.