• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LBreedlove / Queuebal.Expressions / 15798682699

21 Jun 2025 06:53PM UTC coverage: 89.968% (+0.2%) from 89.735%
15798682699

push

github

web-flow
Add complex example + fix dynamic dic expr (#7)

288 of 310 branches covered (92.9%)

Branch coverage included in aggregate %.

28 of 34 new or added lines in 4 files covered. (82.35%)

1703 of 1903 relevant lines covered (89.49%)

308.61 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

69.23
/Queuebal.Expressions.Mutations/StringJoinMutation.cs
1
using Queuebal.Json;
2

3
namespace Queuebal.Expressions.Mutations;
4

5

6
public class StringJoinMutation : Mutation
7
{
8
    public static string MutationType => "StringJoin";
2✔
9

10
    /// <summary>
11
    /// The separator used to join the strings in the inputValue.
12
    /// </summary>
13
    public required string Separator { get; set; }
4✔
14

15
    protected override JSONValue EvaluateMutation(ExpressionContext context, JSONValue inputValue)
16
    {
2✔
17
        if (!inputValue.IsList)
2✔
NEW
18
        {
×
NEW
19
            throw new InvalidOperationException("StringJoinMutation can only be applied to a list input value.");
×
20
        }
21

22
        if (inputValue.ListValue.Select(v => v.IsString).Any(v => !v))
12✔
NEW
23
        {
×
NEW
24
            throw new InvalidOperationException("StringJoinMutation can only be applied to a list of strings.");
×
25
        }
26

27
        return string.Join(Separator, inputValue.ListValue.Select(v => v.StringValue));
7✔
28
    }
2✔
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc