appledoc icon indicating copy to clipboard operation
appledoc copied to clipboard

Applying XCTest

Open jebeomgyeong opened this issue 4 years ago • 6 comments

Development Environment

  • Xcode 11.3.1 (11C504)
  • macOS Catalina 10.15.4 Beta (19E234g)

Deployment Target

  • macOS 10.7

Change Log

  • GHUnit is removed because it's a deprecated project.
  • XCTest is applied.
  • Code coverage is enabled.
  • GBLogX... is replaced with GBLog.... GBLogX... is supposed to print the file name that has the log. But DDLog that GBLog... and GBLogX... are using has an issue to print character array. In order to set the file name to nil, some macros are copied into GBLog.h from DDLog. This is a workaround.

Todo

jebeomgyeong avatar Feb 27 '20 13:02 jebeomgyeong

Thanks! Would it be a lot of work to make GBLogX.... macros working? They're used for integrating logs with Xcode, so they may be important for some developers...

tomaz avatar Mar 04 '20 07:03 tomaz

@tomaz I'm going to look into the GBLogX things. It might be solved easily if we can use the latest version of CocoaLumberjack.

Can you tell me how the log integration works on Xcode? Is there any special format for the log? I'm not familiar with it.

jebeomgyeong avatar Mar 04 '20 13:03 jebeomgyeong

Exactly, that's all there is to it, don't remember exact format either, but I think full file path and line number is needed

tomaz avatar Mar 04 '20 13:03 tomaz

@tomaz Okay. I'm going to update this PR after understanding the log integration. If it takes longer than a week, I'll leave the comment about the progress.

jebeomgyeong avatar Mar 04 '20 14:03 jebeomgyeong

Thanks!

tomaz avatar Mar 04 '20 16:03 tomaz

Looks perfect now

MohitPatni0731 avatar Oct 29 '20 12:10 MohitPatni0731