mirror of
https://github.com/yswery/PHP-DNS-SERVER.git
synced 2026-04-26 09:45:54 +03:00
[PR #4] [MERGED] Testing #41
Labels
No labels
bug
enhancement
enhancement
hacktoberfest
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PHP-DNS-SERVER#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/yswery/PHP-DNS-SERVER/pull/4
Author: @codenamegary
Created: 11/20/2014
Status: ✅ Merged
Merged: 11/20/2014
Merged by: @yswery
Base:
master← Head:testing📝 Commits (6)
28b8081A utility class, very helpful for testing and will probably be useful for other things as well.54b4344Base testing framework and a test for the JsonStorageProvider. Just one simple test inside, should add tests for all supported record types and also test for failures.39911bcIgnoring local dev file.213643dREADME update with info about installing PHPUnit and running tests.f9e0d40Added travis yml for automated testing against various versions.c4accddAdding config for coveralls coverage reporting.📊 Changes
12 files changed (+200 additions, -1 deletions)
View changed files
➕
.coveralls.yml(+3 -0)📝
.gitignore(+1 -0)➕
.travis.yml(+11 -0)📝
README.md(+6 -0)📝
composer.json(+2 -1)➕
phpunit(+2 -0)➕
phpunit.xml(+8 -0)➕
src/RecordTypeEnum.php(+64 -0)➕
tests/JsonStorageProviderTest.php(+36 -0)➕
tests/bootstrap.php(+3 -0)➕
tests/clover.xml(+52 -0)➕
tests/test_records.json(+12 -0)📄 Description
I've added some base setup for testing. I created one simple test for the JsonStorageProvider and also added Travis CI config so you can automate the testing whenever the repo is pushed. Tests against 5.3+ and also hhvm which passes as well. hhvm is a minor concern but interesting to test against.
https://travis-ci.org/codenamegary/PHP-DNS-SERVER
Lots more tests to add, but the base is there now with a simple bootstrap so that we can just start adding more and more tests.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.