## Assertion Management

![](image-6.png)

### Adding Assertions

1. **Manual Addition**
   - Click "Add New Assertion".
   - Write assertion logic.
   - Include descriptive message.
   - Save and verify.

   Steps:-
      i. ![](image-7.png)

      ii. ![](image-8.png)

2. **Bulk Generation**

![](image-9.png)

   - Use "Generate Assertions for All Tests".
   - Review suggested assertions.
   - Apply relevant checks.
   - Verify generated assertions.

3. **Generation For Single Test**

![](image-10.png)

   - Click on the ⍣ icon. 

### Managing Assertions

1. **Editing**
   - Click the existing assertion.
   - Modify logic or message.
   - Click anywhere outside the box. Your changes will be automatically saved.
   - Rerun the test to verify.
