GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — codeception.github.com/docs/reference/Fixtures.md at master · ProFILE200/codeception.github.com

Expand file tree

/

Fixtures.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
63 lines (33 loc) · 1.32 KB
/

Fixtures.md

Copy path

File metadata and controls

63 lines (33 loc) · 1.32 KB
Raw
Copy raw file
Download raw file
Edit and raw actions
layout doc
title Fixtures - Codeception - Documentation

Codeception\Util\Fixtures

Really basic class to store data in global array and use it in Cests/Tests.

{% highlight php %}

'davert']); Fixtures::get('user1'); Fixtures::exists('user1'); {% endhighlight %} #### add() *public static* add($name, $data) * `param string` $name * `param ` $data * `return void` [See source](https://github.com/Codeception/Codeception/blob/5.0/src/Codeception/Util/Fixtures.php#L23) #### cleanup() *public static* cleanup($name = '') * `param string` $name * `return void` [See source](https://github.com/Codeception/Codeception/blob/5.0/src/Codeception/Util/Fixtures.php#L37) #### exists() *public static* exists($name) * `param string` $name * `return bool` [See source](https://github.com/Codeception/Codeception/blob/5.0/src/Codeception/Util/Fixtures.php#L47) #### get() *public static* get($name) * `param string` $name [See source](https://github.com/Codeception/Codeception/blob/5.0/src/Codeception/Util/Fixtures.php#L28)

 

Reference is taken from the source code. Help us to improve documentation. Edit module reference
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.