Run all tests.
(self)
| 281 | self.assert_test("desc_dir" in result, result) |
| 282 | |
| 283 | async def run_all_tests(self): |
| 284 | """Run all tests.""" |
| 285 | print("Starting comprehensive filesystem tests...") |
| 286 | |
| 287 | await self.setup() |
| 288 | |
| 289 | try: |
| 290 | await self.test_basic_file_operations() |
| 291 | await self.test_directory_operations() |
| 292 | await self.test_file_manipulation() |
| 293 | await self.test_search_functionality() |
| 294 | await self.test_permissions() |
| 295 | await self.test_service_layer() |
| 296 | await self.test_handlers() |
| 297 | await self.test_error_handling() |
| 298 | await self.test_edge_cases() |
| 299 | await self.test_describe_functionality() |
| 300 | |
| 301 | print(f"\n=== Test Results ===") |
| 302 | print(f"Passed: {self.passed_tests}") |
| 303 | print(f"Failed: {self.failed_tests}") |
| 304 | print(f"Total: {self.passed_tests + self.failed_tests}") |
| 305 | |
| 306 | if self.failed_tests == 0: |
| 307 | print("🎉 All tests passed!") |
| 308 | else: |
| 309 | print(f"❌ {self.failed_tests} tests failed") |
| 310 | |
| 311 | finally: |
| 312 | await self.cleanup() |
| 313 | |
| 314 | |
| 315 | async def run(): |
no test coverage detected