Method: Pod::Specification::DSL#test_spec
- Defined in:
- lib/cocoapods-core/specification/dsl.rb
#test_spec(name = 'Tests', &block) ⇒ Object
Represents a test specification for the library. Here you can place all your tests for your podspec along with the test dependencies.
1761 1762 1763 1764 1765 |
# File 'lib/cocoapods-core/specification/dsl.rb', line 1761 def test_spec(name = 'Tests', &block) subspec = Specification.new(self, name, true, &block) @subspecs << subspec subspec end |