<script language="beanshell"><![CDATA[
test = method.getAnnotation(org.testng.annotations.Test.class);
if (test != null) {
groups = ((org.testng.annotations.Test)test).groups();
for (int i = 0; i < groups.length; i++) {
if (groups[i].equals("pesquisa")) {
return true;
}
}
}
return false;
]]>
</script>
Looking at testng's output it was filtering, but i don't know why it
was no running my @BeforeTest methods.
Do you know how to solve this?
Many thanks
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng...@googlegroups.com.
To unsubscribe from this group, send email to testng-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.