Add a test-on-save feature

Originator:ash
Number:rdar://34873507 Date Originated:7/11/2017
Status:Closed on dupe (26996562) Resolved:
Product: Product Version:
Classification: Reproducible:
 
A test-on-save feature would greatly enhance the developer experience of writing unit-tested code. Please consider: the developer hits ⌘S and the file they're working on is saved. Xcode picks up on the change and runs the tests for that file. Maybe if "ViewController.swift" changed, then "ViewControllerTests.swift" will be run. Or we could be fancy and figure out the types in the changed file, and all the files that use that type, and queue up all those tests. 

The point is: I'd like to automate the feedback cycle when writing unit tests.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!