title: How can i introduce a method call before every method in geb-spock specification file
body: <p>Problem Statement: How to induct code automatically just before start and end of test method in geb-spock specification file.</p>
  
  <p>Geb-spock does not have something related to BeforeMethod or AfterMethod which gets executed just before start/end of test method. This feature is provided by testNG tool. As, Geb-spock uses junit internally and junit does not have this feature aswell, Geb-spock does not have this facility aswell. </p>
  
  <p>But, I need to work out on solution using geb-spock where I need to induct a code just before start of test method and after completion of test method.</p>
  
  <p>How can I solve my problem.</p>
  
  <p>Thanks,
  Debasish</p>