![]() ![]() One of the difficult things about mobile functional tests is that all of the different device types, OS versions, and browser versions adds a lot of test variables. Handling the Requirements Tests must be effective The test repo is built as a Docker Image just like the rest of our services, so that test developers can pull in the container with all dependencies encapsulated. The test framework is built to work inline with the rest of our application development stack, and hence built with Mocha, test framework and Chai, assertion library with Appium and WebDriver as the underlying tools to drive the user actions on Mobile and Desktop Web platforms respectively. When a developer completes their work and commits to the repo, CodeShip CI triggers a build and executes all tests on SauceLabs and reports the status to our #mobile-team-build Slack channel. A developer can add and trigger tests locally, which execute in a mobile emulator running on SauceLabs and report back to the container. Manju accepted these requirements and began planning out a better way forward…Ī Docker container built off of a GitHub repo written in JS that could be run locally with all dependencies encapsulated. Execution must be a part of the workflow with failures alerting the team.Pull down a Docker container with all dependencies and start adding tests in a familiar language.Tests must be able to be added by developing engineers without any gotchas.We can trust that the tests reflect what a user is actually seeing.Hope was alive to get us back to a better place. When Senior Quality Engineer, Manju Kasireddy joined the team she believed that she could accomplish our objectives and get us to a place where our developing engineers could add to a suite of automated functional mobile tests running on emulated devices in a way that didn’t interrupt their development workflow. ![]() We knew there was a better way, but hadn’t the expertise to execute on it. So for a while we didn’t… Gasp! Hiss! I know…Īs an Engineering Manager, I had some specific requirements if we were going to go down the path of investing the development time and effort into setting this up properly. When you support a plethora of devices, OS versions, screen sizes and complicated math for positioning it can be very difficult to automate the validation of your application in a reliable way. 5 minute read Automated Mobile Testing with Docker and CodeshipĪutomated mobile functional testing is hard. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |