I have been playing with Testng and the Testify library but i am having a small issue. It seems that the injection of services occurs after the @BeforeSuite. For example in the following code, defaultDataCommandManager is null when the test enters the BeforeSuite method. However the property is injected once the test started to be executed.
@Inject private DefaultDataCommandManager _defaultDataCommandManager; @BeforeSuite public void initData(){ _defaultDataCommandManager.populateDefaultData(); //property is null } @Test public void initData(){ _defaultDataCommandManager.populateDefaultData(); //property is not null } Thank you very much for your help --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org