Download the PHP package gin0115/wpunit-helpers without Composer

On this page you can find all versions of the php package gin0115/wpunit-helpers. 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 wpunit-helpers

WPUnit_Helpers

Collection of helper functions, classes and traits for using WPUnit.

Latest Stable Version Total Downloads License PHP Version Require GitHub contributors GitHub issues codecov Maintainability

Version

1.0.8

Setup

Meta Box Inspector

Check if meta boxes have been registered correctly, check all values and render the view callback.

Read More

Menu Page Inspector

Allows for the checking of added pages and sub pages. Can be searched to ensure pages are added as expected and can render the pages content, for intergration style tests. Allows for testing parent and child(sub) pages.

Read More

Meta Data Inspector

Allows for the checking of registered meta data, for either post, term, user, comment and any other custom meta type added.

Read More

WP Dependencies

Allows for the quick and simple installation of themes and plugins from remote sources.

Read More

Object (Reflection wrappers)

Reflection is super useful in testing, especially if you cant access internal properties and methods to create your tests. Or you need to mock parts of the process, which are otherwise not accessible (internal WP States etc). These also work on static methods/properties

Read More

Utils

A collection of functions that have no other real place.

Read More

Output

There are a number of methods that can be used to capture output from a function or method. This is useful for testing output from a function or method.

Read More

Logable WPDB

This simple class which extends wpdb can be used for Application tests where you need to either mock the return from a WPDB call or log all wpdb calls made.

Supports all public and common methods.

Read More

WP Unit TestCase Helper Traits

These traits are designed to be used with the WP Unit TestCase. They provide a number of helper functions to make testing easier.

Read More

Change log


All versions of wpunit-helpers with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
pinkcrab/function-constructors Version *
automattic/jetpack-constants Version *
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 gin0115/wpunit-helpers contains the following files

Loading the files please wait ....