Download the PHP package jayhealey/webception without Composer

On this page you can find all versions of the php package jayhealey/webception. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package webception

Webception

Join the chat at https://gitter.im/jayhealey/Webception

Web Interface for running Codeception tests.

Built with Slim PHP framework and Foundation CSS framework.


What does it do?

Webception is a deployable web-application that allows you to run all your Codeception tests in the browser.

You can access multiple test suites and decide which tests to include in a run. It allows you start, stop and restart the process whilst watching the test results in the Console.

What does it look like?

I'm glad you asked...

What's the ideal usage?

If you're a web developer, it's likely you run a staging server that hosts work in progress for your clients.

Webception's ideal setup would be on a sub-domain on your staging server (webception.your-staging-domain.com) so it could have access to all of your test suites.

What it will it do?

Webception is a work in progress. Check out the roadmap for short-term goals.

Check out how to contribute if you want to get involved.


Requirements

A web-server running PHP 5.3.0+ and Composer. Codeception will be installed via Composer.


Installation

Out of the box, Webception is configured to run it's own Codeception tests.

You'll need Composer to be installed and the Codeception executable and logs directory need full read/write permissions.

To configure Webception for your needs (i.e. to tun your own tests) copy App/Config/codeception-local-sample.php to App/Config/codeception-local.php and override settings from App/Config/codeception.php. It's here where you add references to the codeception.yml configurations.

Also note Webception's codeception.yml is setup to use http://webception:80 as it's host. Change this to be whatever host and port you decide to run Webception on.

1. Deploy Webception

You can either install Webception using Composer:

composer create-project jayhealey/webception --stability=dev

Or downloaded Webception and unzip it. Once you've unzipped it, you need to install the Composer dependancies with:

composer install

Now you can do the following:

  1. Ensure Codeception has permissions:

    sudo chmod a+x vendor/bin/codecept

  2. Set permissions so Codeception can write out the log files:

    sudo chmod -R 777 App/Tests/_log

  3. Set permissions so Slim PHP can write to the template cache:

    sudo chmod -R 777 App/Templates/_cache

  4. Point your new server to the public path of where you unzipped Webception.

You'll now be able to load Webception in your browser.

If there are any issues Webception will do it's best to tell what you need to do.

2. Customise the Webception configuration

There are a few configuration files you can play with in /App/Config/codeception.php.

Adding your own tests to Webception

You can add as many Codeception test suites as you need by adding to the sites array:

Put them in order you want to see in the dropdown. And if you only have one entry, you won't see the dropdown.

Feel free to remove/replace the Webception entry with one of your own suites.

If you have more than one site in the configuration, you can use the site picker on the top-left of Webception to swap between test suites.

And remember: it's important you set sudo chmod -R 777 /path/to/logs on the log directories declared in your codeception.yml configurations. If you don't, Webception will fail to run the tests.

Note: You may experience issues using $_SERVER['DOCUMENT_ROOT'] to define the configuration path. It may be best to put the absolute path to your application root or a relative path using dirname(__FILE__).

3. Run your tests!

If you've configured everything correctly, Webception will show all your available tests. Just click START to run everything!

That's it! Happy Testing!


Want to Contribute?

There's a few ways you can get in touch:

And please let me know if you use Webception. I'm keen to understand how you'd like to use it and if there's anything you'd like to see in future releases.

I'm open to any feedback on how to improve Webception. From tips on SlimPHP, to how best to improve the Codeception handling to improving the UI. I'd be happy to hear it!


Infrequently Asked Questions (IAQs)

Why would I use Webception?

The aim of Webception is to open the test suites up to anyone involved in a web-development project. This could be a team leader, another developer (who might not be a PHP developer), client manager or even the client.

The plan is to grow the tool to be a worthwhile part of your process. Potentially integrating CI tools or part of a bug reporting process.

And selfishly, I couldn't find anything else that acted as a web interface for Codeception, so it was a problem worth solving.

Is Webception made by the same people as Codeception?

No. It's completely un-official. It's not affiliated or sponsored in anyway by the people who built Codeception.

So, raise all issues about Webception on the Webception GitHub Issues page.


Roadmap

There's also the TODO list which contains a list of things I'd like to improve.

If you have any ideas or issues, jump on GitHub Issues or @WebceptionApp on Twitter.


All versions of webception with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
slim/slim Version 2.*
slim/views Version 0.1.*
twig/twig Version ~1.13
codeception/codeception Version 2.*
symfony/yaml Version 2.5.x-dev
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jayhealey/webception contains the following files

Loading the files please wait ....