Skip to content

Instantly share code, notes, and snippets.

Pedro Catré pedrocatre

Block or report user

Report or block pedrocatre

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pedrocatre
pedrocatre / dataProvider.xml
Created Sep 24, 2018
IntelliJ live template for TestNG data provider
View dataProvider.xml
<template name="dataProvider" value="@org.testng.annotations.DataProvider&#10; public java.lang.Object[][] $dataProviderName$() {&#10; return new java.lang.Object[][]{&#10; {$END$}&#10; };&#10; }" description="data provider for test ng" toReformat="true" toShortenFQNames="true">
<variable name="dataProviderName" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_DECLARATION" value="true" />
</context>
</template>
You can’t perform that action at this time.