_bootstrap.php 335 B

1234567891011121314151617
  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 Tests.
  5. *
  6. * ```php
  7. * // Here _bootstrap.php
  8. * \Codeception\Util\Fixtures::add('user1', ['name' => 'davert']);
  9. * ```
  10. *
  11. * In Tests
  12. *
  13. * ```php
  14. * \Codeception\Util\Fixtures::get('user1');
  15. * ```
  16. */