The basics of automated tests?

So far I have tested my website (usually written in PHP), as well as desktop applications (usually Java or C #) manually. Now I read somewhere on the net about automated tests. I tried to find the information about it in detail, but almost all searches end with things like PHPUnit. Can anyone comment on the theory of automated tests? How can I automatically test the software? Any restrictions, etc.? Or maybe you can tell me a place where I can read about it.

Hi

+4
source share
2 answers

You can use unit testing to verify the code. This was first explained to me from Dive Into Python: Unit Testing and will be much fairer to the topic than I could here. Now that you know about terminological unit testing, you should not be far from other existing explanations that will make sense to you, whether one that does not.

You can also find test development .

Your code is not magically verified for you, as you might think. The code to verify your application will be written by you. Which packages, such as PHPUnit, offer you a framework in which you can implement your tests. These packages will provide many amenities for defining your tests, working together as a set and creating a report. These are only automatic aspects.

+4
source

These test tools are used as follows: if we are supposed to test the web form, we will enter the input data into the fields that they provided to us with the tool, and the number of users must fill out the form (their username). Thus, when this is done, the form is populated with the provided data with separate user names. This execution can provide U test data like performance, runtime and load, etc.

WebLoad Testing Tutorial

see the link above for load testing ...

See also these links Functional Testing

Security testing

Link Checker and HTML

Performance testing

+1
source

Source: https://habr.com/ru/post/1308322/


All Articles