Skip to content

Commit

Permalink
wrote some explanation regarding actual testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ifsnop committed Jul 29, 2015
1 parent 215bc24 commit cfc3a85
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,18 @@ Use **SHOW GRANTS FOR user@host;** to know what privileges user has. See the fol

[Which are the minimum privileges required to get a backup of a MySQL database schema?](http://dba.stackexchange.com/questions/55546/which-are-the-minimum-privileges-required-to-get-a-backup-of-a-mysql-database-sc/55572#55572)

## Tests

Current code for testing is an ugly hack. Probably there are much better ways
of doing them using PHPUnit, so PR's are welcomed. The testing script creates
and populates a database using all possible datatypes. Then it exports it
using both mysqldump-php and mysqldump, and compares the output. Only if
it is identical tests are OK.

## TODO

- Write unit tests.
Support connecting through a socket to database. Probably rewrite constructor
to support an array with parameters.

## Contributing

Expand Down

0 comments on commit cfc3a85

Please sign in to comment.