---
schema_version: "1"
id: a902082c48838fb471e33c4848f2681728453c5779faa2900ad1495a261eddeb
title: View Application Test Results
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/code_test_results.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.code_test_results.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8358f6588b822eea25d0ea2cd0593842a7095889f01b6128afb8b85ffd52e1c5
description: From Setup, enter Application in the Quick Find box, select Application Test Execution, then click View Test History to view all test results for your org, not just tests that you have run. Test results are retained for 30 days after they finish running, unless cleared.
products:
  - Salesforce Platform
release: "264"
---
# View Application Test Results

From Setup, enter Application in the Quick Find box, select **Application Test Execution**, then click **View Test History** to view all test results for your org, not just tests that you have run. Test results are retained for 30 days after they finish running, unless cleared.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic (<a href="https://help.salesforce.com/s/articleView?id=xcloud.overview_edition_lex_only.htm&amp;language=en_US" target="_blank">not available in all orgs</a>) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <span id="code_test_results__Apex_Code_editions_text"><a name="code_test_results__Apex_Code_editions_text"></a><strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, <strong>Developer</strong>, and <strong>Database.com</strong> Editions</span></td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:74%">
          <col style="width:26%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d31717e89">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d31717e89 ">
              <span id="code_test_results__class_perm_text"><a name="code_test_results__class_perm_text"><!-- --></a>To define, edit, delete, set security, and set version
                settings for Apex classes:</span>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d31717e89 ">
              <span id="code_test_results__apex_perm_value"><a name="code_test_results__apex_perm_value"><!-- --></a>Author Apex</span>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d31717e89 ">
              <span id="code_test_results__class__runtest_perm_text"><a name="code_test_results__class__runtest_perm_text"><!-- --></a>To run Apex tests:</span>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d31717e89 ">
              <span id="code_test_results__apex_runtest_perm_value"><a name="code_test_results__apex_runtest_perm_value"><!-- --></a>View Setup and Configuration</span>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d31717e89 ">To open, edit, or create a flow test in Flow Builder:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d31717e89 ">Manage Flow</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d31717e89 ">To view test run details in Flow Builder:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d31717e89 ">View All Data</td>

          </tr>
        </tbody>
      </table>

To show a filtered list of items, select a predefined list from the View drop-down list, or click **Create New View** to define your own custom views.To edit or delete any view you created, select it from the View drop-down list and click **Edit**.

Click **View** to view more details about a specific test run.

The debug log is automatically set to specific log levels and categories, which can't be changed in the Application Test Execution page.

 
| Category | Level |
| --- | --- |
| Database | INFO |
| Apex Code | FINE |
| Apex Profiling | FINE |
| Workflow | FINEST |
| Validation | INFO |

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_code-264-0-0-production-enus/789bc523-706b-4ae4-8fe9-be6322e38b6b/images/icon_important.png)

Important Before you can deploy Apex or package it for the Salesforce AppExchange, the following must be true.

- Unit tests must cover at least 75% of your Apex code, and all of those tests must complete successfully.
    - When deploying Apex to a production organization, each unit test in your organization namespace is executed by default.
    - Calls to `System.debug` are not counted as part of Apex code coverage.
    - Test methods and test classes are not counted as part of Apex code coverage.
    - While only 75% of your Apex code must be covered by tests, don’t focus on the percentage of code that is covered. Instead, make sure that every use case of your application is covered, including positive and negative cases, as well as bulk and single records. This approach ensures that 75% or more of your code is covered by unit tests.
- Every trigger must have some test coverage.
- All classes and triggers must compile successfully.

#### See Also

- [View Application Test Results Details](https://help.salesforce.com/s/articleView?id=platform.code_test_results_details.htm&release=264.0.0&type=5 "View all test results for your org in the default view for 30 days unless cleared, not just tests that you have run.")