# cocoapods-test **Repository Path**: mirrors_CocoaPods/cocoapods-test ## Basic Information - **Project Name**: cocoapods-test - **Description**: CocoaPods plugin to run tests for a Pod - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cocoapods-test CocoaPods plugin to run tests for a Pod. :warning: **WARNING**: *This plugin is incomplete and is not yet capable of running tests for a Pod.* :warning: ## Installation $ gem install cocoapods-test ## Usage Run the tests for a Pod using files in the working directory. $ pod lib test POD_NAME Run the tests for a Pod, downloading the source files. $ pod spec test POD_NAME ### Podspecs To be able to test a Pod, you will need to define ` test_spec` on the Pod including all the test source files and any test dependencies. ```ruby Pod::Spec.new do |spec| spec.name = 'PathKit' spec.version = '1.0.0' spec.source_files = 'URITemplate/*.swift' spec.test_spec do |test_spec| test_spec.source_files = 'URITemplateTests/*.swift' test_spec.framework = 'XCTest' end end ````