7th Meeting JavaScript Tests - Joomla! GSoC 2016
By Yves Hoppe on 2016-06-08 00:00 in GSoC 16 JavaScript Tests
Wednesday, 8th June 2016 on Glip
Time: 14:30 (UTC), 8.00 pm (Colombo Sri Lanka), 4.30 pm (Munich Germany)
Meeting was attended by: Ashan Fernando, Ruchiranga Wickramasinghe, Yves Hoppe
Topics
For an overview about this Google Summer of Code project please take a look at Ruchirangas Joomla Community magazine article.
## Presentation and review on the work Ruchiranga has done during the last week
Since the last meeting Ruchiranga completed writing the tests for the validate.js library and made a pull request against the develop branch of the projects repository.
https://github.com/joomla-projects/gsoc16_js-unit-tests/pull/7
Now he is working on the core.js library and currently has finished writing tests for the Joomla.submitform, Joomla.JText and Joomla.replaceTokens functions.
There are seven more functions in the core.js library to be tested according to the plan.
https://github.com/joomla-projects/gsoc16_js-unit-tests/issues/9
He also helped testing some JavaScript related PRs in the CMS.
## Uncertainties, problems and open questions to resolve
- Validator.js spyOn (document.formvalidator)
- Isolation of tests vs async / concurrent behavior of karma
- Travis sometimes fails on some tests
## Tasks for next week / Timeline
- Validate.js locator updates
- Finish core.js tests
- Start with permissions.js (containing Ajax)
- Help testing:
- https://github.com/joomla/joomla-cms/pull/10747
- https://github.com/joomla-projects/vagrant-joomla-testing
## Resources (to read):
https://github.com/jasmine/jasmine-ajax
## Next meeting will be:
Wed, 15th June 2016 at 14:30 UTC on Google Hangout