Testing any kind of cell software could be difficult. There are literally thousands of potential gadget varieties and fashions you must check for. Issue in several display screen sizes, working programs, browsers, and so forth, and it turns into much more troublesome to make sure that your exams adequately cowl the experiences your customers are prone to have in the actual world.
However when you’re testing cell video games, you face a further set of challenges that stretch above and past the essential issues of cell software program testing. Certainly, in lots of respects, cell video games are some of the troublesome forms of cell apps to check. To fulfill the particular challenges, it’s worthwhile to optimize your cell testing technique and methodology for testing video games specifically.
This text explains how to do this by strolling by means of the highest three challenges of testing cell video games, then discussing options for every one.
Recent Articles
Cellular Sport Testing Problem 1: Excessive Body Fee
Body charge is the frequency at which the content material on a display screen is up to date. Body charges are measured when it comes to the variety of frames that an software can show per second.
Most cell apps do not require an particularly excessive body charge to ship a superb consumer expertise. In case your app hosts principally static content material like textual content and pictures, the flexibility to replace display screen content material a number of instances per second shouldn’t be crucial.
However with cell video games, this isn’t the case. Cellular video games usually require body charges of at the very least 25 frames per second to offer a extremely responsive consumer expertise and to show modifications to customers in actual time.
From a cell testing perspective, body charge necessities create a problem as a result of most standard testing frameworks aren’t able to representing modifications to frames as shortly because the frames really modified. With a conventional testing technique that requires non-optimized check knowledge to maneuver over the community with a view to show the outcomes of the check, you may normally obtain a body charge of round 5 frames per second, at greatest. If the content material inside your recreation really modifications at a charge of 25 frames or extra per second, seeing check outcomes at a a lot decrease charge is not enough if you wish to simulate a real-world consumer expertise precisely.
Options: Community optimization or native gadget testing
There are two methods to resolve the body charge problem of cell recreation testing.
One is to discover a option to optimize community visitors in order that it retains tempo with the precise charge of change inside a dynamic cell recreation. This may be executed by gracefully lowering the standard of a few of the content material that’s moved throughout the community throughout exams, which permits crucial visitors to circulate at very low charges of latency. In consequence, it may be rendered in beneath 35 milliseconds as a substitute of about 170 milliseconds — an important distinction if it’s worthwhile to show dozens of frames every second.
A second strategy to representing modifications to cell recreation content material in actual time is to make use of on-premises gadgets for testing. That means, your check knowledge does not should circulate throughout the community in any respect, eliminating the community latency points described above.
Cellular Sport Testing Problem 2: Lack of OIDs
In most cell testing situations, engineers can leverage object identifiers (OIDs) which might be constructed into purposes as a way of telling check scripts what to check.
However with cell video games, there are normally not many distinctive OIDs to work with. The explanation why is that content material in video games is extremely dynamic, so you possibly can’t assign commonplace OIDs to the weather that seem in a cell recreation in the identical means that you may assign OIDs to pictures, textual content and video in a conventional app.
Resolution: Automated object identification
To unravel this problem, cell recreation testing groups want a device that may mechanically determine and label components in video games. Then, exams could be run in opposition to these components.
Corporations comparable to GameDriver present this. By partnerships with such firms, we will present a one-stop resolution for working automated exams for cell video games that may in any other case be troublesome to orchestrate, as a result of an absence of native OIDs.
Cellular Sport Testing Problem 3: Various Display screen Resolutions
Making certain that software program performs adequately throughout a number of display screen resolutions is a key problem for many cell software program exams. However with video games, dealing with display screen decision variations is especially essential as a result of in some circumstances content material could also be rendered inaccurately on a given gadget if the display screen decision is totally different from what builders anticipated it to be. The result’s distorted graphics and characters — a significant downside from the consumer expertise perspective.
Resolution: AI-driven rendering evaluation
Beforehand, the one option to cope with this problem was to overview renderings manually. That strategy, after all, is time-consuming and doesn’t scale.
There’s a totally different technique. Use an AI engine that mechanically compares renderings of content material, together with dynamic content material that seems in cell video games, to detect variations throughout totally different recreation variations or display screen resolutions. This strategy makes it quick and straightforward to determine cases the place content material doesn’t render in a constant means throughout testing. From there, builders can tackle the difficulty in order that customers do not expertise rendering issues when the sport is deployed.
Conclusion: A Fingers-On Strategy to Cellular Sport Testing
The underside line: Typical cell testing methods aren’t absolutely suited to fulfill the distinctive necessities of cell recreation testing. To make sure that cell video games really ship the consumer expertise your builders intend, it’s worthwhile to leverage particular instruments and techniques — comparable to community visitors optimization and AI-assisted content material evaluation.
Frank Moyer is CTO of Kobiton.