Download the PHP package calderawp/caldera-interop-fixture without Composer

On this page you can find all versions of the php package calderawp/caldera-interop-fixture. 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 caldera-interop-fixture

Build Status

Auto-magic tests for caldera-interop Interoperable Servies

Why?

Install

composer require calderawp/caldera-interop-fixture --dev

Requires

Status

BETA

Usage

This testing component is designed to be used with interoperable sets that are provided to the container using a InteropProvider. This component is comprised of two parts.

Fixture and Prop Description

The InteropFixture class takes an array-like set of data PropData that describes the properties and possible values of an entity. The PropData is the least auto-magic part of this process.

PropData

For each property, we provide that property's name and an array of values. For example, to add a xpLevel prop:

The values index collects arrays that provides an input value and an expected output value. For example, to test that the absolute value of our property is always returned:

Completer example:

InteropFixture

Using In Tests

Complete Example

See Tests/example for an example interoperable set that is tested in by the test in tests/Unit/HelloInteropTest. This example has two properites. Both with custom validation logic. 64 assertions are generated for this set.

Development

Install

Requires git and Composer

Coding Standard: Caldera (psr2 with tabs). Enforces using phpcs.

Testing

Tests are divided between unit tests and currently no other types of tests.

Install

All testing dependencies are installed with composer.

Use

Run these commands from the plugin's root directory.

Stuff.

Copyright 2018 CalderaWP LLC. License: GPL v2 or later.


All versions of caldera-interop-fixture with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
calderawp/caldera-interop Version dev-processor
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 calderawp/caldera-interop-fixture contains the following files

Loading the files please wait ....