Skip to content

Commit

Permalink
make-tests: changelog and readme updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeZ99 committed Dec 4, 2016
1 parent 31e27fc commit 01c067d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
26 changes: 24 additions & 2 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,30 @@ Version 4.

Version 5.
----------
- 5.3.1
- added sort parameter.

- API Key Authorization. API Key required in client constructor
- Allow unprefixed params
- Allow custom query parameter name
- v5.2.1
- Search Client: getOptions method and https mandatory
- v5.2.2
- mainteinance release
- v5.2.3
- bugfixes
- v5.2.4
- bugfixes
- v5.2.5
- stats retrieval
- v5.2.6
- added sort parameter.
- v5.3.1
- complete rewrite of the file structure: psr4 compliant
- added to the composer repository
- v5.4.3
- bugfixes
- autoload for those not using composes
- decent formatting
- v5.5.0
- Added phpunit tests
- Added phpunit tests
- some small refactoring
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -580,3 +580,17 @@ $taskInfo = $mySearchEngine->taskInfo($taskResult['task_id']);
// Get log info about the last processes
$logs = $mySearchEngine->logs();
```

## Run Tests

To run tests.

- Make sure you have (phpunit) [https://phpunit.de/] (version 4.8) and (php-mock-phpunit)[https://github.com/php-mock/php-mock-phpunit] (version 1.1.*). If you have composer you can run
````shell
$ composer.phar install
````

- Run the tests!!
````shell
$ phpunit
````

0 comments on commit 01c067d

Please sign in to comment.