Download the PHP package donetechno/approval-tests-php5.6 without Composer

On this page you can find all versions of the php package donetechno/approval-tests-php5.6. 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 approval-tests-php5.6

Build Status

License

Table of Contents

ApprovalTests.PHP

Capturing Human Intelligence - ApprovalTests is an open source assertion/verification library to aid unit testing.

It is compatible with PHPUnit

What can it be used for?

Approval Tests can be used for verifying objects that require more than a simple assert. They also come prepackaged with utilities for some common scenarios including

How to get it

It's on Packagist; search for 'approval-tests'. If you're using Composer, you can add it as follows:

Video Tutorials

You can watch a bunch of short videos on getting started and using ApprovalTests at YouTube. These cover approval tests in Java and .NET, but the same concepts apply.

Podcasts

If you prefer auditory learning, you might enjoy the following podcast (Note: Some of these talk about the .Net and Java side)

Examples

ApprovalTests eats it own dogfood, so the best examples are in the source code itself.

None the less, Here's a quick look at some Sample Code

snippet source

Will Produce a File

snippet source

Simply rename this to ApprovalTest.testVerifyArray.approved.txt and the test will now pass.

Approved File Artifacts

The *.approved.* files must be checked into source your source control. This can be an issue with git as it will change the line endings. The suggested fix is to add *.approved.* binary to your .gitattributes

More Info

LICENSE

Apache 2.0 License

Questions?

twitter: @LlewellynFalco or @notthatjoshkel or #ApprovalTests


All versions of approval-tests-php5.6 with dependencies

PHP Build Version
Package Version
Requires php Version ^5.6
delight-im/str Version ^2.4
phpunit/phpunit Version ^5
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 donetechno/approval-tests-php5.6 contains the following files

Loading the files please wait ....