K
K
KevinSmash2021-11-01 18:07:59
Codeception
KevinSmash, 2021-11-01 18:07:59

Custom namespace in Codeception tests, how to add?

Good day! There was a need to update codeception. When updating, there was a situation that it no longer finds the classes that are used - since it uses its own namespace and autoloader. That is, a test along the path: acceptance/conversation/add_cest.php - called Acceptance_Convertsation_Add_Cest. It does not find tests, but if you change the name of both the class and the file, everything will be ok. With this helper classes with a similar namepsace inside the test are called without problems. I can't figure out how to connect my own names to it

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question