Testing: Difference between revisions
From Mahara Wiki
(Created page with "<br /> ==✅ Testing== With continuous Behat testing throughout development, we only need to some basic manual testing. ===Extract the build and prep the database=== Test that...") |
m (Dianne.tennent moved page Developer Area/Release Instructions/Template:Testing to Template:Testing) |
Revision as of 16:15, 6 Mayıs 2022
✅ Testing
With continuous Behat testing throughout development, we only need to some basic manual testing.
Extract the build and prep the database
Test that we can install Mahara with the pre-built packages.
- Extract the build (
.tar
or.zip
) of your pre-built Mahara and make sure you can connect to it via web installer. - Drop the database and create a new blank one.
Test case #1: Install the site with the web interface
- Go to your Mahara site and click 'Install'.
- Reset your database and repeat with MySQL/PostgreSQL.
Note: If we are doing a .0
release the install will complain about missing $versions->$currentmajorversion
->latest release number but don't panic this is because the local copy of the release has the series version that doesn't exist upstream yet so we can ignore this warning·
Test case #2: Manual upgrade with the CLI and the web interface
Web interface
- Install a fresh site on version
X.Y.Z(-1)
, i.e. (an earlier version). - Create a portfolio, a blog with a blogpost, a group with a forum and forum post.
- Switch the code to your current release.
- Check that everything still works.
- Go to the site and click 'Upgrade' to get the site version to
X.Y.Z
. - Repeat with PostgreSQL/MySQL.
CLI
- Install a fresh site on version
X.Y.Z(-1)
, i.e. (an earlier version). - Create a portfolio, a blog with a blogpost, a group with a forum and forum post.
- Switch the code to your current release.
- Upgrade to
X.Y.Z
with the CLI scripthtdocs/admin/cli/upgrade.php
- Check that everything still works.
- Repeat with PostgreSQL/MySQL.