Skip to content
198. wwdc 2015-406 UI Testing-2 episode artwork

EPISODE · Nov 18, 2015 · 39 MIN

198. wwdc 2015-406 UI Testing-2

from iOSDevLog · host iOSDevLog

今年苹果将UI Testing 从Instruments中移到Xcode 7中。此前,测试UI要求使用Javascript和UIAutomation,但在Xcode 7中,你可以原生地执行UI测试,这样你可以找出UI元素的位置,并验证其位置和属性。 XCTest和Accessibility集成在一起,允许XCTest和你的应用程序以用户可能使用的方式进行交互。对我而言,Xcode 7可以毫不费力地将测试最为开发周期中的常规部分。 视频演示demo展示了在Xcode 7中使用XCTestElements和XCTestQueries轻松记录和创建测试的过程。在app中包含Accessibility可让身体不大健全的用户从你的应用程序中获得更多。 你可以通过测试报告检查运行在你应用程序上的测试。如果你对为app创建测试或者为app创建更好的测试非常好奇,可以看看这个视频。

Episode metadata supplied by the publisher feed · Published Nov 18, 2015

Embed this episode

Ready to play

198. wwdc 2015-406 UI Testing-2

0:00 39:16

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of iOSDevLog?

This episode is 39 minutes long.

When was this iOSDevLog episode published?

This episode was published on November 18, 2015.

Can I download this iOSDevLog episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!