Class AddScoreActionTests
Behavioral tests for AddScoreAction: adding a delta to a registered metric, the unresolved-service warning path, the unregistered-key warn-once-per-key latch, and the blank-key warn-once latch. UnityEngine-free so it compiles under the net8 standalone runner.
Inherited Members
Namespace: Serenity.Score.Tests.Application
Assembly: Tests.dll
Syntax
public class AddScoreActionTests
Constructors
AddScoreActionTests()
Declaration
public AddScoreActionTests()
Methods
Execute_BlankOrNullKey_WarnsOnceAndNeverTouchesService()
Declaration
public void Execute_BlankOrNullKey_WarnsOnceAndNeverTouchesService()
Execute_RegisteredKey_AddsDeltaToMetric()
Declaration
public void Execute_RegisteredKey_AddsDeltaToMetric()
Execute_UnregisteredKey_LeavesMetricUntouched()
Declaration
public void Execute_UnregisteredKey_LeavesMetricUntouched()
Execute_UnregisteredKey_WarnsOncePerKey_DifferentKeyWarnsAgain()
Declaration
public void Execute_UnregisteredKey_WarnsOncePerKey_DifferentKeyWarnsAgain()
Execute_UnresolvedService_DoesNotThrow()
Declaration
public void Execute_UnresolvedService_DoesNotThrow()
Execute_UnresolvedService_WarnsOnce()
Declaration
public void Execute_UnresolvedService_WarnsOnce()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()