{"id":22625094,"url":"https://github.com/gnustep/tools-xctest","last_synced_at":"2025-04-11T17:53:48.696Z","repository":{"id":141423789,"uuid":"457572899","full_name":"gnustep/tools-xctest","owner":"gnustep","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-23T21:09:57.000Z","size":34,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-02T00:25:28.696Z","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":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gnustep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.LIB","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-02-10T00:18:41.000Z","updated_at":"2022-08-26T06:51:08.000Z","dependencies_parsed_at":"2023-12-23T21:40:23.038Z","dependency_job_id":null,"html_url":"https://github.com/gnustep/tools-xctest","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnustep%2Ftools-xctest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnustep%2Ftools-xctest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnustep%2Ftools-xctest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnustep%2Ftools-xctest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnustep","download_url":"https://codeload.github.com/gnustep/tools-xctest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228811091,"owners_count":17975654,"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-12-09T00:19:20.546Z","updated_at":"2024-12-09T00:19:21.165Z","avatar_url":"https://github.com/gnustep.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tools-xctest\n\n`tools-xctest` is a testing framework for Objective-C, providing functionalities identical to Apple's XCTest. It is designed for use with the GNUstep development environment. This framework allows developers to write and run unit tests for their Objective-C code in a way that is familiar to those accustomed to XCTest in Apple's ecosystem.\n\n## Requirements\n- GNUstep Base\n- GNUstep Make\n\n## Installation\n\n### Dependencies\n- GNUstep Base\n- GNUstep Make\n\n### Using Meson\n1. Run `meson setup build`\n2. Build XCTest with `ninja -C build`\n3. Install XCTest with `ninja -C build install`\n\n### Using GNUstep Make\n1. Run `make` to build the project.\n2. Run `make install` to install `tools-xctest` on your system.\n\n## Usage\nTo use `tools-xctest`, include the header files in your test classes and link against the `tools-xctest` library. The usage is similar to Apple's XCTest:\n\n```objc\n#import \u003cXCTest/XCTest.h\u003e\n\n@interface MyTestCase : XCTestCase\n@end\n\n@implementation MyTestCase\n\n- (void)testExample {\n    XCTAssertEqual(1 + 1, 2, @\"Basic arithmetic doesn't seem to work!\");\n}\n\n@end\n```\n\nYou will need to compile the test cases into one or more bundles, as `xctest` expects `.bundle`'s. \n\n## Running Tests\nTests can be run using the command line tool provided by `tools-xctest`. This can be done by navigating to the directory containing your test cases and executing:\n\n```bash\nxctest [path to your test case bundle]\n```\n\n## License\n`tools-xctest` is licensed under LGPL-2.1. Please refer to the COPYING.LIB file for detailed information. For files not explicitly licensed, they fall under the same LGPL.\n\n## Contributions\nContributions to `tools-xctest` are welcome. Please submit pull requests or issues through the GitHub repository.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnustep%2Ftools-xctest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnustep%2Ftools-xctest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnustep%2Ftools-xctest/lists"}