11# diff-match-patch-qt6 Tests
22
3- Test suite using QTest framework and CTest integration for CI/CD.
3+ cross-platform test suite built using QTest framework and CTest integration for CI/CD.
44
55## 🏗️ Structure
66
@@ -104,18 +104,13 @@ Tests run automatically on:
104104- 📊 ** Coverage** : Code coverage reports (Linux only)
105105
106106### Status Badges
107- Add to your README.md:
107+
108108``` markdown
109109[ ![ CI] ( https://github.com/yourusername/diff-match-patch-qt6/workflows/CI/badge.svg )] ( https://github.com/yourusername/diff-match-patch-qt6/actions )
110110```
111111
112112## 🔧 Configuration
113113
114- ### Test Timeouts
115- - Unit tests: 30 seconds (default)
116- - Performance tests: 300 seconds
117- - Memory tests: 180 seconds
118-
119114### Algorithm Configuration
120115Tests use optimized settings:
121116``` cpp
@@ -124,14 +119,6 @@ dmp.Match_Distance = 100000; // Extended search distance
124119dmp.Match_MaxBits = 8192 ; // Large pattern support
125120```
126121
127- ## 📈 Performance Expectations
128-
129- ### Typical Results (Release build)
130- - ** Small files (≤10KB)** : < 50ms
131- - ** Medium files (≤100KB)** : < 5s
132- - ** Large files (≤500KB)** : < 30s
133- - ** Memory efficiency** : > 90% for realistic changes (≤5%)
134-
135122### Failure Criteria
136123Tests fail if:
137124- Algorithm produces incorrect results
@@ -147,13 +134,6 @@ Tests fail if:
1471343 . Add to CMakeLists.txt
1481354 . Register with CTest
149136
150- ### Test Guidelines
151- - Use descriptive test names
152- - Test both success and failure cases
153- - Include performance assertions
154- - Verify memory cleanup
155- - Test Unicode and edge cases
156-
157137## 📝 Example Test
158138
159139``` cpp
0 commit comments