Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のアプリケーションでは、テストに KIF フレームワークを使用しています。クラスのすべてのテストケースについて、すべてのケースとその結果を含むファイルを生成したいと考えています。これを達成する方法は?
ターミナルを開き、次のコマンドを実行します
sudo インストール ocunit2junit
次に、プロジェクト フォルダー (cd プロジェクト パス) を移動し、次のコマンドを実行します。
xcodebuild test -workspace appName.xcworkspace -scheme schemName -destination 'platform=iOS,id=deviceID' 2>&1|ocunit2junit