title: Run test setup only once
body: <p>Given a spock test below, the <code>setup</code> block runs once for each data element in <code>where</code> block. Can I make it run only once?</p>
  
  <pre><code>setup:
  def x = 1
  
  when:
  x++
  
  then:
  x == y
  
  where:
  y &lt;&lt; [2, 3, 4]
  </code></pre>