2015-04-03 93 views

回答

0

你可以做的一件事就是使用由grails提供的事件系统。

  • TestPhaseStart
  • TestCaseStart
  • TestStart
  • TestEnd
  • TestCaseEnd
  • TestPhaseEnd

更多的信息可以:您可以通过Grails中提供的挂钩方法编辑_Events.groovy被发现在这article以及a s的grails docs

+0

谢谢。我正在寻找'TestPhaseStart'和'TestPhaseEnd'。不幸的是,我无法弄清楚如何在该事件处理程序中使用Geb'Browser.drive' - 它看起来还没有读取配置。 – wrschneider 2015-04-06 16:46:41