2

I'm quite new to codeception and I'm not sure how to accomplish this. Searching the documentation I did find the command $I->openFile('composer.json'); that belongs to the Filesystem module, but from what I could understand it doesn't provide me means to extract the data from the file. What I would really like to do is provide a file to my test that will have some unique keys to be used as variables during test execution, so after openFile I would need some means to put file data in a variable and work with it. Is this possible in codeception? (or in pure PHP or cucumber, that I'm also using in tests) Thanks in advance!

0 Answers0