Skip to content

Commit

Permalink
Added auto props to coverage filter
Browse files Browse the repository at this point in the history
  • Loading branch information
philgei committed Jul 3, 2024
1 parent e95ff65 commit a96f138
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .runsettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<RunSettings>
<DataCollectionRunSettings>
<DataCollector friendlyName="Code Coverage">
<Configuration>
<CodeCoverage>
<Functions>
<Exclude>
<Function>.*get_.*</Function>
<Function>.*set_.*</Function>
</Exclude>
</Functions>
</CodeCoverage>
</Configuration>
</DataCollector>
</DataCollectionRunSettings>
</RunSettings>
6 changes: 6 additions & 0 deletions AdLerBackend.Application.UnitTests/PocoTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using AdLerBackend.Application.Common.ElementStrategies.ScoreElementStrategies.MockPrimitiveH5PStrategy;
using AdLerBackend.Application.Common.InternalUseCases.GetLearningElement;
using AdLerBackend.Application.Common.Responses.Adaptivity;
using AdLerBackend.Application.Common.Responses.Adaptivity.Common;
using AdLerBackend.Application.Common.Responses.Elements;
Expand Down Expand Up @@ -51,5 +52,10 @@ private static IEnumerable<TestCaseData> GetTestCases()
yield return new TestCaseData(new AdaptivityTrigger());
yield return new TestCaseData(new AdaptivityQuestionAnswer());
yield return new TestCaseData(new ContentReferenceAction());
yield return new TestCaseData(new GetLearningElementCommand());
yield return new TestCaseData(new LmsUuidResponse()
{
LmsContextId = 1,
});
}
}
2 changes: 2 additions & 0 deletions AdLerBackend.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/Environment/Filtering/ExcludeCoverageFilters/=AdLerBackend_002EAPI_002EUnitTests_003B_002A_003B_002A_003B_002A/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/Filtering/ExcludeCoverageFilters/=AdLerBackend_002EApplication_003B_002A_003BAdLerBackend_002EApplication_002ECommon_002EInternalUseCases_002EGetAllElementsFromLms_002EGetAllElementsFromLmsUseCase_003BSelector/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/Filtering/ExcludeCoverageFilters/=AdLerBackend_002EApplication_003B_002A_003BAdLerBackend_002EApplication_002ECommon_002EInternalUseCases_002EGetAllElementsFromLms_002EGetAllElementsFromLmsUseCase_003B_003CSelector_003Eb_005F_005F0/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/Filtering/ExcludeCoverageFilters/=AdLerBackend_002EInfrastructure_002EUnitTests_003B_002A_003B_002A_003B_002A/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/Filtering/ExcludeCoverageFilters/=AdLerBackend_002EApplication_002EUnitTests_003B_002A_003B_002A_003B_002A/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/Filtering/ExcludeCoverageFilters/=AdLerBackend_002EDomain_002EUnitTests_003B_002A_003B_002A_003B_002A/@EntryIndexedValue">True</s:Boolean>
Expand Down

0 comments on commit a96f138

Please sign in to comment.