{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/2978","repository_url":"https://api.github.com/repos/Codeception/Codeception","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/2978/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/2978/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/2978/events","html_url":"https://github.com/Codeception/Codeception/issues/2978","id":147987529,"number":2978,"title":"Please add to documentation on web, how use variable in tests","user":{"login":"rebajz","id":17533516,"avatar_url":"https://avatars.githubusercontent.com/u/17533516?v=3","gravatar_id":"","url":"https://api.github.com/users/rebajz","html_url":"https://github.com/rebajz","followers_url":"https://api.github.com/users/rebajz/followers","following_url":"https://api.github.com/users/rebajz/following{/other_user}","gists_url":"https://api.github.com/users/rebajz/gists{/gist_id}","starred_url":"https://api.github.com/users/rebajz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebajz/subscriptions","organizations_url":"https://api.github.com/users/rebajz/orgs","repos_url":"https://api.github.com/users/rebajz/repos","events_url":"https://api.github.com/users/rebajz/events{/privacy}","received_events_url":"https://api.github.com/users/rebajz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Codeception/Codeception/labels/Docs","name":"Docs","color":"5319e7"},{"url":"https://api.github.com/repos/Codeception/Codeception/labels/ENHANCEMENT","name":"ENHANCEMENT","color":"beed84"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-04-13T08:39:57Z","updated_at":"2016-10-10T20:23:58Z","closed_at":null,"body":"I need use variable in my tests... Right now, i know, how do that...\r\n\r\nIn: \\tests\\acceptance\\_bootstrap.php create variable as:\r\ndefine ('MyVariable', \"This is my variable?\");\r\n\r\nIn tests (Cept or Cest) use for example\r\n$I->fillField('name',MyVariable);\r\n\r\nIn \\tests\\_support\\AcceptanceTester.php\r\nyou can do same, as in tests ;-)\r\n\r\nthis will be work in all tests (unit, function, acceptance, etc). (if you add to right _bootstrap.php file in correct folder)"},"comment":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/comments/252735995","html_url":"https://github.com/Codeception/Codeception/issues/2978#issuecomment-252735995","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/2978","id":252735995,"user":{"login":"DavertMik","id":220264,"avatar_url":"https://avatars.githubusercontent.com/u/220264?v=3","gravatar_id":"","url":"https://api.github.com/users/DavertMik","html_url":"https://github.com/DavertMik","followers_url":"https://api.github.com/users/DavertMik/followers","following_url":"https://api.github.com/users/DavertMik/following{/other_user}","gists_url":"https://api.github.com/users/DavertMik/gists{/gist_id}","starred_url":"https://api.github.com/users/DavertMik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavertMik/subscriptions","organizations_url":"https://api.github.com/users/DavertMik/orgs","repos_url":"https://api.github.com/users/DavertMik/repos","events_url":"https://api.github.com/users/DavertMik/events{/privacy}","received_events_url":"https://api.github.com/users/DavertMik/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T20:23:58Z","updated_at":"2016-10-10T20:23:58Z","body":"I think such enhancement can be good thing for [Codeception Cookbook](http://phptest.club/c/codeception/cookbook)"}}
{"actor":{"display_login":"DavertMik"}}