Skip to content

A CakePHP 2.x plugin to ease data validation related unit testing

License

Notifications You must be signed in to change notification settings

orca-services/cakephp-data-validation-testing

Repository files navigation

CakePHP DataValidation Testing

Travis-CI Build Status Coverage Status Scrutinizer Code Quality Total Downloads Latest Stable Version

A CakePHP 2.x plugin to help testing data validation.

Installation

Requirements

  • PHP >= 5.4.0
  • CakePHP 2.x

CakePHP Version Support

This plugin supports CakePHP 2.x only.

Installation via composer

First, require the package through Composer:

composer require --dev orca-services/cakephp-data-validation-testing

Then load plugin in bootstrap.php:

CakePlugin::load('DataValidationTesting');

Installation alternatives

Refer to the CakePHP CookBook section How To Install Plugins.

How to use

You can use the plugin as shown in BlogPostTest example .

Versioning

The releases of this plugin are versioned using SemVer.

Contributing

See CONTRIBUTING.md

Changelog

See CHANGELOG.md

TODOs

  • Add Unit Tests
  • Integrate with Travis CI
  • Integrate with Scrutinizer CI
  • Integrate with AppVeyor
  • Extend examples

Security

If you've found a security vulnerability, please follow the procedure described in SECURITY.md.

License

This plugin is licensed under the MIT License.