A
A
adun32017-02-08 14:45:49
Python
adun3, 2017-02-08 14:45:49

How to start testing the site?

Hello!
You need to write a site test. There is python 2.7.2, there is selenium, there is documentation (). Please advise how to start. Can you recommend a book.
Interested in questions: How should testing look like in general? (test for each block / module of the site, or for each page, or for the whole site), run tests every time the site is updated or once a day / week, where tests write about their success / problems , and who reads this "log".
General questions, but need to be sorted out quickly.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Fat Lorrie, 2017-02-08
@adun3

Selenium - based on regular unit tests, with assertions ("how many fingers do you see?", "is the button in place?"). They are slow, so it is optimal to drive at night, along with integration (API, complex scripts with data). They are integration-oriented, so you need to cover real scenarios, i.e. functional blocks. In our country, for example, testers write test cases (text like: "Go there - you'll get it."), and autotests are programmed according to them, i.e. exactly as a human would check . It would be nice to take screenshots in addition to logs when falling.
The more coverage - the better, although you need to somehow balance it so as not to fix them 50% of the time from the development of a new feature =
)

T
Talik, 2017-02-09
@Talik0507

Interested in questions: How should testing look in general? (test for each block / module of the site, or for each page, or for the whole site),

Here as you wish. Of course, first of all, you need to write a test for critical business processes.
Then to less critical ones, etc. as far as time and budget allow
On a good note, you need to run it with every change, but it all depends on what exactly the changes were.
We run autotests forcibly every night on a freshly collected clean environment. + at the request of committees
Here you need to understand how you are going to launch them. There are a bunch of Testraner frameworks out there.
They usually have methods for logging test results. But there are also frameworks for collecting reports like Alura

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question