K
K
krll-k2014-07-11 10:39:45
PHP
krll-k, 2014-07-11 10:39:45

Is it possible to use a database in Acceptance testing?

During the registration process, the phone is confirmed by an SMS code, that is, the code must be sent to the specified phone. Question: what to do at this stage, because for successful testing, codeception must know the SMS code? Is it possible to use the database in Acceptance tests to get the SMS code?
Is it possible to use a database in Acceptance testing? For acceptance testing we use Codeception

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
krll-k, 2014-07-11
@krll-k

Use the grabFromDatabase method (from the Codeception documentation)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question