PHPackages                             lubosdz/simpletest-visual-gui - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. lubosdz/simpletest-visual-gui

ActiveLibrary[Testing &amp; Quality](/categories/testing)

lubosdz/simpletest-visual-gui
=============================

Visual GUI interface for running tests written for Simpletest unit testing framework. Includes complete framework environment with improved web driver bindings for Selenium standalone server.

292PHP

Since Aug 19Pushed 11y ago2 watchersCompare

[ Source](https://github.com/lubosdz/simpletest-visual-gui)[ Packagist](https://packagist.org/packages/lubosdz/simpletest-visual-gui)[ RSS](/packages/lubosdz-simpletest-visual-gui/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Simpletest Visual GUI
=====================

[](#simpletest-visual-gui)

- Version: 1.0.0
- Release date: 08.04.2014

This is simple customizable visual user interface for running unit tests written for [SimpleTest](http://simpletest.org/) unit testing framework. It provides simple friendly listing of available unit tests and displays test results.

[![Simpletest Visual GUI](screenshot-simpletest-gui.png "Simpletest Visual GUI - output example")](screenshot-simpletest-gui.png)

Installation
------------

[](#installation)

Unzip into your application's apropriate place, e.g. under subdirectory "extensions" or "vendor". If using MVC framework, create dedicated controller e.g. "TestController" inside administration module/section to ensure only authorized access. You can actually move the content from file "index.php" into "testController". By accessing "index.php" (or "TestControler") you should be able to load listing of available tests.

Once unzipped, following directories will be available:

- /gui/ .. main application directory, that also includes "/vendor/" subdirectory with simpletest and php web bindings.
- /log/ .. output directory for logging, must be writable
- /temp/ .. output directory for temporary files created during tests as well as snapshots and/or screenshots. Must be writable.
- /tests/ .. all unit tests divided into subdirectories depending on environment type (development, testing, production)
- index.php .. bootstrap script that may be moved into MVC controller.
- jquery.min.js .. just auxiliary JS library, remove loading link from /gui/template1.php if your application already load jquery.
- start-selenium-server.bat .. is a command line for starting standalone selenium server for WebTest runners.

Writing unit tests
------------------

[](#writing-unit-tests)

There are assumed 3 development environments that corresponds to subdirectories inside /tests/\*:

- /tests/development - these tests are assumed to run ONLY during development stage
- /tests/testing - these tests are assumed to run ONLY during testing stage
- /tests/production - these tests are assumed to run ONLY on production servers

Please check out supplied test examples. They include web browser sample test for built-in SimpleBrowser as well as for Selenium Server with PHP web bindings.

Customization
-------------

[](#customization)

Please note, that the purpose of this utility is to provide easy customizable inteface for you. It is not intended to be perfect with beautiful graphical interface, but rather practical and easy customizable. You may want to modify:

- output rendering template (by default it is set to "/gui/template1.php")
- directory deployment - please refer to "index.php" where are defined few constants:
    - DIR\_TESTS .. absolute path to directory root with all tests
    - DIR\_TEMP .. absolute path to temporary directory
    - DIR\_LOG .. absolute path to directory for logging
    - DIR\_FRAMEWORK .. absolute path to directory with simpletest framework and PHP web bindings.

Security considerations
-----------------------

[](#security-considerations)

Please note, that this utility is meant to be integrated part of your application. It is NOT meant to be standalone PHP application. Therefore it does not provide any authentication mechanism - it is assumed, that the user accessing unit tests is already authorized user (probably administrator).

Running Selenium Server
-----------------------

[](#running-selenium-server)

The built in SimpleBrowser is sufficient for testing static pages, but it cannot handle/process javascript events. For this purpose, you need to use selenium server only.

Steps for running Selenium Server via SimpleTest Visual GUI:

1. download selenium server from
2. place it into some separate directory, e.g. /selenium/
3. if needed, create logging subdirectory, e.g. /selenium/log/
4. install java. Ensure, that java is visible in your command line - in CLI window write "java -version" to see, that java is accessible. If not, add path to java bin directory (e.g. "c:\\Program Files\\Java\\jre7\\bin") to your system environmental variable "PATH".
5. create file /selenium/**start-selenium-server.bat** with following content:

```
java -jar d:\projects\selenium\selenium-server-standalone-2.41.0.jar -log ./log/selenium.log -trustAllSSLCertificates
(adjust path to *.jar file)

```

6. run file /selenium/start-selenium-server.bat - it should start selenium server. Now you can run unit tests with selenium server via Simpletest Visual GUI.

### Reporting bugs

[](#reporting-bugs)

Please report bugs to lubosdz AT hotmail DOT com.

### Enjoy!

[](#enjoy)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/840a110decf160a8ea79caafa1b2fd755a2b3761533ecd42ae33ad9fdba56827?d=identicon)[lubosdz](/maintainers/lubosdz)

---

Top Contributors

[![lubosdz](https://avatars.githubusercontent.com/u/282343?v=4)](https://github.com/lubosdz "lubosdz (12 commits)")

### Embed Badge

![Health badge](/badges/lubosdz-simpletest-visual-gui/health.svg)

```
[![Health](https://phpackages.com/badges/lubosdz-simpletest-visual-gui/health.svg)](https://phpackages.com/packages/lubosdz-simpletest-visual-gui)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M678](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M752](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.0k](/packages/orchestra-testbench)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
