A
A
Alexander Antonov2017-05-22 20:16:31
PHP
Alexander Antonov, 2017-05-22 20:16:31

How to write an integration autotest in php and codeception?

You need to write an autotest of this kind:
1) The application form is filled in at the front
2) It is checked that it is correctly sent via the API
3) Check the correctness of the application in the LC on the backend
Explain how to write such a test correctly, because it includes both the acceptance part on the front, and api check, and acceptance in the backend. how do you remember the ID?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artyom, 2017-05-25
@hprot

I can suggest a Selenium+Python solution.
1) Using the webdriver, we run the front.
2) We also catch the request sent to the api, compare it with the "correct" request
3) The backend is not described, I can not advise further.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question