2017 © Pedro Peláez
 

library provider-integration-tests

Integration tests Geocoder provider

image

geocoder-php/provider-integration-tests

Integration tests Geocoder provider

  • Tuesday, June 26, 2018
  • by Nyholm
  • Repository
  • 4 Watchers
  • 0 Stars
  • 6,945 Installations
  • PHP
  • 33 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 7 Versions
  • 44 % Grown

The README.md

Geocoder integration tests

Build Status Latest Stable Version Total Downloads Monthly Downloads Software License, (*1)

This repository contains integration tests to make sure your implementation of a Geocoder Provider is correct., (*2)

Install

composer require --dev geocoder-php/provider-integration-tests:dev-master

Use

Create a test that looks like this:, (*3)

use Geocoder\IntegrationTest\ProviderIntegrationTest;
use Geocoder\Provider\GoogleMaps\GoogleMaps;
use Psr\Http\Client\ClientInterface;

class IntegrationTest extends ProviderIntegrationTest
{
    protected function createProvider(ClientInterface $httpClient)
    {
        return new GoogleMaps($httpClient);
    }

    protected function getCacheDir(): string;
    {
        return dirname(__DIR__).'/.cached_responses';
    }

    protected function getApiKey(): string;
    {
        return env('GOOGLE_API_KEY');
    }
}

The Versions

26/06 2018

dev-master

9999999-dev

Integration tests Geocoder provider

  Sources   Download

MIT

The Requires

 

The Development Requires

test geocoder provider

26/06 2018

1.1.0

1.1.0.0

Integration tests Geocoder provider

  Sources   Download

MIT

The Requires

 

The Development Requires

test geocoder provider

05/04 2018

dev-patch-2

dev-patch-2

Integration tests Geocoder provider

  Sources   Download

MIT

The Requires

 

The Development Requires

test geocoder provider

17/06 2017

dev-patch-1

dev-patch-1

Integration tests Geocoder provider

  Sources   Download

MIT

The Requires

 

The Development Requires

test geocoder provider

17/06 2017

1.0.2

1.0.2.0

Integration tests Geocoder provider

  Sources   Download

MIT

The Requires

 

The Development Requires

test geocoder provider

17/06 2017

1.0.1

1.0.1.0

Integration tests Geocoder provider

  Sources   Download

MIT

The Requires

 

The Development Requires

test geocoder provider

15/06 2017

1.0.0

1.0.0.0

Integration tests Geocoder provider

  Sources   Download

MIT

The Requires

 

The Development Requires

test geocoder provider