Is it possible to share data between scenario and features in Cucumber
<p>I have separate class with static variable (e.g. List“&lt;”Company“>”) that i need to share between tests (e.g. get, add or remove companies from list). But when a new scenario starts the data is re-initialized.
Notes: the class is in separate folder, it doesn't has Cucumber hooks, and its object isn't created anywhere in cucumber classes.</p>

<p>Maybe there is some analog of ScenarioContext like in SpecFlow?</p>

<p>PS: i know that sharing data from test to the other is a bad approach, but in my specific case it doesn't corrupt test independency</p>