{"id":16597372,"url":"https://github.com/cbess/cbasynctestcase","last_synced_at":"2025-10-07T02:05:22.807Z","repository":{"id":9243309,"uuid":"11063992","full_name":"cbess/CBAsyncTestCase","owner":"cbess","description":"ObjC Easy Asynchronous Unit Test Case - Synchronize those async operations for testing purposes","archived":false,"fork":false,"pushed_at":"2013-06-30T03:40:20.000Z","size":112,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T04:45:29.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbess.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-30T03:26:40.000Z","updated_at":"2014-08-18T22:40:26.000Z","dependencies_parsed_at":"2022-09-02T08:20:26.131Z","dependency_job_id":null,"html_url":"https://github.com/cbess/CBAsyncTestCase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbess%2FCBAsyncTestCase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbess%2FCBAsyncTestCase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbess%2FCBAsyncTestCase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbess%2FCBAsyncTestCase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbess","download_url":"https://codeload.github.com/cbess/CBAsyncTestCase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242276886,"owners_count":20101528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T23:55:39.073Z","updated_at":"2025-10-07T02:05:17.761Z","avatar_url":"https://github.com/cbess.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"CBAsyncTestCase\n===============\n\nAsynchronous Unit Test Case - Synchronize those async operations for testing purposes.\n\n#### Example Usage\n\n```objc\n- (void)testNetworkStuff\n{\n    [self beginAsyncOperation];\n \n    NSString *identifier = @\"777\";\n    [_networkManager fetchStuffWithID:identifier completion:^(NSArray *results, NSError *error) {\n \n        STAssertNil(error, @\"error occurred: %@\", error);\n        STAssertTrue(results.count, @\"no results\");\n        \n        [self finishedAsyncOperation];\n    }];\n    \n    // waits for async operation or timeout and fail assertion\n    [self assertAsyncOperationTimeout];\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbess%2Fcbasynctestcase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbess%2Fcbasynctestcase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbess%2Fcbasynctestcase/lists"}