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

Publish Redpoint.CloudFramework.Tests.Shared as a NuGet package #129

Merged
merged 1 commit into from
Jan 15, 2025

Publish Redpoint.CloudFramework.Tests.Shared as a NuGet package

81e715e
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Publish Redpoint.CloudFramework.Tests.Shared as a NuGet package #129

Publish Redpoint.CloudFramework.Tests.Shared as a NuGet package
81e715e
Select commit
Loading
Failed to load commit list.
GitHub Actions / Cloud Framework Test Results succeeded Jan 15, 2025 in 1s

120 passed, 0 failed and 11 skipped

Tests passed successfully

✅ Redpoint.CloudFramework.Tests.test-result.trx

131 tests were completed in 11s with 120 passed, 0 failed and 11 skipped.

Test suite Passed Failed Skipped Time
Redpoint.CloudFramework.Tests.BatchingTests 2✅ 1s
Redpoint.CloudFramework.Tests.ClassificationTests 6✅ 71ms
Redpoint.CloudFramework.Tests.DataProtectorTests 1✅ 13ms
Redpoint.CloudFramework.Tests.DatastoreRepositoryLayerTests 80✅ 3s
Redpoint.CloudFramework.Tests.GlobalRepositoryTests 1✅ 56ms
Redpoint.CloudFramework.Tests.RedisLayerRepositoryLayerTests 23✅ 1s
Redpoint.CloudFramework.Tests.SecretManagerTests 11⚪ 11ms
Redpoint.CloudFramework.Tests.SelectFastTests 1✅ 132ms
Redpoint.CloudFramework.Tests.ShardedCounterTests 1✅ 3s
Redpoint.CloudFramework.Tests.StringEnumRepositoryLayerTests 5✅ 66ms

✅ Redpoint.CloudFramework.Tests.BatchingTests

✅ BatchJoinByKeyLookupAssociatesCorrectly
✅ BatchQueryJoinOverDatastore

✅ Redpoint.CloudFramework.Tests.ClassificationTests

✅ CancellationTokenBehavesAsExpected
✅ ClassifierOnlyPullsAlmostNeededValues
✅ ClassifierReturnsOtherValuesWithSlowProcessor
✅ ConnectClassifer
✅ CreateClassifer
✅ IterateClassifier

✅ Redpoint.CloudFramework.Tests.DataProtectorTests

✅ TestDecryption

✅ Redpoint.CloudFramework.Tests.DatastoreRepositoryLayerTests

✅ TestCreate
✅ TestCreateAndLoadWithEmbeddedEntity
✅ TestCreateAndQueryWithEmbeddedEntity
✅ TestCreateFailsWithDuplicate
✅ TestCreateFiresEntityModificationEvent
✅ TestCreateMultiple
✅ TestCreateNullThrowsException
✅ TestCreateThenDelete
✅ TestCreateThenQuery
✅ TestDefaultedModelHasCorrectDefaultsWhenConstructed
✅ TestDefaultedModelHasDefaultsWhenLoaded
✅ TestDefaultedModelHasDefaultsWhenSaved
✅ TestDefaultedModelWithoutDefaultsOnValueTypesThrows
✅ TestDeleteNullThrowsException
✅ TestDeleteSameKeyDoesNotThrow
✅ TestGeographicQueriesDense
✅ TestGeographicQueriesOrderFurthest
✅ TestGeographicQueriesOrderNearest
✅ TestGeographicQueriesSparse
✅ TestIncorrectEventAssignmentFiresException
✅ TestInvalidQueriesAreCaught
✅ TestLoadAcrossNamespaces
✅ TestLoadMultiple
✅ TestLoadMultipleDuplicate
✅ TestLoadMultipleMissing
✅ TestLoadNullThrowsException
✅ TestMismatchedNamespaceIsCaughtOnCreate(nsInModel: "", nsOnOp: "a")
✅ TestMismatchedNamespaceIsCaughtOnCreate(nsInModel: "a", nsOnOp: "")
✅ TestMismatchedNamespaceIsCaughtOnCreate(nsInModel: "a", nsOnOp: "b")
✅ TestMismatchedNamespaceIsCaughtOnDelete(nsInModel: "", nsOnOp: "a")
✅ TestMismatchedNamespaceIsCaughtOnDelete(nsInModel: "a", nsOnOp: "")
✅ TestMismatchedNamespaceIsCaughtOnDelete(nsInModel: "a", nsOnOp: "b")
✅ TestMismatchedNamespaceIsCaughtOnUpdate(nsInModel: "", nsOnOp: "a")
✅ TestMismatchedNamespaceIsCaughtOnUpdate(nsInModel: "a", nsOnOp: "")
✅ TestMismatchedNamespaceIsCaughtOnUpdate(nsInModel: "a", nsOnOp: "b")
✅ TestMismatchedNamespaceIsCaughtOnUpsert(nsInModel: "", nsOnOp: "a")
✅ TestMismatchedNamespaceIsCaughtOnUpsert(nsInModel: "a", nsOnOp: "")
✅ TestMismatchedNamespaceIsCaughtOnUpsert(nsInModel: "a", nsOnOp: "b")
✅ TestNullNamespaceThrowsException
✅ TestPaginatedQueryWith4Entities
✅ TestPaginatedQueryWith5Entities
✅ TestQueryEverything
✅ TestQueryGreaterThan(threshold: 10, count: 1)
✅ TestQueryGreaterThan(threshold: 11, count: 0)
✅ TestQueryGreaterThan(threshold: 12, count: 0)
✅ TestQueryGreaterThan(threshold: 9, count: 2)
✅ TestQueryGreaterThanOrEqualTo(threshold: 10, count: 2)
✅ TestQueryGreaterThanOrEqualTo(threshold: 11, count: 1)
✅ TestQueryGreaterThanOrEqualTo(threshold: 12, count: 0)
✅ TestQueryGreaterThanOrEqualTo(threshold: 9, count: 2)
✅ TestQueryHasAncestor
✅ TestQueryLessThan(threshold: 10, count: 0)
✅ TestQueryLessThan(threshold: 11, count: 1)
✅ TestQueryLessThan(threshold: 12, count: 2)
✅ TestQueryLessThan(threshold: 9, count: 0)
✅ TestQueryLessThanOrEqualTo(threshold: 10, count: 1)
✅ TestQueryLessThanOrEqualTo(threshold: 11, count: 2)
✅ TestQueryLessThanOrEqualTo(threshold: 12, count: 2)
✅ TestQueryLessThanOrEqualTo(threshold: 9, count: 0)
✅ TestQueryNull
✅ TestQueryOrdering
✅ TestTransactionalDelete
✅ TestTransactionalLoadMultiple
✅ TestTransactionalQuery
✅ TestTransactionalUpdate(value: 10, expectedValue: "a")
✅ TestTransactionalUpdate(value: 20, expectedValue: "b")
✅ TestTransactionalUpsert(value: 10, expectedValue: "a")
✅ TestTransactionalUpsert(value: 20, expectedValue: "b")
✅ TestTransactionCreate
✅ TestTransactionCreateWithRollback
✅ TestTransactionUpsert
✅ TestUpdate
✅ TestUpdateDoesNotUpdateCreationTime
✅ TestUpdateNullThrowsException
✅ TestUpdateThrowsIfEntityDoesNotExist
✅ TestUpsert
✅ TestUpsertDoesNotUpdateCreationTime
✅ TestUpsertDuplicate
✅ TestUpsertDuplicateThenQuery
✅ TestUpsertNullThrowsException

✅ Redpoint.CloudFramework.Tests.GlobalRepositoryTests

✅ TestLegacyHasAncestorQueryDoesNotCrash

✅ Redpoint.CloudFramework.Tests.RedisLayerRepositoryLayerTests

✅ TestCreateAndLoadWithEmbeddedEntity
✅ TestCreateAndQueryWithEmbeddedEntity
✅ TestCreateInvalidatesQuery
✅ TestCreateThenQuery
✅ TestCreateThenQueryThenUpdateThenQuery
✅ TestDeletedEntityIsNotInCache
✅ TestDeletedEntityIsNotInCachedQueryEverything
✅ TestLoadedEntityIsInCache
✅ TestLoadedEntityMatchesCreatedEntity
✅ TestMultipleEntityLoadWorks
✅ TestMultipleEntityLoadWorksWithoutCacheClear
✅ TestNonTransactionalUpdateFromNull
✅ TestQueryEverything
✅ TestQueryOrdering
✅ TestReaderCountIsSetWhileReading
✅ TestTransactionalUpdateDoesNotInvalidateCacheUntilCommit
✅ TestTransactionalUpdateFromNull
✅ TestTransactionalUpdateInvalidatesQuery
✅ TestUpdatedEntityIsNotInCache
✅ TestUpdateDoesNotInvalidateIrrelevantQuery
✅ TestUpdateInvalidatesRelevantQuery
✅ TestUpdateWithNoOriginalDataDoesNotCrash
✅ TestUpsertedEntityIsNotInCache

✅ Redpoint.CloudFramework.Tests.SecretManagerTests

⚪ AutoRefreshingSecret
⚪ ConfigurationSourceBehaviour
⚪ ResolveNonIsolatedManager
⚪ SecretManagerConfigurationProvider
⚪ SecretManagerSubscriptionCleanupHostedService
⚪ Subscribe
⚪ TryAccessSecretVersion
⚪ TryAccessSecretVersionAsync
⚪ TryGetLatestSecretVersion
⚪ TryGetLatestSecretVersionAsync
⚪ TryGetSecret

✅ Redpoint.CloudFramework.Tests.SelectFastTests

✅ SelectFast

✅ Redpoint.CloudFramework.Tests.ShardedCounterTests

✅ TestShardedCounterBehavesCorrectlyUnderHighConcurrency

✅ Redpoint.CloudFramework.Tests.StringEnumRepositoryLayerTests

✅ TestCreate
✅ TestCreateAndLoad
✅ TestLoadIntoCache
✅ TestQueryOnEnumValue
✅ TestRoundtripCache