Friday 1 May 2020

The level and type of software testing


The level and type of software testing
Test Level (proximity to the source code and traces of the test)
Unit testing. Fast, low-level test with a small footprint that is written by developers to test the stability of the isolated unit code. For example, given the function argument must return the expected results. The aim is to test the coding unit (components, modules, functions) in isolation and in a meaningful way. It was the most time-consuming test, we have to have a lot of unit tests and some test end-to-end. When writing unit tests, make sure that the statement runs, starting with the failed tests and then work on the test to make the pass.
Integration tests. Verify whether and how two or more components or modules integrate (talking to each other). Usually this kind of testing can be done by a QA tester whether the black box testing or development if it involves complex technical and more like database integration.
system testing (or testing end-to-end). It is a complete testing system. When the unit tests and integration tests to test parts of the system, this one targeting the overall system. This testing is done by the QA testers. For example, to test the entire application from login to check out and make sure the email was sent. This is done from the perspective of the user and should not be automatic with mocks false data or requests. This type of testing is the most involved and time-consuming. If the bug was found during testing E2E, which means that something is missing in the unit or integration testing.
Acceptance testing is the level of software testing where systems are tested for acceptance. The purpose of this test is to evaluate the system compliance with business requirements and assess whether it can be accepted for delivery.

Types of test
Functional testing using software to check whether his behavior in line with expectations. Expectations should be documented in the form of the technical spec that can be written in the form of documentation or a user story. functional testing applies to all levels of the test from unit to end-to-end. If you answer "what" questions, it will check whether the return value is expected.

non-functional testing focuses on usability, reliability, maintenance, and other attributes. It answers the "how" questions, for example the performance of the function when it returns a certain value.
performance testing is obvious. It checks how quickly load applications, how responsive it is, and reliability under high load. This kind of test is needed to ensure the system can scale under high traffic. stress testing and surge testing various types of performance testing to check whether the system can withstand a higher than expected load.

security testing should be done by a security specialist. It can also be done as an audit. An e-commerce website can undergo safety testing regularly and have a random audit. Security testing usually focused on data integrity, confidentiality, and availability. E-commerce companies can also be checked for compliance with PCI. Security bugs along most are found in web applications is XSS (cross-site scripting), which can inject JavaScript into a web application and allows the "hacker" to perform some malicious actions (access to users' data, display content on web pages hijacked, redirect users to other sites, etc.).

Regression testing to check whether the new changes to the system have not broken existing functionality or cause old bugs to reappear. This is done by re-run all the tests on the system.
Smoke testing focuses only on the work of the most important functions. This testing is done to ensure the system is stable enough for users to perform basic actions (such as looking for a hotel or log in with email/password). This is usually done right after spreading production to check if the server is running and everything looks fine. Smoke testing can be part of a cycle of continuous spreading.

Static analysis is a type of testing in which the code is analyzed for errors without running or executing code. The most common form of static analysis Linter.

Conclusion: we are known as the best software testing company in USA using all the levels and types to test the software application and provide services.


No comments:

Post a Comment