Y
Y
Yeah2014-12-22 02:25:12
PHP
Yeah, 2014-12-22 02:25:12

Is there a way to regression test different versions of a site?

The basic script for any acceptance test looks something like this:

  1. I went to the site
  2. Filled out the form
  3. Submitted the form
  4. I see this and that
  5. I don't see any errors

In my case, there is a stable version that is spinning in production and release-candidate. Both versions use the same database. I need to make sure that critical functionality that has been developed for a long time does not break when new functionality is introduced. To do this, ideally my test should look something like this:
  1. I go to the production version of the site
  2. I go to the rc version of the site
  3. Compare elements on rc pages with their position and content in production version

In general, I need to do an automated partial regression. Is there a way to do this with Codeception? I found this plugin: https://github.com/DigitalProducts/codeception-mod... . But it does take screenshots of elements, and I'd like to be able to compare content directly.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Arthur Gurinovich, 2014-12-24
@ArthurGurinovich

Interest Ask. I do the same, the state "Before" and "After"
If you need to check only the operation of the site's functions, then it's enough to go through the basic scenarios for the project.
The contents of the elements can be checked.
If we talk about checking the layout of the site, then I would say that Codeception is not the best option.
There is a very good, but still damp framework from yandex > project: Gemini
habrahabr.ru/company/yandex/blog/238323
This approach may help to solve your problem.
The report also provides examples and comparative characteristics with other projects in this area

P
Pavel Rybakov, 2014-12-22
@pavelrybako

Maybe phantomjs is what you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question