diff --git a/.travis.yml b/.travis.yml index 8a55f625..b998b537 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,8 @@ script: - vendor/bin/phpunit --configuration phpunit.xml.dist --colors --coverage-clover=coverage.clover after_script: - - wget https://scrutinizer-ci.com/ocular.phar - - php ocular.phar code-coverage:upload --format=php-clover coverage.clover + - test "5.6" == "${TRAVIS_PHP_VERSION}" && wget https://scrutinizer-ci.com/ocular.phar + - test -f ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover notifications: irc: diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 08c934c6..cff0b719 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,4 +1,5 @@ - - tests + tests/unit/ - tests + tests/integration/ - + library/ diff --git a/tests/Exceptions/AbstractGroupedExceptionTest.php b/tests/unit/Exceptions/AbstractGroupedExceptionTest.php similarity index 100% rename from tests/Exceptions/AbstractGroupedExceptionTest.php rename to tests/unit/Exceptions/AbstractGroupedExceptionTest.php diff --git a/tests/Exceptions/AbstractNestedExceptionTest.php b/tests/unit/Exceptions/AbstractNestedExceptionTest.php similarity index 100% rename from tests/Exceptions/AbstractNestedExceptionTest.php rename to tests/unit/Exceptions/AbstractNestedExceptionTest.php diff --git a/tests/Exceptions/CheckExceptionsTest.php b/tests/unit/Exceptions/CheckExceptionsTest.php similarity index 97% rename from tests/Exceptions/CheckExceptionsTest.php rename to tests/unit/Exceptions/CheckExceptionsTest.php index 7db0649c..c81edb14 100644 --- a/tests/Exceptions/CheckExceptionsTest.php +++ b/tests/unit/Exceptions/CheckExceptionsTest.php @@ -24,7 +24,7 @@ class CheckExceptionsTest extends \PHPUnit_Framework_TestCase public function provideListOfRuleNames() { - $rulesDirectory = __DIR__.'/../../library/Rules'; + $rulesDirectory = 'library/Rules'; $rulesDirectoryIterator = new DirectoryIterator($rulesDirectory); $ruleNames = array(); foreach ($rulesDirectoryIterator as $fileInfo) { diff --git a/tests/Exceptions/ValidationExceptionTest.php b/tests/unit/Exceptions/ValidationExceptionTest.php similarity index 100% rename from tests/Exceptions/ValidationExceptionTest.php rename to tests/unit/Exceptions/ValidationExceptionTest.php diff --git a/tests/FactoryTest.php b/tests/unit/FactoryTest.php similarity index 100% rename from tests/FactoryTest.php rename to tests/unit/FactoryTest.php diff --git a/tests/Rules/AbstractCompositeTest.php b/tests/unit/Rules/AbstractCompositeTest.php similarity index 100% rename from tests/Rules/AbstractCompositeTest.php rename to tests/unit/Rules/AbstractCompositeTest.php diff --git a/tests/Rules/AbstractWrapperTest.php b/tests/unit/Rules/AbstractWrapperTest.php similarity index 100% rename from tests/Rules/AbstractWrapperTest.php rename to tests/unit/Rules/AbstractWrapperTest.php diff --git a/tests/Rules/AgeTest.php b/tests/unit/Rules/AgeTest.php similarity index 100% rename from tests/Rules/AgeTest.php rename to tests/unit/Rules/AgeTest.php diff --git a/tests/Rules/AllOfTest.php b/tests/unit/Rules/AllOfTest.php similarity index 100% rename from tests/Rules/AllOfTest.php rename to tests/unit/Rules/AllOfTest.php diff --git a/tests/Rules/AlnumTest.php b/tests/unit/Rules/AlnumTest.php similarity index 100% rename from tests/Rules/AlnumTest.php rename to tests/unit/Rules/AlnumTest.php diff --git a/tests/Rules/AlphaTest.php b/tests/unit/Rules/AlphaTest.php similarity index 100% rename from tests/Rules/AlphaTest.php rename to tests/unit/Rules/AlphaTest.php diff --git a/tests/Rules/AlwaysInvalidTest.php b/tests/unit/Rules/AlwaysInvalidTest.php similarity index 100% rename from tests/Rules/AlwaysInvalidTest.php rename to tests/unit/Rules/AlwaysInvalidTest.php diff --git a/tests/Rules/ArrTest.php b/tests/unit/Rules/ArrTest.php similarity index 100% rename from tests/Rules/ArrTest.php rename to tests/unit/Rules/ArrTest.php diff --git a/tests/Rules/AttributeTest.php b/tests/unit/Rules/AttributeTest.php similarity index 100% rename from tests/Rules/AttributeTest.php rename to tests/unit/Rules/AttributeTest.php diff --git a/tests/Rules/BankAccountTest.php b/tests/unit/Rules/BankAccountTest.php similarity index 100% rename from tests/Rules/BankAccountTest.php rename to tests/unit/Rules/BankAccountTest.php diff --git a/tests/Rules/BankTest.php b/tests/unit/Rules/BankTest.php similarity index 100% rename from tests/Rules/BankTest.php rename to tests/unit/Rules/BankTest.php diff --git a/tests/Rules/BaseTest.php b/tests/unit/Rules/BaseTest.php similarity index 100% rename from tests/Rules/BaseTest.php rename to tests/unit/Rules/BaseTest.php diff --git a/tests/Rules/BetweenTest.php b/tests/unit/Rules/BetweenTest.php similarity index 100% rename from tests/Rules/BetweenTest.php rename to tests/unit/Rules/BetweenTest.php diff --git a/tests/Rules/BicTest.php b/tests/unit/Rules/BicTest.php similarity index 100% rename from tests/Rules/BicTest.php rename to tests/unit/Rules/BicTest.php diff --git a/tests/Rules/BoolTest.php b/tests/unit/Rules/BoolTest.php similarity index 100% rename from tests/Rules/BoolTest.php rename to tests/unit/Rules/BoolTest.php diff --git a/tests/Rules/CallTest.php b/tests/unit/Rules/CallTest.php similarity index 100% rename from tests/Rules/CallTest.php rename to tests/unit/Rules/CallTest.php diff --git a/tests/Rules/CallbackTest.php b/tests/unit/Rules/CallbackTest.php similarity index 100% rename from tests/Rules/CallbackTest.php rename to tests/unit/Rules/CallbackTest.php diff --git a/tests/Rules/CharsetTest.php b/tests/unit/Rules/CharsetTest.php similarity index 100% rename from tests/Rules/CharsetTest.php rename to tests/unit/Rules/CharsetTest.php diff --git a/tests/Rules/CnhTest.php b/tests/unit/Rules/CnhTest.php similarity index 100% rename from tests/Rules/CnhTest.php rename to tests/unit/Rules/CnhTest.php diff --git a/tests/Rules/CnpjTest.php b/tests/unit/Rules/CnpjTest.php similarity index 100% rename from tests/Rules/CnpjTest.php rename to tests/unit/Rules/CnpjTest.php diff --git a/tests/Rules/CntrlTest.php b/tests/unit/Rules/CntrlTest.php similarity index 100% rename from tests/Rules/CntrlTest.php rename to tests/unit/Rules/CntrlTest.php diff --git a/tests/Rules/ConsonantTest.php b/tests/unit/Rules/ConsonantTest.php similarity index 100% rename from tests/Rules/ConsonantTest.php rename to tests/unit/Rules/ConsonantTest.php diff --git a/tests/Rules/ContainsTest.php b/tests/unit/Rules/ContainsTest.php similarity index 100% rename from tests/Rules/ContainsTest.php rename to tests/unit/Rules/ContainsTest.php diff --git a/tests/Rules/CpfTest.php b/tests/unit/Rules/CpfTest.php similarity index 100% rename from tests/Rules/CpfTest.php rename to tests/unit/Rules/CpfTest.php diff --git a/tests/Rules/CreditCardTest.php b/tests/unit/Rules/CreditCardTest.php similarity index 100% rename from tests/Rules/CreditCardTest.php rename to tests/unit/Rules/CreditCardTest.php diff --git a/tests/Rules/DateTest.php b/tests/unit/Rules/DateTest.php similarity index 100% rename from tests/Rules/DateTest.php rename to tests/unit/Rules/DateTest.php diff --git a/tests/Rules/DigitTest.php b/tests/unit/Rules/DigitTest.php similarity index 100% rename from tests/Rules/DigitTest.php rename to tests/unit/Rules/DigitTest.php diff --git a/tests/Rules/DirectoryTest.php b/tests/unit/Rules/DirectoryTest.php similarity index 100% rename from tests/Rules/DirectoryTest.php rename to tests/unit/Rules/DirectoryTest.php diff --git a/tests/Rules/DomainTest.php b/tests/unit/Rules/DomainTest.php similarity index 100% rename from tests/Rules/DomainTest.php rename to tests/unit/Rules/DomainTest.php diff --git a/tests/Rules/EachTest.php b/tests/unit/Rules/EachTest.php similarity index 100% rename from tests/Rules/EachTest.php rename to tests/unit/Rules/EachTest.php diff --git a/tests/Rules/EmailTest.php b/tests/unit/Rules/EmailTest.php similarity index 100% rename from tests/Rules/EmailTest.php rename to tests/unit/Rules/EmailTest.php diff --git a/tests/Rules/EndsWithTest.php b/tests/unit/Rules/EndsWithTest.php similarity index 100% rename from tests/Rules/EndsWithTest.php rename to tests/unit/Rules/EndsWithTest.php diff --git a/tests/Rules/EqualsTest.php b/tests/unit/Rules/EqualsTest.php similarity index 100% rename from tests/Rules/EqualsTest.php rename to tests/unit/Rules/EqualsTest.php diff --git a/tests/Rules/EvenTest.php b/tests/unit/Rules/EvenTest.php similarity index 100% rename from tests/Rules/EvenTest.php rename to tests/unit/Rules/EvenTest.php diff --git a/tests/Rules/ExecutableTest.php b/tests/unit/Rules/ExecutableTest.php similarity index 100% rename from tests/Rules/ExecutableTest.php rename to tests/unit/Rules/ExecutableTest.php diff --git a/tests/Rules/ExistsTest.php b/tests/unit/Rules/ExistsTest.php similarity index 100% rename from tests/Rules/ExistsTest.php rename to tests/unit/Rules/ExistsTest.php diff --git a/tests/Rules/ExtensionTest.php b/tests/unit/Rules/ExtensionTest.php similarity index 100% rename from tests/Rules/ExtensionTest.php rename to tests/unit/Rules/ExtensionTest.php diff --git a/tests/Rules/FalseTest.php b/tests/unit/Rules/FalseTest.php similarity index 100% rename from tests/Rules/FalseTest.php rename to tests/unit/Rules/FalseTest.php diff --git a/tests/Rules/FileTest.php b/tests/unit/Rules/FileTest.php similarity index 100% rename from tests/Rules/FileTest.php rename to tests/unit/Rules/FileTest.php diff --git a/tests/Rules/FilterVarTest.php b/tests/unit/Rules/FilterVarTest.php similarity index 100% rename from tests/Rules/FilterVarTest.php rename to tests/unit/Rules/FilterVarTest.php diff --git a/tests/Rules/FloatTest.php b/tests/unit/Rules/FloatTest.php similarity index 100% rename from tests/Rules/FloatTest.php rename to tests/unit/Rules/FloatTest.php diff --git a/tests/Rules/GraphTest.php b/tests/unit/Rules/GraphTest.php similarity index 100% rename from tests/Rules/GraphTest.php rename to tests/unit/Rules/GraphTest.php diff --git a/tests/Rules/HexRgbColorTest.php b/tests/unit/Rules/HexRgbColorTest.php similarity index 100% rename from tests/Rules/HexRgbColorTest.php rename to tests/unit/Rules/HexRgbColorTest.php diff --git a/tests/Rules/HexaTest.php b/tests/unit/Rules/HexaTest.php similarity index 100% rename from tests/Rules/HexaTest.php rename to tests/unit/Rules/HexaTest.php diff --git a/tests/Rules/InTest.php b/tests/unit/Rules/InTest.php similarity index 100% rename from tests/Rules/InTest.php rename to tests/unit/Rules/InTest.php diff --git a/tests/Rules/InstanceTest.php b/tests/unit/Rules/InstanceTest.php similarity index 100% rename from tests/Rules/InstanceTest.php rename to tests/unit/Rules/InstanceTest.php diff --git a/tests/Rules/IntTest.php b/tests/unit/Rules/IntTest.php similarity index 100% rename from tests/Rules/IntTest.php rename to tests/unit/Rules/IntTest.php diff --git a/tests/Rules/IpTest.php b/tests/unit/Rules/IpTest.php similarity index 100% rename from tests/Rules/IpTest.php rename to tests/unit/Rules/IpTest.php diff --git a/tests/Rules/JsonTest.php b/tests/unit/Rules/JsonTest.php similarity index 100% rename from tests/Rules/JsonTest.php rename to tests/unit/Rules/JsonTest.php diff --git a/tests/Rules/KeySetTest.php b/tests/unit/Rules/KeySetTest.php similarity index 100% rename from tests/Rules/KeySetTest.php rename to tests/unit/Rules/KeySetTest.php diff --git a/tests/Rules/KeyTest.php b/tests/unit/Rules/KeyTest.php similarity index 100% rename from tests/Rules/KeyTest.php rename to tests/unit/Rules/KeyTest.php diff --git a/tests/Rules/LeapDateTest.php b/tests/unit/Rules/LeapDateTest.php similarity index 100% rename from tests/Rules/LeapDateTest.php rename to tests/unit/Rules/LeapDateTest.php diff --git a/tests/Rules/LeapYearTest.php b/tests/unit/Rules/LeapYearTest.php similarity index 100% rename from tests/Rules/LeapYearTest.php rename to tests/unit/Rules/LeapYearTest.php diff --git a/tests/Rules/LengthTest.php b/tests/unit/Rules/LengthTest.php similarity index 100% rename from tests/Rules/LengthTest.php rename to tests/unit/Rules/LengthTest.php diff --git a/tests/Rules/Locale/FactoryTest.php b/tests/unit/Rules/Locale/FactoryTest.php similarity index 100% rename from tests/Rules/Locale/FactoryTest.php rename to tests/unit/Rules/Locale/FactoryTest.php diff --git a/tests/Rules/Locale/GermanBankAccountTest.php b/tests/unit/Rules/Locale/GermanBankAccountTest.php similarity index 100% rename from tests/Rules/Locale/GermanBankAccountTest.php rename to tests/unit/Rules/Locale/GermanBankAccountTest.php diff --git a/tests/Rules/Locale/GermanBankTest.php b/tests/unit/Rules/Locale/GermanBankTest.php similarity index 100% rename from tests/Rules/Locale/GermanBankTest.php rename to tests/unit/Rules/Locale/GermanBankTest.php diff --git a/tests/Rules/Locale/GermanBicTest.php b/tests/unit/Rules/Locale/GermanBicTest.php similarity index 100% rename from tests/Rules/Locale/GermanBicTest.php rename to tests/unit/Rules/Locale/GermanBicTest.php diff --git a/tests/Rules/LowercaseTest.php b/tests/unit/Rules/LowercaseTest.php similarity index 100% rename from tests/Rules/LowercaseTest.php rename to tests/unit/Rules/LowercaseTest.php diff --git a/tests/Rules/MacAddressTest.php b/tests/unit/Rules/MacAddressTest.php similarity index 100% rename from tests/Rules/MacAddressTest.php rename to tests/unit/Rules/MacAddressTest.php diff --git a/tests/Rules/MaxTest.php b/tests/unit/Rules/MaxTest.php similarity index 100% rename from tests/Rules/MaxTest.php rename to tests/unit/Rules/MaxTest.php diff --git a/tests/Rules/MimetypeTest.php b/tests/unit/Rules/MimetypeTest.php similarity index 100% rename from tests/Rules/MimetypeTest.php rename to tests/unit/Rules/MimetypeTest.php diff --git a/tests/Rules/MinTest.php b/tests/unit/Rules/MinTest.php similarity index 100% rename from tests/Rules/MinTest.php rename to tests/unit/Rules/MinTest.php diff --git a/tests/Rules/MininumAgeTest.php b/tests/unit/Rules/MininumAgeTest.php similarity index 100% rename from tests/Rules/MininumAgeTest.php rename to tests/unit/Rules/MininumAgeTest.php diff --git a/tests/Rules/MultipleTest.php b/tests/unit/Rules/MultipleTest.php similarity index 100% rename from tests/Rules/MultipleTest.php rename to tests/unit/Rules/MultipleTest.php diff --git a/tests/Rules/NegativeTest.php b/tests/unit/Rules/NegativeTest.php similarity index 100% rename from tests/Rules/NegativeTest.php rename to tests/unit/Rules/NegativeTest.php diff --git a/tests/Rules/NfeAccessKeyTest.php b/tests/unit/Rules/NfeAccessKeyTest.php similarity index 100% rename from tests/Rules/NfeAccessKeyTest.php rename to tests/unit/Rules/NfeAccessKeyTest.php diff --git a/tests/Rules/NoTest.php b/tests/unit/Rules/NoTest.php similarity index 100% rename from tests/Rules/NoTest.php rename to tests/unit/Rules/NoTest.php diff --git a/tests/Rules/NoWhitespaceTest.php b/tests/unit/Rules/NoWhitespaceTest.php similarity index 100% rename from tests/Rules/NoWhitespaceTest.php rename to tests/unit/Rules/NoWhitespaceTest.php diff --git a/tests/Rules/NoneOfTest.php b/tests/unit/Rules/NoneOfTest.php similarity index 100% rename from tests/Rules/NoneOfTest.php rename to tests/unit/Rules/NoneOfTest.php diff --git a/tests/Rules/NotEmptyTest.php b/tests/unit/Rules/NotEmptyTest.php similarity index 100% rename from tests/Rules/NotEmptyTest.php rename to tests/unit/Rules/NotEmptyTest.php diff --git a/tests/Rules/NotTest.php b/tests/unit/Rules/NotTest.php similarity index 100% rename from tests/Rules/NotTest.php rename to tests/unit/Rules/NotTest.php diff --git a/tests/Rules/NullValueTest.php b/tests/unit/Rules/NullValueTest.php similarity index 100% rename from tests/Rules/NullValueTest.php rename to tests/unit/Rules/NullValueTest.php diff --git a/tests/Rules/NumericTest.php b/tests/unit/Rules/NumericTest.php similarity index 100% rename from tests/Rules/NumericTest.php rename to tests/unit/Rules/NumericTest.php diff --git a/tests/Rules/ObjectTest.php b/tests/unit/Rules/ObjectTest.php similarity index 100% rename from tests/Rules/ObjectTest.php rename to tests/unit/Rules/ObjectTest.php diff --git a/tests/Rules/OddTest.php b/tests/unit/Rules/OddTest.php similarity index 100% rename from tests/Rules/OddTest.php rename to tests/unit/Rules/OddTest.php diff --git a/tests/Rules/OneOfTest.php b/tests/unit/Rules/OneOfTest.php similarity index 100% rename from tests/Rules/OneOfTest.php rename to tests/unit/Rules/OneOfTest.php diff --git a/tests/Rules/PerfectSquareTest.php b/tests/unit/Rules/PerfectSquareTest.php similarity index 100% rename from tests/Rules/PerfectSquareTest.php rename to tests/unit/Rules/PerfectSquareTest.php diff --git a/tests/Rules/PhoneTest.php b/tests/unit/Rules/PhoneTest.php similarity index 100% rename from tests/Rules/PhoneTest.php rename to tests/unit/Rules/PhoneTest.php diff --git a/tests/Rules/PositiveTest.php b/tests/unit/Rules/PositiveTest.php similarity index 100% rename from tests/Rules/PositiveTest.php rename to tests/unit/Rules/PositiveTest.php diff --git a/tests/Rules/PostalCodeTest.php b/tests/unit/Rules/PostalCodeTest.php similarity index 100% rename from tests/Rules/PostalCodeTest.php rename to tests/unit/Rules/PostalCodeTest.php diff --git a/tests/Rules/PrimeNumberTest.php b/tests/unit/Rules/PrimeNumberTest.php similarity index 100% rename from tests/Rules/PrimeNumberTest.php rename to tests/unit/Rules/PrimeNumberTest.php diff --git a/tests/Rules/PrntTest.php b/tests/unit/Rules/PrntTest.php similarity index 100% rename from tests/Rules/PrntTest.php rename to tests/unit/Rules/PrntTest.php diff --git a/tests/Rules/PunctTest.php b/tests/unit/Rules/PunctTest.php similarity index 100% rename from tests/Rules/PunctTest.php rename to tests/unit/Rules/PunctTest.php diff --git a/tests/Rules/ReadableTest.php b/tests/unit/Rules/ReadableTest.php similarity index 100% rename from tests/Rules/ReadableTest.php rename to tests/unit/Rules/ReadableTest.php diff --git a/tests/Rules/RegexTest.php b/tests/unit/Rules/RegexTest.php similarity index 100% rename from tests/Rules/RegexTest.php rename to tests/unit/Rules/RegexTest.php diff --git a/tests/Rules/RomanTest.php b/tests/unit/Rules/RomanTest.php similarity index 100% rename from tests/Rules/RomanTest.php rename to tests/unit/Rules/RomanTest.php diff --git a/tests/Rules/SfTest.php b/tests/unit/Rules/SfTest.php similarity index 100% rename from tests/Rules/SfTest.php rename to tests/unit/Rules/SfTest.php diff --git a/tests/Rules/SizeTest.php b/tests/unit/Rules/SizeTest.php similarity index 100% rename from tests/Rules/SizeTest.php rename to tests/unit/Rules/SizeTest.php diff --git a/tests/Rules/SlugTest.php b/tests/unit/Rules/SlugTest.php similarity index 100% rename from tests/Rules/SlugTest.php rename to tests/unit/Rules/SlugTest.php diff --git a/tests/Rules/SpaceTest.php b/tests/unit/Rules/SpaceTest.php similarity index 100% rename from tests/Rules/SpaceTest.php rename to tests/unit/Rules/SpaceTest.php diff --git a/tests/Rules/StartsWithTest.php b/tests/unit/Rules/StartsWithTest.php similarity index 100% rename from tests/Rules/StartsWithTest.php rename to tests/unit/Rules/StartsWithTest.php diff --git a/tests/Rules/StringTest.php b/tests/unit/Rules/StringTest.php similarity index 100% rename from tests/Rules/StringTest.php rename to tests/unit/Rules/StringTest.php diff --git a/tests/Rules/SymbolicLinkTest.php b/tests/unit/Rules/SymbolicLinkTest.php similarity index 100% rename from tests/Rules/SymbolicLinkTest.php rename to tests/unit/Rules/SymbolicLinkTest.php diff --git a/tests/Rules/TrueTest.php b/tests/unit/Rules/TrueTest.php similarity index 100% rename from tests/Rules/TrueTest.php rename to tests/unit/Rules/TrueTest.php diff --git a/tests/Rules/TypeTest.php b/tests/unit/Rules/TypeTest.php similarity index 100% rename from tests/Rules/TypeTest.php rename to tests/unit/Rules/TypeTest.php diff --git a/tests/Rules/UploadedTest.php b/tests/unit/Rules/UploadedTest.php similarity index 100% rename from tests/Rules/UploadedTest.php rename to tests/unit/Rules/UploadedTest.php diff --git a/tests/Rules/UppercaseTest.php b/tests/unit/Rules/UppercaseTest.php similarity index 100% rename from tests/Rules/UppercaseTest.php rename to tests/unit/Rules/UppercaseTest.php diff --git a/tests/Rules/UrlTest.php b/tests/unit/Rules/UrlTest.php similarity index 100% rename from tests/Rules/UrlTest.php rename to tests/unit/Rules/UrlTest.php diff --git a/tests/Rules/VersionTest.php b/tests/unit/Rules/VersionTest.php similarity index 100% rename from tests/Rules/VersionTest.php rename to tests/unit/Rules/VersionTest.php diff --git a/tests/Rules/VowelTest.php b/tests/unit/Rules/VowelTest.php similarity index 100% rename from tests/Rules/VowelTest.php rename to tests/unit/Rules/VowelTest.php diff --git a/tests/Rules/WhenTest.php b/tests/unit/Rules/WhenTest.php similarity index 100% rename from tests/Rules/WhenTest.php rename to tests/unit/Rules/WhenTest.php diff --git a/tests/Rules/WritableTest.php b/tests/unit/Rules/WritableTest.php similarity index 100% rename from tests/Rules/WritableTest.php rename to tests/unit/Rules/WritableTest.php diff --git a/tests/Rules/XdigitTest.php b/tests/unit/Rules/XdigitTest.php similarity index 100% rename from tests/Rules/XdigitTest.php rename to tests/unit/Rules/XdigitTest.php diff --git a/tests/Rules/YesTest.php b/tests/unit/Rules/YesTest.php similarity index 100% rename from tests/Rules/YesTest.php rename to tests/unit/Rules/YesTest.php diff --git a/tests/Rules/ZendTest.php b/tests/unit/Rules/ZendTest.php similarity index 100% rename from tests/Rules/ZendTest.php rename to tests/unit/Rules/ZendTest.php diff --git a/tests/ValidatorTest.php b/tests/unit/ValidatorTest.php similarity index 100% rename from tests/ValidatorTest.php rename to tests/unit/ValidatorTest.php