Skip to content

Instantly share code, notes, and snippets.

View koenusz's full-sized avatar
🎯
Focusing

Koen koenusz

🎯
Focusing
View GitHub Profile
@koenusz
koenusz / TestExecutionListener.java
Last active June 1, 2016 15:15
JGiven Screenshot on testfailure
package sym.sequence.test.functional.util;
import com.tngtech.jgiven.attachment.Attachment;
import com.tngtech.jgiven.attachment.MediaType;
import com.tngtech.jgiven.base.ScenarioTestBase;
import com.tngtech.jgiven.report.ReportGenerator;
import com.tngtech.jgiven.report.model.ScenarioCaseModel;
import com.tngtech.jgiven.report.model.StepModel;
import org.junit.runner.Description;
import org.junit.runner.Result;