티스토리 뷰

728x90
반응형

[1] 디폴트

- name: Build and test
  run: xcodebuild test -workspace GithubActionTest.xcworkspace -scheme 'GithubActionTest' -destination 'platform=iOS Simulator,name=iPhone 11'

 

 

==> 테스트 결과를 찾기 너무 힘들다. failed로 검색해서 찾음.

 


[2] xcpretty를 썼을때

- name: Build and test
  run: xcodebuild -workspace GithubActionTest.xcworkspace -scheme 'GithubActionTest' -destination 'platform=iOS Simulator,name=iPhone 11' test | xcpretty --test --color

 

 

==> 이렇게 알록달록 나와서 훨씬 보기 좋다



 

 

Reference

 

www.mokacoding.com/blog/running-tests-from-the-terminal/

 

mokacoding

A blog about testing, iOS development, productivity, and blabber about software in general.

www.mokacoding.com

 

github.com/xcpretty/xcpretty

 

xcpretty/xcpretty

Flexible and fast xcodebuild formatter. Contribute to xcpretty/xcpretty development by creating an account on GitHub.

github.com

 

728x90
반응형
댓글
댓글쓰기 폼