Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests related to CDMS-144 AC1 to AC3. #47

Merged
merged 12 commits into from
Jan 14, 2025

Conversation

limsim
Copy link
Contributor

@limsim limsim commented Jan 7, 2025

No description provided.

Lim Sim and others added 11 commits January 14, 2025 15:23
…efactoring of test fixtures (#40)

* CDMS-200 switches country ched searching to use country of origin

CDMS-200 Refactored no match tests to re-use code

Refactoring Test Fixtures

Switched Analytics MaxVersion tests to use new fixtures

Some small refactoring to remove some generics

CDMS-200 adds additional decision tests, moves alvs decision check analytics into context so it appears in audit entry

Refactoring fixtures

Refactoring fixtures

* Finished refactoring of BaseTest class :fingers-crossed
* CDMS-200 use an enum for alvs DecisionStatus

* CDMS-200 added tests for missing/incorrect decision version numbers

* CDMS-200 changes decision status to an enum

* Fix tests

* CDMS-200 creating a way to use the new fixtures with test generator datasets

* Integration tests - ScenarioDatasetBaseTest Caches datasets between tests

* Updated tests to use the bus, and avoid using a thread sleep in the tests

* ScenarioGeneratorBaseTest only runs each scenario load once

* Disables parrallel bus processing for integration tests. Switching integration tests to use new test base class

* CDMS-200 adds additional context to failing tests

* added out extra output to failing test

* updated tests to use the scenario name rather than test name

* Updates all analytics tests to use ScenarioDatasetBaseTest

---------

Co-authored-by: Thomas Anderson <[email protected]>
…efactoring of test fixtures (#40)

* CDMS-200 switches country ched searching to use country of origin

CDMS-200 Refactored no match tests to re-use code

Refactoring Test Fixtures

Switched Analytics MaxVersion tests to use new fixtures

Some small refactoring to remove some generics

CDMS-200 adds additional decision tests, moves alvs decision check analytics into context so it appears in audit entry

Refactoring fixtures

Refactoring fixtures

* Finished refactoring of BaseTest class :fingers-crossed
* CDMS-200 use an enum for alvs DecisionStatus

* CDMS-200 added tests for missing/incorrect decision version numbers

* CDMS-200 changes decision status to an enum

* Fix tests

* CDMS-200 creating a way to use the new fixtures with test generator datasets

* Integration tests - ScenarioDatasetBaseTest Caches datasets between tests

* Updated tests to use the bus, and avoid using a thread sleep in the tests

* ScenarioGeneratorBaseTest only runs each scenario load once

* Disables parrallel bus processing for integration tests. Switching integration tests to use new test base class

* CDMS-200 adds additional context to failing tests

* added out extra output to failing test

* updated tests to use the scenario name rather than test name

* Updates all analytics tests to use ScenarioDatasetBaseTest

---------

Co-authored-by: Thomas Anderson <[email protected]>
@limsim limsim force-pushed the feature/CDMS-144-add-automated-test branch from fb254b6 to 35b7231 Compare January 14, 2025 17:09
Copy link

Code Coverage

Package Line Rate Branch Rate Health
Btms.Types.Alvs 84% 50%
Btms.Consumers 76% 53%
Btms.Azure 43% 100%
Btms.Analytics 78% 67%
Btms.Common 82% 50%
Btms.Backend.Data 66% 61%
Btms.Types.Gvms 67% 100%
Btms.Types.Ipaffs.Mapping 75% 59%
Btms.Model 90% 92%
Btms.Emf 11% 0%
Btms.SyncJob 73% 62%
Btms.Types.Alvs.Mapping.V1.Tests 0% 0%
Btms.SensitiveData 79% 83%
Btms.Types.Gvms.Mapping 38% 26%
Btms.Types.Alvs.Mapping 76% 0%
Btms.Backend 62% 44%
Btms.Business 83% 67%
Btms.Metrics 88% 0%
Btms.Types.Ipaffs 95% 62%
Btms.BlobService 39% 31%
TestGenerator.IntegrationTesting.Backend 86% 70%
TestDataGenerator 85% 79%
Summary 78% (8826 / 11274) 60% (877 / 1462)

@limsim limsim merged commit 3aec4df into main Jan 14, 2025
1 check passed
@limsim limsim deleted the feature/CDMS-144-add-automated-test branch January 14, 2025 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants