Skip to content

Support sub modules in mocks #2032

Support sub modules in mocks

Support sub modules in mocks #2032

GitHub Actions / test-results-test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release succeeded Sep 28, 2023 in 1s

test-results-test-results-gitlab-gitlab-ee-15.11.9-ee.0-Release βœ…

Tests passed successfully

Report Passed Failed Skipped Time
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az504-223_2023-09-28_15_48_52.trx 274βœ… 5βšͺ 1095s
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az504-223_2023-09-28_16_06_25.trx 73βœ… 6s
/home/runner/work/NGitLab/NGitLab/TestResults/_fv-az504-223_2023-09-28_16_06_33.trx 73βœ… 7s

βœ…Β /home/runner/work/NGitLab/NGitLab/TestResults/_fv-az504-223_2023-09-28_15_48_52.trx

279 tests were completed in 1095s with 274 passed, 0 failed and 5 skipped.

Test suite Passed Failed Skipped Time
NGitLab.Tests.APITests 1βœ… 49s
NGitLab.Tests.AsyncApiValidation 1βœ… 36ms
NGitLab.Tests.BranchClientTests 2βœ… 9s
NGitLab.Tests.CommitStatusTests 9βœ… 16s
NGitLab.Tests.CommitsTests 4βœ… 27s
NGitLab.Tests.ContributorsTests 2βœ… 5s
NGitLab.Tests.EnvironmentsTests 8βœ… 9s
NGitLab.Tests.EventTests 2βœ… 2s
NGitLab.Tests.Extensions.FunctionRetryExtensionsTests 2βœ… 413ms
NGitLab.Tests.FilesTests 5βœ… 9s
NGitLab.Tests.GitLabChangeDiffCounterTests 1βœ… 4ms
NGitLab.Tests.GitLabCredentialsTests 6βœ… 1ms
NGitLab.Tests.GraphQLTests 2βœ… 1s
NGitLab.Tests.GroupBadgeClientTests 1βœ… 1s
NGitLab.Tests.GroupsTests 36βœ… 48s
NGitLab.Tests.GroupVariableClientTests 1βœ… 1s
NGitLab.Tests.HttpRequestorTests 6βœ… 5s
NGitLab.Tests.Impl.DynamicEnumTests 1βœ… 1ms
NGitLab.Tests.Impl.JsonConverterTests 8βœ… 25ms
NGitLab.Tests.Impl.SimpleJsonTests 3βœ… 26ms
NGitLab.Tests.IssueTests 14βœ… 19s
NGitLab.Tests.JobTests 8βœ… 72s
NGitLab.Tests.JsonTests 8βœ… 48ms
NGitLab.Tests.LintClientTests 4βœ… 4s
NGitLab.Tests.MembersClientTests 6βœ… 6s
NGitLab.Tests.MergeRequestChangesClientTests 1βœ… 7s
NGitLab.Tests.MergeRequestClientTests 12βœ… 1βšͺ 150s
NGitLab.Tests.MergeRequestCommentsClientTests 3βœ… 15s
NGitLab.Tests.MergeRequestDiscussionsClientTests 6βœ… 30s
NGitLab.Tests.Milestone.MilestoneClientTests 4βœ… 15s
NGitLab.Tests.NamespacesTests 4βœ… 13s
NGitLab.Tests.PipelineTests 9βœ… 167s
NGitLab.Tests.ProjectBadgeClientTests 1βœ… 1s
NGitLab.Tests.ProjectIssueNoteTests 2βœ… 3s
NGitLab.Tests.ProjectLevelApprovalRulesClientTests 4βšͺ 189ms
NGitLab.Tests.ProjectsTests 28βœ… 57s
NGitLab.Tests.ProjectVariableClientTests 1βœ… 1s
NGitLab.Tests.ProtectedBranchTests 1βœ… 4s
NGitLab.Tests.Release.ReleaseClientTests 2βœ… 9s
NGitLab.Tests.RepositoryClient.BranchClientTests 4βœ… 13s
NGitLab.Tests.RepositoryClient.ProjectHooksClientTests 1βœ… 1s
NGitLab.Tests.RepositoryClient.RepositoryClientTests 23βœ… 63s
NGitLab.Tests.RunnerTests 5βœ… 21s
NGitLab.Tests.Sha1Tests 5βœ… 11ms
NGitLab.Tests.SnippetsTest 4βœ… 9s
NGitLab.Tests.TagTests 3βœ… 9s
NGitLab.Tests.TriggerTests 1βœ… 820ms
NGitLab.Tests.UsersTests 12βœ… 209s
NGitLab.Tests.WikiTests 1βœ… 2s

βœ…Β NGitLab.Tests.APITests

βœ… Test_the_exception_does_not_contain_the_password_on_connection_error

βœ…Β NGitLab.Tests.AsyncApiValidation

βœ… ValidateAsyncMethodSignature

βœ…Β NGitLab.Tests.BranchClientTests

βœ… Test_CommitInfoIsCorrectlyDeserialized
βœ… Test_search_branches

βœ…Β NGitLab.Tests.CommitStatusTests

βœ… Test_get_commit_status
βœ… Test_post_commit_status_and_update_it_from_canceled_to_pending
βœ… Test_post_commit_status_and_update_it_from_pending_to_canceled
βœ… Test_post_commit_status_and_update_it_from_pending_to_failed
βœ… Test_post_commit_status_and_update_it_from_pending_to_running_to_success
βœ… Test_post_commit_status_and_update_it_from_success_to_canceled
βœ… Test_post_commit_status_and_update_it_from_success_to_failed
βœ… Test_post_commit_status_and_update_it_from_success_to_pending
βœ… Test_post_commit_status_with_no_coverage

βœ…Β NGitLab.Tests.CommitsTests

βœ… Test_can_cherry_pick_commit
βœ… Test_can_get_commit
βœ… Test_can_get_merge_request_associated_to_commit
βœ… Test_can_get_stats_in_commit

βœ…Β NGitLab.Tests.ContributorsTests

βœ… Test_can_get_contributors
βœ… Test_can_get_MultipleContributors

βœ…Β NGitLab.Tests.EnvironmentsTests

βœ… CreateAndGetAll
βœ… Delete
βœ… Edit
βœ… GetById
βœ… QueryByName
βœ… QueryBySearch
βœ… QueryByState
βœ… Stop

βœ…Β NGitLab.Tests.EventTests

βœ… Test_get_global_events_works
βœ… Test_get_user_events_works

βœ…Β NGitLab.Tests.Extensions.FunctionRetryExtensionsTests

βœ… Test_methods_dont_fail_dont_retry
βœ… Test_methods_retry_fail_retry_two_time

βœ…Β NGitLab.Tests.FilesTests

βœ… Test_add_update_delete_and_get_file
βœ… Test_blame_comparison
βœ… Test_get_blame_of_an_old_commit
βœ… Test_get_blame_of_latest_commit
βœ… Test_get_file_with_bom

βœ…Β NGitLab.Tests.GitLabChangeDiffCounterTests

βœ… Compute_return_diffs_stats

βœ…Β NGitLab.Tests.GitLabCredentialsTests

βœ… Constructor_should_complete_api_version_when_not_set("https://test","https://test")
βœ… Constructor_should_complete_api_version_when_not_set("https://test/","https://test")
βœ… Constructor_should_complete_api_version_when_not_set("https://test/api/v4","https://test")
βœ… Constructor_should_complete_api_version_when_not_set("https://test/api/v4/","https://test")
βœ… Constructor_should_reject_apiv3("https://test/api/v3")
βœ… Constructor_should_reject_apiv3("https://test/api/v3/")

βœ…Β NGitLab.Tests.GraphQLTests

βœ… Test_get_project
βœ… Test_invalid_request

βœ…Β NGitLab.Tests.GroupBadgeClientTests

βœ… Test_group_badges

βœ…Β NGitLab.Tests.GroupsTests

βœ… Test_create_delete_group
βœ… Test_get_by_group_query_groupQuery_AllAvailable_returns_groups
βœ… Test_get_by_group_query_groupQuery_MinAccessLevel_returns_groups
βœ… Test_get_by_group_query_groupQuery_OrderBy_returns_groups
βœ… Test_get_by_group_query_groupQuery_Owned_returns_groups
βœ… Test_get_by_group_query_groupQuery_Search_returns_groups
βœ… Test_get_by_group_query_groupQuery_SkipGroups_returns_groups
βœ… Test_get_by_group_query_groupQuery_Sort_returns_groups
βœ… Test_get_by_group_query_groupQuery_Statistics_returns_groups
βœ… Test_get_by_group_query_groupQuery_WithCustomAttributes_returns_groups
βœ… Test_get_by_group_query_nulls_does_not_throws
βœ… Test_get_group_by_fullpath
βœ… Test_get_subgroups_by_fullpath
βœ… Test_get_subgroups_by_fullpath_groupQuery_MinAccessLevel_returns_groups
βœ… Test_get_subgroups_by_fullpath_groupQuery_OrderBy_returns_groups
βœ… Test_get_subgroups_by_fullpath_groupQuery_Owned_returns_groups
βœ… Test_get_subgroups_by_fullpath_groupQuery_Search_returns_groups
βœ… Test_get_subgroups_by_fullpath_groupQuery_Sort_returns_groups
βœ… Test_get_subgroups_by_fullpath_groupQuery_Statistics_returns_groups
βœ… Test_get_subgroups_by_fullpath_groupQuery_WithCustomAttributes_returns_groups
βœ… Test_get_subgroups_by_fullpath_query_groupQuery_AllAvailable_returns_groups
βœ… Test_get_subgroups_by_fullpath_SkipGroups_returns_groups
βœ… Test_get_subgroups_by_id
βœ… Test_get_subgroups_by_id_groupQuery_AllAvailable_returns_groups
βœ… Test_get_subgroups_by_id_groupQuery_MinAccessLevel_returns_groups
βœ… Test_get_subgroups_by_id_groupQuery_OrderBy_returns_groups
βœ… Test_get_subgroups_by_id_groupQuery_Owned_returns_groups
βœ… Test_get_subgroups_by_id_groupQuery_Search_returns_groups
βœ… Test_get_subgroups_by_id_groupQuery_Sort_returns_groups
βœ… Test_get_subgroups_by_id_groupQuery_Statistics_returns_groups
βœ… Test_get_subgroups_by_id_groupQuery_WithCustomAttributes_returns_groups
βœ… Test_get_subgroups_by_id_SkipGroups_returns_groups
βœ… Test_group_projects_query_returns_archived
βœ… Test_group_projects_query_returns_searched_project
βœ… Test_groups_is_not_empty
βœ… Test_projects_are_set_in_a_group_by_id

βœ…Β NGitLab.Tests.GroupVariableClientTests

βœ… Test_group_variables

βœ…Β NGitLab.Tests.HttpRequestorTests

βœ… Test_authorization_header_uses_bearer
βœ… Test_calls_are_retried_when_they_fail_in_gitlab
βœ… Test_impersonation_via_sudo_and_user_id
βœ… Test_impersonation_via_sudo_and_username
βœ… Test_request_options_sudo_transferred_to_request_header
βœ… Test_the_timeout_can_be_overridden_in_the_request_options

βœ…Β NGitLab.Tests.Impl.DynamicEnumTests

βœ… Test_comparison

βœ…Β NGitLab.Tests.Impl.JsonConverterTests

βœ… Test_DeserializeNullToSupportedValueType_Succeeds
βœ… Test_DeserializeNullToUnsupportedValueType_Throws
βœ… Test_DeserializeStringToDateTime_SupportsMultipleFormats("2022-01-12",Unspecified)
βœ… Test_DeserializeStringToDateTime_SupportsMultipleFormats("2022-01-12T22:49:21.552+00:00",Utc)
βœ… Test_DeserializeStringToDateTime_SupportsMultipleFormats("2022-01-12T22:49:21.552Z",Utc)
βœ… Test_DeserializeStringToDouble_Succeeds
βœ… Test_DeserializeStringToInt32
βœ… Test_DeserializeStringToInt64_Succeeds

βœ…Β NGitLab.Tests.Impl.SimpleJsonTests

βœ… Test_basic_field
βœ… Test_dynamic_enums_fill_the_enum_value_when_the_enum_is_unknown
βœ… Test_dynamic_enums_fill_the_string_value_when_the_enum_is_unknown

βœ…Β NGitLab.Tests.IssueTests

βœ… Test_get_all_project_issues
βœ… Test_get_all_resource_label_events
βœ… Test_get_all_resource_milestone_events
βœ… Test_get_assigned_issues_with_IssueQuery
βœ… Test_get_assigned_issues_with_IssueQuery_and_project_id
βœ… Test_get_confidential_issues_with_IssueQuery
βœ… Test_get_issue_by_id
βœ… Test_get_issue_with_IssueQuery
βœ… Test_get_issues_no_confidential_filter_with_IssueQuery
βœ… Test_get_issues_with_invalid_project_id_will_throw
βœ… Test_get_linked_issue
βœ… Test_get_new_and_updated_issue_with_duedate
βœ… Test_get_non_confidential_issues_with_IssueQuery
βœ… Test_get_unassigned_issues_with_IssueQuery

βœ…Β NGitLab.Tests.JobTests

βœ… Test_get_job_artifacts
βœ… Test_get_job_from_id
βœ… Test_get_job_trace
βœ… Test_getjobs_all
βœ… Test_getjobs_multiple_scopes
βœ… Test_getjobs_scope
βœ… Test_run_action_play
βœ… Test_run_action_retry

βœ…Β NGitLab.Tests.JsonTests

βœ… DeserializeEnumWithEnumMemberAttribute_Ok("v1",Value1)
βœ… DeserializeEnumWithEnumMemberAttribute_Ok("V1",Value1)
βœ… DeserializeEnumWithEnumMemberAttribute_Ok("v2",Value2)
βœ… DeserializeEnumWithEnumMemberAttribute_Ok("V2",Value2)
βœ… DeserializeEnumWithEnumMemberAttribute_Ok("value2",Value2)
βœ… DeserializeEnumWithEnumMemberAttribute_UnknownValues("dfsf")
βœ… DeserializeNewerContract_Ok
βœ… DeserializeOlderContract_Ok

βœ…Β NGitLab.Tests.LintClientTests

βœ… LintInvalidCIYaml
βœ… LintInvalidProjectCIYaml
βœ… LintValidCIProjectYaml
βœ… LintValidCIYaml

βœ…Β NGitLab.Tests.MembersClientTests

βœ… AddMemberToGroup
βœ… AddMemberToProject
βœ… GetAccessLevelMemberOfGroup
βœ… GetAccessLevelMemberOfProject
βœ… UpsertAccessLevelMemberOfGroup
βœ… UpsertAccessLevelMemberOfProject

βœ…Β NGitLab.Tests.MergeRequestChangesClientTests

βœ… GetChangesOnMergeRequest

βœ…Β NGitLab.Tests.MergeRequestClientTests

βœ… Test_cancel_merge_when_pipeline_succeeds
βœ… Test_get_assigned_merge_requests
βœ… Test_get_unassigned_merge_requests
βœ… Test_gitlab_returns_an_error_when_trying_to_create_a_request_with_same_source_and_destination
βœ… Test_merge_request_api
βšͺ Test_merge_request_approvers
βœ… Test_merge_request_delete
βœ… Test_merge_request_head_pipeline
βœ… Test_merge_request_id_is_not_equal_to_iid
βœ… Test_merge_request_rebase
βœ… Test_merge_request_rebaseasync_skip_ci
βœ… Test_merge_request_versions
βœ… Test_set_reviewers_merge_requests

βœ…Β NGitLab.Tests.MergeRequestCommentsClientTests

βœ… AddCommentToMergeRequest_DeprecatedApi
βœ… AddCommentToMergeRequestOnArchivedProject
βœ… AddEditCommentToMergeRequest

βœ…Β NGitLab.Tests.MergeRequestDiscussionsClientTests

βœ… AddDiscussionToMergeRequest_DiscussionCreated
βœ… AddDiscussionToMergeRequestOnArchivedProject
βœ… DeleteOneNoteFromDiscussion_DiscussionAndNoteDeleted
βœ… EditCommentFromDiscussion_CommentEdited
βœ… GetDiscussion_DiscussionFound
βœ… ResolveDiscussion_AllNotesResolved

βœ…Β NGitLab.Tests.Milestone.MilestoneClientTests

βœ… Test_group_milestone_api
βœ… Test_group_milestone_merge_requests
βœ… Test_project_milestone_api
βœ… Test_project_milestone_merge_requests

βœ…Β NGitLab.Tests.NamespacesTests

βœ… Test_namespaces_contains_a_group
βœ… Test_namespaces_contains_a_user
βœ… Test_namespaces_search_for_group
βœ… Test_namespaces_search_for_user

βœ…Β NGitLab.Tests.PipelineTests

βœ… Test_can_get_coverage
βœ… Test_can_list_all_jobs_from_project
βœ… Test_can_list_the_pipelines
βœ… Test_create_pipeline_with_testreports
βœ… Test_create_pipeline_with_variables
βœ… Test_delete_pipeline
βœ… Test_get_triggered_pipeline_variables
βœ… Test_retry
βœ… Test_search_for_pipeline

βœ…Β NGitLab.Tests.ProjectBadgeClientTests

βœ… Test_project_badges

βœ…Β NGitLab.Tests.ProjectIssueNoteTests

βœ… CreateNote
βœ… ListNotes

βœ…Β NGitLab.Tests.ProjectLevelApprovalRulesClientTests

βšͺ CreateApprovalRule
βšͺ DeleteApprovalRule
βšͺ GetApprovalRules
βšͺ UpdateApprovalRule

βœ…Β NGitLab.Tests.ProjectsTests

βœ… CreateProjectWithSquashOption(Always)
βœ… CreateProjectWithSquashOption(DefaultOff)
βœ… CreateProjectWithSquashOption(DefaultOn)
βœ… CreateProjectWithSquashOption(Never)
βœ… CreateProjectWithSquashOption(null)
βœ… CreateUpdateDelete(False)
βœ… CreateUpdateDelete(True)
βœ… ForkProject
βœ… GetAccessibleProjects
βœ… GetByNamespacedPathAsync
βœ… GetOwnedProjects
βœ… GetProjectByIdAsync
βœ… GetProjectByIdByQuery_Statistics
βœ… GetProjectByTopics
βœ… GetProjectLanguages
βœ… GetProjectsAsync
βœ… GetProjectsByLastActivity
βœ… GetProjectsByQuery
βœ… GetProjectsByQuery_VisibilityInternal
βœ… GetProjectsCanSpecifyTheProjectPerPageCount
βœ… GetProjectsProperties
βœ… GetProjectsStatistics
βœ… GetVisibleProjects
βœ… IsEmpty
βœ… Test_get_by_project_query_projectQuery_MinAccessLevel_returns_projects(Developer)
βœ… Test_get_by_project_query_projectQuery_MinAccessLevel_returns_projects(Guest)
βœ… Test_get_by_project_query_projectQuery_MinAccessLevel_returns_projects(Master)
βœ… Test_get_by_project_query_projectQuery_MinAccessLevel_returns_projects(Reporter)

βœ…Β NGitLab.Tests.ProjectVariableClientTests

βœ… Test_project_variables

βœ…Β NGitLab.Tests.ProtectedBranchTests

βœ… ProtectBranch_Test

βœ…Β NGitLab.Tests.Release.ReleaseClientTests

βœ… Test_release_api
βœ… Test_release_links

βœ…Β NGitLab.Tests.RepositoryClient.BranchClientTests

βœ… AddDelete
βœ… GetAll
βœ… GetByName
βœ… Test_that_branch_names_containing_slashes_are_supported

βœ…Β NGitLab.Tests.RepositoryClient.ProjectHooksClientTests

βœ… CreateUpdateDelete

βœ…Β NGitLab.Tests.RepositoryClient.RepositoryClientTests

βœ… GetAllCommits
βœ… GetAllTreeObjectsAtInvalidPath
βœ… GetAllTreeObjectsAtRoot(11)
βœ… GetAllTreeObjectsAtRoot(4)
βœ… GetAllTreeObjectsInPathOnRef
βœ… GetAllTreeObjectsInPathWith100ElementsByPage
βœ… GetAllTreeObjectsRecursivelyFromRoot(11)
βœ… GetAllTreeObjectsRecursivelyFromRoot(4)
βœ… GetAllTreeObjectsRecursivelyFromRootAsync(11)
βœ… GetAllTreeObjectsRecursivelyFromRootAsync(4)
βœ… GetAllTreeObjectsRecursivelyFromSubfolderAsync(11)
βœ… GetAllTreeObjectsRecursivelyFromSubfolderAsync(4)
βœ… GetCommitByBranchName
βœ… GetCommitBySha1
βœ… GetCommitBySha1Range
βœ… GetCommitDiff
βœ… GetCommitRefs(All)
βœ… GetCommitRefs(Branch)
βœ… GetCommitRefs(Tag)
βœ… GetCommitsDoesntIncludeSinceWhenNotSpecified
βœ… GetCommitsDoesntIncludeUntilWhenNotSpecified
βœ… GetCommitsSince
βœ… GetCommitsUntil

βœ…Β NGitLab.Tests.RunnerTests

βœ… Test_can_enable_and_disable_a_runner_on_a_project
βœ… Test_can_find_a_runner_on_a_project
βœ… Test_Runner_Can_Be_Locked_And_Unlocked
βœ… Test_Runner_Can_Update_RunUntagged_Flag
βœ… Test_some_runner_fields_are_not_null

βœ…Β NGitLab.Tests.Sha1Tests

βœ… WhenNotEnoughtChars_ThenErrorThrown
βœ… WhenSha1WithLeadingZero_ThenParsedCorrectly
βœ… WhenSha1WithLowerCase_ThenParsedCorrectly
βœ… WhenSha1WithUpperCase_ThenParsedCorrectly
βœ… WhenToManyChars_ThenErrorThrown

βœ…Β NGitLab.Tests.SnippetsTest

βœ… Test_snippet_inProject(Internal)
βœ… Test_snippet_inProject(Private)
βœ… Test_snippet_inProject(Public)
βœ… Test_snippet_public

βœ…Β NGitLab.Tests.TagTests

βœ… GetTag("v0.5",True)
βœ… GetTag("v0.6",False)
βœ… Test_can_tag_a_project

βœ…Β NGitLab.Tests.TriggerTests

βœ… Test_can_get_triggers_for_project

βœ…Β NGitLab.Tests.UsersTests

βœ… CreateTokenAsAdmin_ReturnsUserToken
βœ… CreateUpdateDelete
βœ… DeactivatedAccountShouldBeAbleToActivate
βœ… GetLastActivityDates
βœ… GetLastActivityDates_UsingNonAdminCredentials_ThrowsForbidden
βœ… GetLastActivityDatesFromTheFuture
βœ… GetLastActivityDatesSinceYesterday
βœ… GetUser
βœ… GetUserByEmailDoesNotWorkOnNonAdminClient
βœ… GetUserByEmailWorksOnAdminClient
βœ… GetUsers
βœ… Test_can_add_an_ssh_key_to_the_gitlab_profile

βœ…Β NGitLab.Tests.WikiTests

βœ… Test_wiki

βœ…Β /home/runner/work/NGitLab/NGitLab/TestResults/_fv-az504-223_2023-09-28_16_06_25.trx

73 tests were completed in 6s with 73 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
NGitLab.Mock.Tests.BotUserTests 2βœ… 116ms
NGitLab.Mock.Tests.BranchesMockTests 1βœ… 247ms
NGitLab.Mock.Tests.CommitsMockTests 5βœ… 166ms
NGitLab.Mock.Tests.ConfigTests 3βœ… 521ms
NGitLab.Mock.Tests.GroupsMockTests 4βœ… 67ms
NGitLab.Mock.Tests.IssuesMockTests 5βœ… 128ms
NGitLab.Mock.Tests.LabelsMockTests 7βœ… 14ms
NGitLab.Mock.Tests.MembersMockTests 6βœ… 7ms
NGitLab.Mock.Tests.MergeRequestsMockTests 12βœ… 433ms
NGitLab.Mock.Tests.MilestonesMockTests 7βœ… 53ms
NGitLab.Mock.Tests.PipelineTests 6βœ… 93ms
NGitLab.Mock.Tests.ProjectsMockTests 10βœ… 1s
NGitLab.Mock.Tests.ReleasesMockTests 4βœ… 52ms
NGitLab.Mock.Tests.TagTests 1βœ… 13ms

βœ…Β NGitLab.Mock.Tests.BotUserTests

βœ… Test_group_bot_user
βœ… Test_project_bot_user

βœ…Β NGitLab.Mock.Tests.BranchesMockTests

βœ… Test_search_branches

βœ…Β NGitLab.Mock.Tests.CommitsMockTests

βœ… Test_commits_added_can_be_found
βœ… Test_commits_can_be_cherry_pick
βœ… Test_commits_with_tags_can_be_found
βœ… Test_tags_from_commit_can_be_found
βœ… Test_two_branches_can_be_created_from_same_commit

βœ…Β NGitLab.Mock.Tests.ConfigTests

βœ… Test_config_can_be_serialized
βœ… Test_job_ids_are_unique
βœ… Test_server_can_be_saved_in_config

βœ…Β NGitLab.Mock.Tests.GroupsMockTests

βœ… Test_get_subgroups_by_fullpath
βœ… Test_get_subgroups_by_id
βœ… Test_group_get_by_fullpath
βœ… Test_group_get_by_id

βœ…Β NGitLab.Mock.Tests.IssuesMockTests

βœ… Test_issue_by_id_can_be_found
βœ… Test_issue_resource_milestone_events_can_be_found
βœ… Test_issues_assigned_to_me_can_be_listed
βœ… Test_issues_assignee_not_throwing_when_assignees_is_null
βœ… Test_issues_created_by_me_can_be_listed

βœ…Β NGitLab.Mock.Tests.LabelsMockTests

βœ… Test_labels_can_be_added_to_group
βœ… Test_labels_can_be_added_to_project
βœ… Test_labels_can_be_deleted_from_project
βœ… Test_labels_can_be_edited_from_group
βœ… Test_labels_can_be_edited_from_project
βœ… Test_labels_can_be_found_from_group
βœ… Test_labels_can_be_found_from_project

βœ…Β NGitLab.Mock.Tests.MembersMockTests

βœ… Test_members_group_all_direct(False)
βœ… Test_members_group_all_direct(True)
βœ… Test_members_group_all_inherited
βœ… Test_members_project_all_direct(False)
βœ… Test_members_project_all_direct(True)
βœ… Test_members_project_all_inherited

βœ…Β NGitLab.Mock.Tests.MergeRequestsMockTests

βœ… Test_merge_request_with_conflicts_cannot_be_accepted(False)
βœ… Test_merge_request_with_conflicts_cannot_be_accepted(True)
βœ… Test_merge_request_with_head_pipeline
βœ… Test_merge_request_with_no_rebase_required_can_be_accepted(False)
βœ… Test_merge_request_with_no_rebase_required_can_be_accepted(True)
βœ… Test_merge_request_with_non_conflicting_rebase_needed_and_merge_method_ff_cannot_be_accepted(False)
βœ… Test_merge_request_with_non_conflicting_rebase_needed_and_merge_method_ff_cannot_be_accepted(True)
βœ… Test_merge_requests_approvable_by_me_can_be_listed
βœ… Test_merge_requests_assigned_to_me_can_be_listed
βœ… Test_merge_requests_assignee_should_update_assignees_and_vice_versa
βœ… Test_merge_requests_can_be_listed_when_assignee_not_set
βœ… Test_merge_requests_created_by_me_can_be_listed

βœ…Β NGitLab.Mock.Tests.MilestonesMockTests

βœ… Test_groups_merge_request_can_be_found_from_milestone
βœ… Test_milestones_can_be_added_to_project
βœ… Test_milestones_can_be_closed_and_activated_from_project
βœ… Test_milestones_can_be_deleted_from_project
βœ… Test_milestones_can_be_edited_from_project
βœ… Test_milestones_can_be_found_from_project
βœ… Test_projects_merge_request_can_be_found_from_milestone

βœ…Β NGitLab.Mock.Tests.PipelineTests

βœ… Test_create_pipeline_with_branch_ref_sets_sha(False)
βœ… Test_create_pipeline_with_branch_ref_sets_sha(True)
βœ… Test_create_pipeline_with_invalid_ref_does_not_set_sha
βœ… Test_create_pipeline_with_tag_ref_sets_sha
βœ… Test_pipelines
βœ… Test_pipelines_testreport_summary

βœ…Β NGitLab.Mock.Tests.ProjectsMockTests

βœ… Test_empty_repo
βœ… Test_get_languages
βœ… Test_project_can_be_cloned_by_default
βœ… Test_project_permissions_maintainer_with_project_access
βœ… Test_project_permissions_with_group_access
βœ… Test_project_permissions_with_no_access
βœ… Test_project_with_nested_submodules
βœ… Test_project_with_submodules
βœ… Test_projects_created_can_be_found
βœ… Test_projects_created_url_ends_with_namespace_and_name

βœ…Β NGitLab.Mock.Tests.ReleasesMockTests

βœ… Test_release
βœ… Test_release_orderBy
βœ… Test_release_page
βœ… Test_release_sort

βœ…Β NGitLab.Mock.Tests.TagTests

βœ… GetTagAsync

βœ…Β /home/runner/work/NGitLab/NGitLab/TestResults/_fv-az504-223_2023-09-28_16_06_33.trx

73 tests were completed in 7s with 73 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
NGitLab.Mock.Tests.BotUserTests 2βœ… 129ms
NGitLab.Mock.Tests.BranchesMockTests 1βœ… 226ms
NGitLab.Mock.Tests.CommitsMockTests 5βœ… 178ms
NGitLab.Mock.Tests.ConfigTests 3βœ… 445ms
NGitLab.Mock.Tests.GroupsMockTests 4βœ… 59ms
NGitLab.Mock.Tests.IssuesMockTests 5βœ… 140ms
NGitLab.Mock.Tests.LabelsMockTests 7βœ… 14ms
NGitLab.Mock.Tests.MembersMockTests 6βœ… 11ms
NGitLab.Mock.Tests.MergeRequestsMockTests 12βœ… 348ms
NGitLab.Mock.Tests.MilestonesMockTests 7βœ… 53ms
NGitLab.Mock.Tests.PipelineTests 6βœ… 93ms
NGitLab.Mock.Tests.ProjectsMockTests 10βœ… 821ms
NGitLab.Mock.Tests.ReleasesMockTests 4βœ… 88ms
NGitLab.Mock.Tests.TagTests 1βœ… 25ms

βœ…Β NGitLab.Mock.Tests.BotUserTests

βœ… Test_group_bot_user
βœ… Test_project_bot_user

βœ…Β NGitLab.Mock.Tests.BranchesMockTests

βœ… Test_search_branches

βœ…Β NGitLab.Mock.Tests.CommitsMockTests

βœ… Test_commits_added_can_be_found
βœ… Test_commits_can_be_cherry_pick
βœ… Test_commits_with_tags_can_be_found
βœ… Test_tags_from_commit_can_be_found
βœ… Test_two_branches_can_be_created_from_same_commit

βœ…Β NGitLab.Mock.Tests.ConfigTests

βœ… Test_config_can_be_serialized
βœ… Test_job_ids_are_unique
βœ… Test_server_can_be_saved_in_config

βœ…Β NGitLab.Mock.Tests.GroupsMockTests

βœ… Test_get_subgroups_by_fullpath
βœ… Test_get_subgroups_by_id
βœ… Test_group_get_by_fullpath
βœ… Test_group_get_by_id

βœ…Β NGitLab.Mock.Tests.IssuesMockTests

βœ… Test_issue_by_id_can_be_found
βœ… Test_issue_resource_milestone_events_can_be_found
βœ… Test_issues_assigned_to_me_can_be_listed
βœ… Test_issues_assignee_not_throwing_when_assignees_is_null
βœ… Test_issues_created_by_me_can_be_listed

βœ…Β NGitLab.Mock.Tests.LabelsMockTests

βœ… Test_labels_can_be_added_to_group
βœ… Test_labels_can_be_added_to_project
βœ… Test_labels_can_be_deleted_from_project
βœ… Test_labels_can_be_edited_from_group
βœ… Test_labels_can_be_edited_from_project
βœ… Test_labels_can_be_found_from_group
βœ… Test_labels_can_be_found_from_project

βœ…Β NGitLab.Mock.Tests.MembersMockTests

βœ… Test_members_group_all_direct(False)
βœ… Test_members_group_all_direct(True)
βœ… Test_members_group_all_inherited
βœ… Test_members_project_all_direct(False)
βœ… Test_members_project_all_direct(True)
βœ… Test_members_project_all_inherited

βœ…Β NGitLab.Mock.Tests.MergeRequestsMockTests

βœ… Test_merge_request_with_conflicts_cannot_be_accepted(False)
βœ… Test_merge_request_with_conflicts_cannot_be_accepted(True)
βœ… Test_merge_request_with_head_pipeline
βœ… Test_merge_request_with_no_rebase_required_can_be_accepted(False)
βœ… Test_merge_request_with_no_rebase_required_can_be_accepted(True)
βœ… Test_merge_request_with_non_conflicting_rebase_needed_and_merge_method_ff_cannot_be_accepted(False)
βœ… Test_merge_request_with_non_conflicting_rebase_needed_and_merge_method_ff_cannot_be_accepted(True)
βœ… Test_merge_requests_approvable_by_me_can_be_listed
βœ… Test_merge_requests_assigned_to_me_can_be_listed
βœ… Test_merge_requests_assignee_should_update_assignees_and_vice_versa
βœ… Test_merge_requests_can_be_listed_when_assignee_not_set
βœ… Test_merge_requests_created_by_me_can_be_listed

βœ…Β NGitLab.Mock.Tests.MilestonesMockTests

βœ… Test_groups_merge_request_can_be_found_from_milestone
βœ… Test_milestones_can_be_added_to_project
βœ… Test_milestones_can_be_closed_and_activated_from_project
βœ… Test_milestones_can_be_deleted_from_project
βœ… Test_milestones_can_be_edited_from_project
βœ… Test_milestones_can_be_found_from_project
βœ… Test_projects_merge_request_can_be_found_from_milestone

βœ…Β NGitLab.Mock.Tests.PipelineTests

βœ… Test_create_pipeline_with_branch_ref_sets_sha(False)
βœ… Test_create_pipeline_with_branch_ref_sets_sha(True)
βœ… Test_create_pipeline_with_invalid_ref_does_not_set_sha
βœ… Test_create_pipeline_with_tag_ref_sets_sha
βœ… Test_pipelines
βœ… Test_pipelines_testreport_summary

βœ…Β NGitLab.Mock.Tests.ProjectsMockTests

βœ… Test_empty_repo
βœ… Test_get_languages
βœ… Test_project_can_be_cloned_by_default
βœ… Test_project_permissions_maintainer_with_project_access
βœ… Test_project_permissions_with_group_access
βœ… Test_project_permissions_with_no_access
βœ… Test_project_with_nested_submodules
βœ… Test_project_with_submodules
βœ… Test_projects_created_can_be_found
βœ… Test_projects_created_url_ends_with_namespace_and_name

βœ…Β NGitLab.Mock.Tests.ReleasesMockTests

βœ… Test_release
βœ… Test_release_orderBy
βœ… Test_release_page
βœ… Test_release_sort

βœ…Β NGitLab.Mock.Tests.TagTests

βœ… GetTagAsync