Google announced in a blog post that it has opened an iOS automation testing framework called GTXiLib, which automatically detects problems with missing tags, prompts or low contrast text and checks the usability of apps for iOS developers.

GTXiLib, written in the programming language Objective-C, integrates with the existing Apple testing framework XCTest and performs all registered usability checks before XCTest ends the tearDown call. When the GTXiLib test fails, the XCTest test fails, and the two reinforce each other, fixing the problems found by the test leads to better usability, while the testing process also discovers new usability problems.

Google says that integrating GTXiLib into its existing App testing process will significantly increase the value of existing tests. GTXiLib provides a simple API that allows developers to customize their applications according to their characteristics, such as checking whether every button in an application has the accessibilityHint attribute.

GTXiLib has the flexibility to be used with a single test case, Class, or specific subset, a feature that Google says could help it be used in large Google projects.

To improve GTXiLib, the framework collects usage data and uploads it to Google Analytics. Google notes that the framework collects the MD5 hash and pass/fail status of the IDS bundled with the test application, and this information lets Google know how GTXiLib is being used.

Article by: All-around athlete http://tpgym.com.tw/