cbeust/testng — Issue #118: @BeforeGroups only called if group is specified explicitly
Author: quandor
Created: 2011-10-28 10:01:24+00:00
State: open

There are 3 Testclasses each belonging to a different group. Each Test has a method annotated with @BeforeGroups. Tough only in one case this method is actually called before the group is executed.
* successful case: explicitly specified to which group the annotation belongs via `groups=`.
* 1st unsuccessful case: nothing additional specifed, though groups should be inherited by the `@Test` annotation of the containing class.
* 2nd unsuccessful case: `alwaysRun=true` specified
There is a maven project that reflects the described behaviour. (I would share a git-repository, but currently have no way executing git from my machine.)