KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm writing functional tests for a SOA system so need to test a backend subsystem from the frontend. It's a standard CRUD system. I have a test that tests I can create an object, and it returns me the ID of the new object. In subsequent tests I want to edit and then delete this object, but phpunit seems to be re-instantiating the test class each time, so I lose my instance variables. How can I achieve this? Running functional tests on each server in the architecture isn't an option.
Tags (comma-separated)
Save Edits
Cancel