Skip to content

Conversation

sergeyklay
Copy link
Contributor

@sergeyklay sergeyklay commented Apr 4, 2018

You don't need to use Codeception's Phalcon module for API tests suite. These tests should be run in such way that they do not know anything about your code. So you shouldn't include tests/index.php, mock application classes, create stubs on fly, etc, what actually does Codeception's Phalcon module. API tests suite tests only the HTTP public interface (request and response) and that's what REST module actually does.

Also I've moved global modules configuration to the codeception.yml.

selection_024

selection_025

@niden niden merged commit 8221f4b into phalcon:master Apr 4, 2018
@niden
Copy link
Member

niden commented Apr 4, 2018

Thank you !!!!

@sergeyklay sergeyklay deleted the fix/testing branch April 4, 2018 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants