Files
DP44/docs/ai/DataPRO/UnitTest/DTS.Common.DataModel.Tests.md
2026-04-17 14:55:32 -04:00

1.1 KiB

source_files, generated_at, model, schema_version, sha256
source_files generated_at model schema_version sha256
DataPRO/UnitTest/DTS.Common.DataModel.Tests/GroupShould.cs
2026-04-17T16:10:42.606123+00:00 zai-org/GLM-5-FP8 1 3fde041bb830365d

DTS.Common.DataModel.Tests

Purpose

This module is a unit test assembly that validates the behavior of the Group class from the GroupList.Model namespace. It exists to ensure the correctness of filtering logic and state transitions within the data model layer, specifically testing the Filter method's string matching across multiple properties and the ConvertToEmbedded method's idempotency.

Public Interface

Class: GroupShould (NUnit TestFixture)

  • void Filter_ShouldReturnTrueOnEmptyTerm() — Verifies that Group.Filter("") returns true.
  • void Filter_ShouldReturnTrueOnNullTerm() — Verifies that Group.Filter(null) returns true.
  • void Filter_ShouldReturnTrueWhenAssociatedTestSetupsIsNull() — Verifies that Filter returns true when AssociatedTestSetups is null, regardless of search term.
  • void Filter_ShouldReturnTrueWhenfindTerm()