GSoC’17 Journal: Final Phase

Posted by Diwakar on August 21, 2017

Google Summer of Code 2017 Development Period is about to conclude in next few days. Final phase has started on 28th July and ends on 21st August, approximately 3 weeks, and Student Work Product Submissions are due by 29th August.

E2E Documentation

Documentation for MoodleMobile End-to-End testing is done and published on Official Moodle Docs. It explains the E2E Testing of MoodleMobileApp in three different testing environments - on SauceLabs via Travis, on SauceLabs via Local Machine, on Local Machine. All the prerequisites, steps required for successful setup and testing are described along with common errors and How-to-Write-E2E-Tests procedures.

New and Improved TestSuites

New TestSuites are added to test remaining/new functionalities. Exisitng testSuites are improved and optimised. The E2E test code(earlier & current) is brushed up to improve code quality following jslint guidelines. All the tests are now working w.r.t latest release MoodleMobile v3.3.1 (up-to-date with Mobile Team development workflow).

Total Work Done

  • All the existing failing test suites are corrected
  • New test suites for new activities/modules/functionalities are added
  • Tests to test the new/updated features are added
  • All tests are passing in SauceLabs via Travis CI
  • E2E documentation is done and published.
  • Travis build greatly optimised by generating build matrix (7 jobs currently) and caching the node packages
  • Protractor Config files for all 3 testing environments are now available

Current Stats

  • 167 E2E Tests
  • 41 Test Suites
  • 4hr of actual Travis Build/Test time
  • 40-50 min Travis Build/Test time after optimization
  • 7 Travis jobs
  • 51 Git commits

Share this: