---
title: Apex Unit Tests Should Include At Least One Assertion
description: "**Impact area** Manageability **Severity** High **Affected element** Apex Class ## Rule ID **SF-0001** ## Impact No impact. ## Remediation No action. ### Time to fix 30 min"
url: "https://community-staging.qualityclouds.com/qcdocs/qcr/rules/apex-unit-tests-should-include-at-least-one-assertion/"
updated: "2025-03-21"
category: PMD Rules
---

# Apex Unit Tests Should Include At Least One Assertion

**Impact area**

Manageability

**Severity**

High

**Affected element**

Apex Class

## Rule ID

**SF-0001**

## Impact

No impact.

## Remediation

No action.

### Time to fix

30 min
