Skip to content

Apex Test: Deploying any test class refreshes entire test sidebar #7290

@jamessimone

Description

@jamessimone

Summary

The updated test sidebar is great, but there are a few issues with it:

Steps To Reproduce:

  1. Run some tests in the sidebar/from a given test class
  2. Deploy any test class
  3. Observe that those results are invalidated and that the entire sidebar refreshes, which takes a while in larger orgs and makes it hard to keep track of incremental changes

Expected result

I'm open to opinions here. My ideal would be that the sidebar doesn't appear to refresh at all and that if you update a test method name, the old test disappears and the new test is added.

Those are the only times in which any kind of refresh is necessary - test addition and subtraction - as far as I can tell, so the existing behavior is confusing and makes it really hard to incrementally keep track of which tests have been run and are passing / which tests have been run and still need to be updated when vetting failures

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions