@@ -86,10 +86,10 @@ pip install -e .
8686- Works seamlessly with ` pytest.approx() ` , ` mock.ANY ` and any custom comparator utilities
8787- Handles complex nested structures intelligently
8888
89- ### ** Zero Configuration **
90- - ** Just install and it works ** - no setup required
91- - Can be disabled with ` --no-deepassert ` flag
92- - ** Drop-in replacement** for standard assertions
89+ ### ** Simple Opt-In **
90+ - ** Enable with ` --deepassert ` flag ** - disabled by default to avoid interference
91+ - No additional configuration needed
92+ - ** Drop-in replacement** for standard assertions when enabled
9393
9494---
9595
225225
226226</details >
227227
228- #### ✨ ** With pytest-deepassert** (with ` pytest -vv ` )
228+ #### ✨ ** With pytest-deepassert** (with ` pytest --deepassert - vv ` )
229229
230230```
231231example_test1.py::test_user_profile_comparison FAILED
@@ -355,30 +355,25 @@ E [... standard pytest diff continues below ...]
355355
356356## 💡 Usage
357357
358- ### ** Automatic Enhancement**
359-
360- Once installed, ` pytest-deepassert ` ** automatically** enhances all your ` == ` assertions inside the tests. No code changes required!
361-
362-
363- ### ** Configuration Options**
364-
365- #### Disable deepassert
358+ After installation, enable ` pytest-deepassert ` by passing the ` --deepassert ` flag when running pytest:
366359
367360``` bash
368- pytest --no- deepassert
361+ pytest --deepassert
369362```
370363
364+ This will enhance all your ` == ` assertions inside the tests. No code changes required!
365+
371366---
372367
373368## Configuration
374369
375- ` pytest-deepassert ` works out of the box with ** zero configuration ** . However, you can customize its behavior :
370+ ` pytest-deepassert ` is ** disabled by default ** to avoid any interference with your existing test suite. Enable it when needed :
376371
377372### Command Line Options
378373
379374| Option | Description |
380375| --------| -------------|
381- | ` --no- deepassert ` | Disable pytest-deepassert for this test run |
376+ | ` --deepassert ` | Enable pytest-deepassert for this test run |
382377
383378
384379---
0 commit comments