Test execution count for billing in Test Observability
Learn how Test Observabilty counts tests for billing purposes.
Test Observability uses the number of test executions as the metric for billing.
Any test execution run on the BrowserStack infrastructure is not counted towards billing in Test Observability. Only non-BrowserStack test executions are counted towards billing.
For Test Driven Development (TDD), Test Observability counts each it
block in Test Driven Development (TDD) as a separate test. Similarly, Test Observability counts each scenario as an individual test in Behavior Driven Development (BDD).
Test Observability also counts hooks that run once for a block of test cases or at a file level (global hooks like beforeAll
, and afterAll
) as tests for billing purposes.
You can verify if an entry is counted as a test by checking if Test Observability displays it as a separate line item in the test listing.
Illustrating test execution count with an example
Test Observability bills the total number of non-BrowserStack test executions by multiplying the number of non-BrowserStack tests by the number of times they run across various browser and device combinations.
The following sample table illustrates how the test executions are counted:
Project name | Build name | Number of tests run on BrowserStack Infrastructure | Number of non-BrowserStack tests | Number of build runs in 30 days | Total non-BrowserStack test executions |
---|---|---|---|---|---|
Android App |
Nightly Regression Sanity Job External Monitoring |
15 25 35 |
10 20 30 |
100 200 300 |
14000 |
iOS App |
Nightly Regression Sanity Job External Monitoring |
0 0 0 |
20 30 40 |
200 300 400 |
29000 |
Web App |
Nightly Regression Sanity Job External Monitoring |
30 40 50 |
0 0 0 |
300 400 500 |
0 |
You can see that the total number of non-BrowserStack test executions considered for billing (last column) is calculated by multiplying the number of different types of tests (column D) with the corresponding number of build runs (column E) and adding them up.
Non-BrowserStack test executions
Any test execution run outside the BrowserStack infrastructure is a non-BrowserStack test execution. These include local test executions and test executions run on other cloud service providers. Non-BrowserStack test executions can be of any type like unit tests, regression tests, and API tests.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!