_bootstrap.php 334 B

12345678910111213141516
  1. <?php
  2. /**
  3. * Here you can initialize variables via \Codeception\Util\Fixtures class
  4. * to store data in global array and use it in Cests.
  5. *
  6. * ```php
  7. * // Here _bootstrap.php
  8. * \Codeception\Util\Fixtures::add('user1', ['name' => 'davert']);
  9. * ```
  10. *
  11. * In Cests
  12. *
  13. * ```php
  14. * \Codeception\Util\Fixtures::get('user1');
  15. * ```
  16. */