Skip to content

pascal-martinez/znetdk4mobile-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Testing ZnetDK 4 Mobile

Application for testing ZnetDK 4 Mobile.

More than a hundred unit and acceptance test cases are executed by this application to validate the correct operation of ZnetDK 4 Mobile.

Requirements

ZnetDK 4 Mobile is installed.

Go to the page Getting Started to install ZnetDK 4 Mobile.

Installation

  1. Download the ZIP archive of the Testing App from this GitHub repository: znetdk4mobile-test ZIP archive.
  2. Add a subfolder named tests within the INSTALL_DIR/applications/ folder of ZnetDK 4 Mobile.
  3. Unzip the downloaded ZIP archive content within the new INSTALL_DIR/applications/tests/ subfolder.
  4. Create an empty MySQL database dedicated to the Testing App, named for example z4m-tests-db with the character set utf8mb4_unicode_ci.
  5. Add the ZnetDK 4 Mobile Security SQL tables to the testing database by executing the script znetdk-security.sql.
  6. Edit the INSTALL_DIR/applications/tests/app/config.php script and configure the testing database connection by changing the values of the PHP constants CFG_SQL_HOST, CFG_SQL_APPL_DB, CFG_SQL_APPL_USR and CFG_SQL_APPL_PWD. See Getting Started - Connecting to a Database - Configuring the Application for more information.

Running the tests

Once the installation is done, open your web browser and enter in the address bar, the URL of the Testing Application followed by the GET parameter ?appl=tests.

For example: http://localhost/znetdk4mobile/index.php?appl=tests

Next, click the Run button to start de tests.

ZnetDK 4 Mobile Testing App screenshot

Releases

No releases published

Packages

No packages published