title: Cucumber reports values inside code
body: <p>Is there some way to get these cucumber report values inside code in some variables?</p>
  
  <p>For example:</p>
  
  <pre><code>int scenariosRun = cucumber.getScenarios(); // 8
  int scenariosPassed = cucumber.getScenariosPassed(); // 8
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/9M23U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9M23U.png" alt="enter image description here"></a></p>