GSOC 2016 – Add support to end-to-end testing in the Moodle Mobile app


Moodle is one of the most prestigious and widely-used Free and Open Source Learning Platform in the world today, and has great community support. To get to know basic understanding I followed the guidelines which were mentioned in the Moodle website for GSOC participants. I followed each of these guidelines very clearly and had continuous communication with the mentor Juan Levya. He helped me a lot to come up with the good proposal. So they had been announced four project as selected out of ten project ideas and my proposal has been selected for “Add support to end-to-end testing in the Moodle Mobile app” 😃. Thanks a lot my mentor Juan Levya and Moodle for giving me this valuable opportunity.

Moodle Mobile App

Screenshot_2016-05-14-10-49-55Moodle Mobile is the officical Android and IOS mobile application provide by Moodle. Mainly it aims at students and teachers in universities and high schools. It connects to your Moodle sites as long as they allow it. Its main purpose is to “read” data both in online and offline mode. They provides some native features not available using Moodle web on a Mobile browser. Moodle Mobile App comeup  with awesome additional features plugin to help users which can setting up there capabilities. They can take a personal note about a course participant, call a user, send him an email or locate his address on Google Maps just by clicking the field in his profile,  register actions on Moodle logs, support for sites using CAS or Shibboleth as auth methods  and also multi-language. These are some core features I could be able find out and it has lot more features I didn’t mention here. Moodle add awesome new features day by day with new releases.

“A good  programmer is someone who looks both ways before crossing a one-way street.” – Doug Linder

Project : Add support to end-to-end testing in the Moodle Mobile app

This project mainly involves with Moodle mobile app.  The objective of this project is add more tests to the app( MOBILE-1179) and document the set-up process in the Moodle developers wiki. The basements for this project are done and have to complete only the remaining part.

For implementing this project we are using Protractor,  is an end-to-end test framework for AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would. Protractor also speeds up your testing as it avoids the need for a lot of “sleeps” and “waits” in your tests, as it optimizes sleep and wait times. It is easy to set up page objects. Protractor allows tests to be organized based on Jasmine, thus allowing you to write both unit and functional tests on Jasmine.

So I already configured my computer according to this requirements and try to understand the code base of existing project.  And also I am trying to solve one of the open issues as my mentor informed. More features and modifications could be added during the development period.

GSOC is in the Community Bonding phase at the moment. I have been engaging with the community on their forums and could be able to participated their Community Meeting on May 11. That was a great opportunity for the community bonding and talked to Moodle community and aware of what I’m doing.  So I’m so excited, and looking forward to a great summer with this awesome Moodle Community 😃.





Leave a Reply

Your email address will not be published.