Answer the question
In order to leave comments, you need to log in
Phpunit using fixtures?
How to properly include fixture files in tests? As I understand fixtures, if I understand correctly, let's say - the expected value or the original value for comparison in tests. Everything in the project is connected via autoload composer. How to cut them to the tests correctly? via require? It’s just that at the moment I’m only testing functions without classes and, accordingly, store variable values in fixtures. Arrays, Jasons, etc. Or how is it possible through autoload files or something else?))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question