Skip to content

refactor: make Path a sequence of InvocationCoordinate instead of Any#221

Open
tassiluca wants to merge 2 commits intoscafi:masterfrom
tassiluca:refactor/path
Open

refactor: make Path a sequence of InvocationCoordinate instead of Any#221
tassiluca wants to merge 2 commits intoscafi:masterfrom
tassiluca:refactor/path

Conversation

@tassiluca
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Dec 21, 2025

Codecov Report

❌ Patch coverage is 81.81818% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.78%. Comparing base (10f44de) to head (0ad26e4).

Files with missing lines Patch % Lines
...bo/scafi/context/xc/ExchangeAggregateContext.scala 0.00% 1 Missing ⚠️
...scala/it/unibo/scafi/libraries/CommonLibrary.scala 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #221      +/-   ##
==========================================
- Coverage   62.31%   61.78%   -0.54%     
==========================================
  Files          58       58              
  Lines         743      730      -13     
  Branches       58       59       +1     
==========================================
- Hits          463      451      -12     
+ Misses        280      279       -1     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

import org.scalatest.matchers.should

class ExportTest extends AnyFlatSpecLike, should.Matchers:
private given Conversion[String, InvocationCoordinate] = key => InvocationCoordinate(key, invocationCount = 0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this implicit be refactored into a single implementation somewhere? It is used twice in the tests.
Does it make sense?

@nicolasfara nicolasfara force-pushed the refactor/path branch 4 times, most recently from 5079244 to b6f58f2 Compare January 4, 2026 01:19
@nicolasfara nicolasfara force-pushed the refactor/path branch 5 times, most recently from 67950a9 to 9e4e84a Compare January 13, 2026 02:57
@nicolasfara nicolasfara force-pushed the refactor/path branch 5 times, most recently from 714b07d to 359a0a0 Compare January 20, 2026 09:31
@nicolasfara nicolasfara force-pushed the refactor/path branch 2 times, most recently from fb4701f to dac1560 Compare January 22, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants