Presentation: Behat testing in Moodle
By: Tom Dickman
Behat is a BDD framework for PHP to help you test business expectations.
Source: Behat testing
By: Tom Dickman
Behat is a BDD framework for PHP to help you test business expectations.
Source: Behat testing
The goal of this project is to facilitate the running of tests and code analysis against a Moodle plugin in Travis CI. All of these tests and tools are run everytime a change is pushed to a GitHub branch or pull request.
Why would you want to do this? It saves you from having to remember to setup and run PHPUnit, Behat, code checker, etc every single time you make a change. If you have enough test coverage, it also makes accepting pull requests painless because you can be more confident that the change wont break anything. There are many more advantages to using a service like Travis CI, like being able to test your code against multiple databases, multiple PHP versions, etc.
This project supports the following testing frameworks and code analysis tools:
Source: Introduction | Moodle Plugin CI
The Data Analytics and Visualization Environment (DAVE) is a specification and reference model for prototyping learning-domain specific analytics and data visualizations.
With the goal of providing a specified and interoperable way to analyze, interpret, and visualize micro-level behavior-driven learning, DAVE offers a framework for analysis and visualization which aligns with xAPI, xAPI Profiles, and the Total Learning Architecture being developed by the Advanced Distributed Learning Initiative (ADL).
Source: Learning Analytics Algorithms: New Open Source Resources from DAVE
Moodle event observers “fire” asynchronously based on events that get triggered by user activity, and so… hard to catch and debug by simply passing the XDEBUG variable via the browser.
Enters… xdebug_break()
BigBlueButton provides a script to install BigBlueButton with single command but it is always better to go through each step, so that you know what is really being done and makes it easy to do any modification or debug any error.
Source: How to Setup BigBlueButton HTML5 Version on EC2 – Meetrix.IO
MySQL Cluster powers the subscriber databases of major communication services providers as well as next generation web, cloud, social and mobile applications. It is designed to deliver:
Understand some of the highlights of MySQL Cluster 7.4:
Moodle can be made to perform very well, at small usage levels or scaling up to many thousands of users. The factors involved in performance are basically the same as for any PHP-based database-driven system. When trying to optimize your server, try to focus on the factor which will make the most difference to the user. For example, if you have relatively more users browsing than accessing the database, look to improve the webserver performance.
SPX, which stands for Simple Profiling eXtension, is just another profiling extension for PHP.
It differentiates itself from other similar extensions as being:
Retrace collects an amazing amount of details about what is happening at the code level within your application. It is a gold mine for developers who are trying to troubleshoot bugs and look for ways to optimize their code.
Source: Retrace Application Performance Management (APM) – Stackify
Tideways saves you time by taking the guesswork out of your app’s backend performance. Gain detailed insights, spot performance bottlenecks, and get real-time error detection alerts.
Source: Mission control center for PHP application performance | Tideways