Dalton Claybrook
66b1db4b5c
Add support for specifying the UI testing screenshot behavior in a scheme test action ( #942 )
...
* Support for specifying UI testing snapshot behavior in scheme test action
* Add tests for new screenshot scheme options
* Update changelog
* Add new fields to Scheme.Test json encoding
* Only save values to JSON if they aren't the defaults
* Using new defaults constants
2021-06-27 22:25:26 +10:00
freddi(Yuki Aki)
4233cc8578
Support runPostActionsOnFailure on build scheme ( #1075 )
...
* supports runPostActionsOnFailure on build scheme
* updates test for runPostActionsOnFailure
update runPostActionsOnFailure tests
* update Docs for runPostActionsOnFailure
* update change log
* Update CHANGELOG.md
* Update CHANGELOG.md
2021-05-06 12:54:33 +10:00
Artem Semavin
0ac7a5f8c6
Added support for SelectedTests in schemes Test configuration. ( #913 )
...
* added support for selectedTests in test shemes
* added PR description to changelog
* CHANGELOG fix
* use presence of selectedTests for useTestSelectionWhitelist
Co-authored-by: Artem Semavin <Artem Semavin>
Co-authored-by: yonaskolb <yonaskolb@gmail.com >
2021-04-08 23:01:28 +10:00
freddi(Yuki Aki)
cf88681749
Support macroExpansion on run scheme ( #1036 )
...
* allow to specify macroExpansion on schemes
* fix json parsing on macroExpansion
* set macroExpansion only launch scheme
* add test for macroExpansion
* add macroExpansion description
* add macroExpansion to Change Log
* Update CHANGELOG.md
* add App_Extension scheme for macroExpansion
* change example of macroExpansion in Fixtures project
* fix to keep back to keep back compatibility as possible
* Apply suggestions from code review
Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com >
2021-03-21 20:02:01 +11:00
freddi(Yuki Aki)
f550d01678
Support askForAppToLaunch on profile scheme ( #1035 )
...
* add askForAppToLaunch to profile scheme
* add test
* add description for askForAppToLaunch
* add Change Log for askForAppToLaunch
* Update Docs/ProjectSpec.md
2021-03-17 18:10:04 +11:00
Joseph Colicchio
50aedc4511
Feature/Store Kit Configuration ( #964 )
...
* Preemptively fix compilation for latest XcodeProj
* Add StoreKitConfiguration to scheme and generator
* Add scheme generator test
* Fix and add tests
* Support StoreKitConfiguration in TargetScheme
* Set default type of `storekit` to `.none`
* Upgrade XcodeProj to 7.15.0
* Create struct for StoreKitConfiguration
* Update tests
* Add storekit configuration to test project
* Update changelog
* Update project spec
* Fix xcodeprojs
* Fix projects
* Capitalize String
* Update CHANGELOG.md
Co-authored-by: Gemma Barlow <gemmakbarlow@gmail.com >
* Refactor StoreKitConfiguration init from json
* Change `forWorkspace` to `pathPrefix` and add tests
* Replace StoreKitConfiguration struct with string + option
* Fix tests
* Update project spec
* Fixup changelog
* Add `See Options` to `storeKitConfiguration` in project spec
Co-authored-by: Gemma Barlow <gemmakbarlow@gmail.com >
2021-02-15 11:58:16 +11:00
Bartosz Polaczyk
1d2a28490f
Add custom lldinit for a scheme ( #929 )
...
* Add customLLDBInit
* Add changelog info to a valid bucket
* Update PR number
* Add fixture tests
Co-authored-by: Bartosz Polaczyk <bartoszp@spotify.com >
2020-08-12 16:13:47 +10:00
Cody Vandermyn
727a648623
Add ability to skip the entire test target ( #916 )
...
* add ability to skip the entire test target
* when skipped is true, add it to the toJSONValue dictionary
* Add changelog entry
2020-08-05 20:05:23 +10:00
Yonas Kolb
7da953a488
swift format
2020-06-17 18:12:34 +10:00
Yonas Kolb
179eec45d9
rename executableName to executable
2020-06-17 17:23:17 +10:00
Maciej Piotrowski
07c6e200ee
Update ProjectSpec to use executable ( #884 )
...
* Update ProjectSpec.md
* Updates `toJSONValue()` to include `executable` key
2020-06-17 16:41:48 +10:00
Joeri Djojosoeparto
7ec2f7f8e3
Feature: Ability to set executable to Ask to Launch ( #871 )
2020-05-29 07:53:48 -05:00
Igor Ranieri Elland
463db0616d
Added ability to name executable target in schemes Run configuration. ( #869 )
2020-05-28 07:50:52 -05:00
Igor Ranieri Elland
92aaebb9d5
Added ability to name the executable target in schemes. ( #866 )
...
```
schemes:
MyScheme:
build:
executable: MyExecutable
targets:
...
```
Co-authored-by: Igor Ranieri Elland <igor.ranieri@de.bosch.com >
2020-05-20 08:05:03 -05:00
Sebastian Celis
0328fa03e7
Add improved support for simple iOS sticker packs ( #824 )
...
* Allow messages applications to skip the compile sources phase
By default, simple iOS sticker packs created in Xcode do not include
a compile sources phase. This change will allow messages applications
with an empty list of sources to skip that phase entirely.
* Add support for launchAutomaticallySubstyle in run schemes
This is especially important for simple iOS sticker packs that require
this run scheme setting to be set to 2 in order to run the scheme
properly.
2020-04-06 13:37:37 -05:00
ionutivan
5487e3ce18
add property stopOnEveryMainThreadCheckerIssue to the scheme, target scheme and generator
2020-03-04 17:21:18 +01:00
Bas van Kuijck
f544dd36e6
Added a simulateLocation option in scheme specs ( #756 )
...
* Added a simulateLocation option in scheme specs
* Updated fixtures for simulateLocation
* Use fileGroups instead of sources
2020-01-23 09:12:06 -06:00
yonaskolb
0e4e08bfc4
run swift format for Swift 5.1
2019-11-10 11:56:23 +11:00
Yuta Saito
f81adfe291
Merge branch 'external-target-ref' into test-coverage
2019-10-27 12:57:23 +09:00
Yuta Saito
fbc7e9442d
Use propery initializer for TestTarget
2019-10-27 09:08:51 +09:00
Yuta Saito
1285a3e25e
Rename TargetReference.init label
2019-10-27 09:07:04 +09:00
Yuta Saito
e0dfc72f85
Conform TargetReference to CustomStringConvertible
2019-10-15 15:15:25 +09:00
Yuta Saito
55613785da
Move TargetReference to it's own file
2019-10-15 15:12:44 +09:00
Yuta Saito
236c7c4f13
Add Hashable conformance for TargetReference
2019-10-10 23:49:41 +09:00
Yuta Saito
0a43435af3
Merge branch 'master' into external-target-ref
2019-10-10 23:38:45 +09:00
Brian Clymer
6e5766a2bc
Ensure that target names can be changed by template attributes.
2019-10-02 10:40:15 -05:00
Yuta Saito
0595f07611
Resolve conflicts
2019-09-23 00:55:42 +09:00
Yuta Saito
98df51f489
Merge branch 'external-target-ref' into test-coverage
2019-09-23 00:45:53 +09:00
Yuta Saito
cd1d370d91
Merge branch 'master' into external-target-ref
2019-09-23 00:29:35 +09:00
Yuta Saito
30fc642b04
Introduce ProjectName/Target syntax to reference target
2019-09-23 00:23:11 +09:00
Yuta Saito
a2835ef299
Add debugEnabled option for run and test
2019-09-16 11:00:32 +09:00
Yuta Saito
52cca31892
Rename CoverageTarget.target to name
2019-09-16 00:57:05 +09:00
Yuta Saito
e4844e927c
Fix default value JSON encoding
2019-09-16 00:53:21 +09:00
Yuta Saito
a42f7b97ad
Add coverageTargets option
2019-09-16 00:37:20 +09:00
Yuta Saito
6397368465
Merge branch 'master' into external-target-ref
2019-09-14 20:18:50 +09:00
Yuta Saito
4e087b6960
Add test case for parsing externalProject in project spec
2019-09-14 20:06:25 +09:00
Yuta Saito
66bdcdbc0b
Parse externalProject in build scheme
2019-09-14 19:57:46 +09:00
Yuta Saito
67b3256a1b
Support external project file for build target
2019-09-14 18:15:43 +09:00
Yuta Saito
958e17c2f2
Add language and region option to test scheme
2019-09-13 10:09:38 +09:00
yonaskolb
d921d14259
make format_code
2019-09-01 22:02:53 +10:00
Miles Hollingsworth
7bde3b5641
suggested edits
2019-08-02 09:46:38 -07:00
Miles Hollingsworth
d32a710fa2
add disable main thread checker for test actions
2019-08-02 09:21:22 -07:00
yonaskolb
745be5fc1d
update import name
2019-06-26 16:49:10 +10:00
Andras Kadar
5bf1678e1f
Remove default empty array & add changelog
2019-05-17 09:34:20 +02:00
Andras Kadar
bb311b1ca7
Allow skipping tests in test targets
2019-05-08 08:31:21 +02:00
ryohey
65dec6b652
Define default property values
2019-04-20 12:13:25 +09:00
ryohey
d5649a1bd3
Allow nil values
2019-04-20 12:12:26 +09:00
ryohey
117b90d13f
Don't omit empty arrays
...
https://github.com/yonaskolb/XcodeGen/pull/545#discussion_r271688539
2019-04-20 12:12:26 +09:00
ryohey
b27f71eac1
Unify encoding protocols into JSONEncodable
...
https://github.com/yonaskolb/XcodeGen/pull/545#discussion_r271690085
2019-04-20 12:12:26 +09:00
ryohey
010b1c3804
Implement encoding to JSON
2019-04-20 12:12:26 +09:00