-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>ENABLE_TESTING_SEARCH_PATHS</key> | ||
<string>YES</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import ComposableArchitecture | ||
import XCTest | ||
|
||
@testable import {{ target }} | ||
|
||
final class {{ target }}Tests: XCTestCase { | ||
func test() { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// | ||
// test.swift | ||
// ProjectDescriptionHelpers | ||
// | ||
// Created by 김민호 on 10/10/24. | ||
// | ||
|
||
import ProjectDescription | ||
|
||
let appProjectAttribute: Template.Attribute = .required("project") | ||
let appTargetAttribute: Template.Attribute = .required("target") | ||
|
||
let appTemplate = Template( | ||
description: "Target template", | ||
attributes: [ | ||
appProjectAttribute, | ||
appTargetAttribute | ||
], | ||
items: [ | ||
.file( | ||
path: "Projects/\(appProjectAttribute)/\(appTargetAttribute)Tests/Sources/\(appTargetAttribute)Tests.swift", | ||
templatePath: "Test.stencil"), | ||
.file( | ||
path: "Projects/\(appProjectAttribute)/\(appTargetAttribute)Tests/Resources/info.plist", | ||
templatePath: "InfoPlist.stencil"), | ||
] | ||
) |