Are you a frequent user of specified tests? We have brushed up the selection flow to make it simpler to find and add the right test classes to your deployment:
Custom Code Coverage
- You can now enforce 75% test coverage on sandboxes using branch rules. Requiring coverage in non-production orgs is useful to prevent surprises late in the process, when a change can’t go live because it doesn’t have enough tests. To use this feature, go to Settings > Branches > New Rule. Select the checkbox 'require that unit tests cover at least 75% of the code'.
- Get suggestions for dependent files when creating Deployment Requests. This new feature tells you that a Visualforce page depends on a related Apex controller, or a validation rule depends on a custom field, and much more.
- Deployment permissions can now be assigned to more than one role. This gives you more flexibility and allows you to, for example, grant the permission to create deployments to production to both "Release Managers" and "Team Leads". Previously, a permission could only be assigned to one role at a time.
- Custom roles can now be created. Previously, only three predefined roles were available.
A progress bar has been added to the deployment page that shows you the status of your unit test and metadata validation in real-time. You can see at a glance how many tests remain to run. Test failures are now displayed as a summary table, so you don't have to dig through the test logs anymore.