|
Ran
|
Jobs
1
|
Files
325
|
Run time
1min
|
Badge
README BADGES
|
push
github
Backport "Improve failure message for string assertions when checking for equality" (#2972) * Refactor `StringValidator` to avoid inheritance (#2296) (cherry picked from commit bb50da5f1) * Improve failure message for string assertions when checking for equality (#2307) * Draft improved failure message when checking for equality. * Use line and column for multiline strings * Fix failing tests * Fix Qodana issues * Fix further failing tests * Also fix tests on MacOS (due to different newline) * Calculate expected index * Fix paranthesis * Move specific methods from common StringExtensions to the `StringEqualityStrategy` class * Fix review comments from @dennisdoomen and add tests for word boundary algorithm * Improve tests by using [raw string literals](https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/strings/#raw-string-literals) * Update releases.md * Implement review comments from @jnyrup * Adapt due to survived mutants * Adapt test names --------- Co-authored-by: Valentin Breuß <v.breuss@tig.at> (cherry picked from commit 6859575f3)
4050 of 4308 branches covered (94.01%)
Branch coverage included in aggregate %.
192 of 194 new or added lines in 7 files covered. (98.97%)
13018 of 13276 relevant lines covered (98.06%)
51642.01 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 2 |
87.5 |
Src/FluentAssertions/Primitives/StringStartStrategy.cs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 12829865536.1 | 325 |
97.07 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|