Skip to content

Conversation

@Baptouuuu
Copy link
Member

This work is in preparation for the testing framework.

This PR will stay in this state until the whole innmind/foundation new API is stable enough to build innmind/testing.

@Baptouuuu Baptouuuu self-assigned this Nov 9, 2025
* adapter-as-final-class: (28 commits)
  CS
  make Adapter a final class
  make InMemory implement Implementation
  make sure to always list with a tree path representing a directory
  give a more easy access to the file/directory name to remove
  give a more easy access to the directory name being created
  give a more easy access to the file name being written
  let the bridge work with any implementation
  encapsulate the knownledge if the path to read is a file/directory or unknown yet
  use null when media type is not parseable to let use the default one
  change implementation type to prevent reaching an impossible case
  remove dead code
  prevent writing unchanged file/directory
  handle case sensitivity in the bridge
  let the bridge handle the logic to create/delete files/directories
  simplify reading from the filesystem
  add Implementation::remove()
  remove dead code
  remove dead code
  make sure the implementations only return relative names and not the full tree path
  ...
@codecov
Copy link

codecov bot commented Nov 11, 2025

Codecov Report

❌ Patch coverage is 96.12069% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.42%. Comparing base (279437a) to head (026ec1b).

Files with missing lines Patch % Lines
src/Adapter/Logger.php 83.01% 9 Missing ⚠️
src/Adapter/TreePath.php 80.95% 8 Missing ⚠️
src/Recover.php 83.33% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop      #28      +/-   ##
=============================================
- Coverage      99.19%   97.42%   -1.78%     
- Complexity       179      221      +42     
=============================================
  Files             15       21       +6     
  Lines            620      814     +194     
=============================================
+ Hits             615      793     +178     
- Misses             5       21      +16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants