You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/_print/index.html
+6-6
Original file line number
Diff line number
Diff line change
@@ -10953,16 +10953,16 @@
10953
10953
the different supported languages as explained in this documentation.</p><h3 id=integration-tests>Integration Tests</h3><p>Integration tests verify the interactions between different components or modules of a system. Several modules are together tested. The purpose of Integration tests is to make sure that all modules integrate and work together as expected. Automated integration tests help ensure that these interactions work as expected and that integrated components function properly together.</p><blockquote><p>For example, <strong><em>Testing the flow of placing the order for an item in an ecommerce website along with payment.</em></strong></p></blockquote><h3 id=system-tests>System Tests</h3><p>System Testing is a complete fully integrated product Testing. It is an end-to-end testing where in testing environment is similar to the production environment. Here, we navigate through all the features of the software and test if the end business / end feature works. We just test the end feature and don’t check for data flow or do functional testing and all.</p><blockquote><p>For example, <strong><em>Testing the end to end flow from login to placing an order and rechecking the order in My Orders page and logoff from an ecommerce website.</em></strong></p></blockquote><h3 id=performance-testing>Performance testing</h3><p>As its name indicates, performance tests are done
10954
10954
to measure how well an application is performing.</p><p>There are two main sub-types for performance testing:</p><h4 id=load-testing>Load testing</h4><p>Load testing is done to verify how well the
10955
10955
application works under different defined loads
10956
-
(usually a particular number of users connected at once).</p><h4 id=stress-testing>Stress testing</h4><p>Stress testing is done to verify how well the
10957
-
application works under stress (or above the maximum supported load).</p><p>Generally, performance tests are done by executing some
10956
+
(usually a particular number of users connected at once).</p><blockquote><p>For example, <strong><em>Testing that the site can handle numerous orders/users at once.</em></strong></p></blockquote><h4 id=stress-testing>Stress testing</h4><p>Stress testing is done to verify how well the
10957
+
application works under stress (or above the maximum supported load).</p><blockquote><p>For example, <strong><em>Testing that your ecommerce site can handle Black Friday</em></strong></p></blockquote><p>Generally, performance tests are done by executing some
10958
10958
Selenium written tests simulating different users
10959
10959
hitting a particular function on the web app and
10960
10960
retrieving some meaningful measurements.</p><p>This is generally done by other tools that retrieve the metrics.
10961
10961
One such tool is <strong><em>JMeter</em></strong>.</p><p>For a web application, details to measure include
10962
10962
throughput, latency, data loss, individual component loading times, etc.</p><p>Note 1: All browsers have a performance tab in their
10963
10963
developers’ tools section (accessible by pressing F12)</p><p>Note 2: is a subtype of <strong><em>non-functional testing</em></strong>
10964
10964
as this is generally measured per system and not per function/feature.</p><h3 id=regression-testing>Regression testing</h3><p>This testing is generally done after a change, fix or feature addition.</p><p>To ensure that the change has not broken any of the existing
10965
-
functionality, some already executed tests are executed again.</p><p>The set of re-executed tests can be full or partial
10965
+
functionality, some already executed tests are executed again.</p><blockquote><p>For example, <strong><em>Testing that your new search bar doesn’t break the other buttons on the menu</em></strong></p></blockquote><p>The set of re-executed tests can be full or partial
10966
10966
and can include several different types, depending
10967
10967
on the application and development team.</p><h3 id=test-driven-development-tdd>Test driven development (TDD)</h3><p>Rather than a test type <em>per se</em>, TDD is an iterative
10968
10968
development methodology in which tests drive the design of a feature.</p><p>Each cycle starts by creating a set of unit tests that
0 commit comments