├── .github └── workflows │ ├── php.yml │ └── phpstan.yml ├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── phpstan-baseline.neon ├── phpstan.neon ├── phpunit.xml.dist ├── run_tests.sh ├── src ├── Fixture │ ├── TriggerStrategy.php │ └── TruncateDirtyTables.php └── Sniffer │ ├── BaseTableSniffer.php │ ├── BaseTriggerBasedTableSniffer.php │ ├── DriverTraits │ ├── MysqlSnifferTrait.php │ ├── PostgresSnifferTrait.php │ └── SqliteSnifferTrait.php │ ├── MysqlTriggerBasedTableSniffer.php │ ├── PostgresTriggerBasedTableSniffer.php │ ├── SnifferRegistry.php │ └── SqliteTriggerBasedTableSniffer.php └── tests ├── .env.Mysql ├── .env.Postgres ├── .env.Sqlite ├── TestApp ├── config │ ├── Migrations │ │ └── 20200208100000_initial_migration.php │ ├── Seeds │ │ └── 20200308100000_seed_countries.unused │ └── TestMigrations │ │ ├── 20200211100000_CreateProductsTable.php │ │ └── 20200211100001_AddProduct.php ├── src │ ├── .gitkeep │ └── Model │ │ ├── Entity │ │ ├── City.php │ │ └── Country.php │ │ └── Table │ │ ├── CitiesTable.php │ │ └── CountriesTable.php └── tests │ └── Fixture │ ├── CitiesFixture.php │ └── CountriesFixture.php ├── TestCase ├── CakeFixturesStringNotationTest.php ├── CakeFixturesTest.php ├── Fixture │ └── TriggerStrategyTest.php ├── FixtureInjectorSkipTruncationTest.php └── Sniffer │ ├── SnifferRegistryTest.php │ ├── TableSnifferDropTablesTest.php │ ├── TableSnifferTest.php │ ├── TableSnifferWithFixturesTest.php │ ├── TableSnifferWithMigrationTest.php │ └── TableSnifferWithoutFixturesTest.php ├── TestUtil.php ├── Traits ├── ArrayComparerTrait.php ├── ExpectedSchemaTestTrait.php ├── InsertTestDataTrait.php └── SnifferHelperTrait.php └── bootstrap.php /.github/workflows/php.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/.github/workflows/php.yml -------------------------------------------------------------------------------- /.github/workflows/phpstan.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/.github/workflows/phpstan.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/composer.json -------------------------------------------------------------------------------- /phpstan-baseline.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/phpstan-baseline.neon -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/phpstan.neon -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /run_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/run_tests.sh -------------------------------------------------------------------------------- /src/Fixture/TriggerStrategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/src/Fixture/TriggerStrategy.php -------------------------------------------------------------------------------- /src/Fixture/TruncateDirtyTables.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/src/Fixture/TruncateDirtyTables.php -------------------------------------------------------------------------------- /src/Sniffer/BaseTableSniffer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/src/Sniffer/BaseTableSniffer.php -------------------------------------------------------------------------------- /src/Sniffer/BaseTriggerBasedTableSniffer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/src/Sniffer/BaseTriggerBasedTableSniffer.php -------------------------------------------------------------------------------- /src/Sniffer/DriverTraits/MysqlSnifferTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/src/Sniffer/DriverTraits/MysqlSnifferTrait.php -------------------------------------------------------------------------------- /src/Sniffer/DriverTraits/PostgresSnifferTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/src/Sniffer/DriverTraits/PostgresSnifferTrait.php -------------------------------------------------------------------------------- /src/Sniffer/DriverTraits/SqliteSnifferTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/src/Sniffer/DriverTraits/SqliteSnifferTrait.php -------------------------------------------------------------------------------- /src/Sniffer/MysqlTriggerBasedTableSniffer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/src/Sniffer/MysqlTriggerBasedTableSniffer.php -------------------------------------------------------------------------------- /src/Sniffer/PostgresTriggerBasedTableSniffer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/src/Sniffer/PostgresTriggerBasedTableSniffer.php -------------------------------------------------------------------------------- /src/Sniffer/SnifferRegistry.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/src/Sniffer/SnifferRegistry.php -------------------------------------------------------------------------------- /src/Sniffer/SqliteTriggerBasedTableSniffer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/src/Sniffer/SqliteTriggerBasedTableSniffer.php -------------------------------------------------------------------------------- /tests/.env.Mysql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/.env.Mysql -------------------------------------------------------------------------------- /tests/.env.Postgres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/.env.Postgres -------------------------------------------------------------------------------- /tests/.env.Sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/.env.Sqlite -------------------------------------------------------------------------------- /tests/TestApp/config/Migrations/20200208100000_initial_migration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestApp/config/Migrations/20200208100000_initial_migration.php -------------------------------------------------------------------------------- /tests/TestApp/config/Seeds/20200308100000_seed_countries.unused: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestApp/config/Seeds/20200308100000_seed_countries.unused -------------------------------------------------------------------------------- /tests/TestApp/config/TestMigrations/20200211100000_CreateProductsTable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestApp/config/TestMigrations/20200211100000_CreateProductsTable.php -------------------------------------------------------------------------------- /tests/TestApp/config/TestMigrations/20200211100001_AddProduct.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestApp/config/TestMigrations/20200211100001_AddProduct.php -------------------------------------------------------------------------------- /tests/TestApp/src/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/TestApp/src/Model/Entity/City.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestApp/src/Model/Entity/City.php -------------------------------------------------------------------------------- /tests/TestApp/src/Model/Entity/Country.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestApp/src/Model/Entity/Country.php -------------------------------------------------------------------------------- /tests/TestApp/src/Model/Table/CitiesTable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestApp/src/Model/Table/CitiesTable.php -------------------------------------------------------------------------------- /tests/TestApp/src/Model/Table/CountriesTable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestApp/src/Model/Table/CountriesTable.php -------------------------------------------------------------------------------- /tests/TestApp/tests/Fixture/CitiesFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestApp/tests/Fixture/CitiesFixture.php -------------------------------------------------------------------------------- /tests/TestApp/tests/Fixture/CountriesFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestApp/tests/Fixture/CountriesFixture.php -------------------------------------------------------------------------------- /tests/TestCase/CakeFixturesStringNotationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestCase/CakeFixturesStringNotationTest.php -------------------------------------------------------------------------------- /tests/TestCase/CakeFixturesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestCase/CakeFixturesTest.php -------------------------------------------------------------------------------- /tests/TestCase/Fixture/TriggerStrategyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestCase/Fixture/TriggerStrategyTest.php -------------------------------------------------------------------------------- /tests/TestCase/FixtureInjectorSkipTruncationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestCase/FixtureInjectorSkipTruncationTest.php -------------------------------------------------------------------------------- /tests/TestCase/Sniffer/SnifferRegistryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestCase/Sniffer/SnifferRegistryTest.php -------------------------------------------------------------------------------- /tests/TestCase/Sniffer/TableSnifferDropTablesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestCase/Sniffer/TableSnifferDropTablesTest.php -------------------------------------------------------------------------------- /tests/TestCase/Sniffer/TableSnifferTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestCase/Sniffer/TableSnifferTest.php -------------------------------------------------------------------------------- /tests/TestCase/Sniffer/TableSnifferWithFixturesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestCase/Sniffer/TableSnifferWithFixturesTest.php -------------------------------------------------------------------------------- /tests/TestCase/Sniffer/TableSnifferWithMigrationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestCase/Sniffer/TableSnifferWithMigrationTest.php -------------------------------------------------------------------------------- /tests/TestCase/Sniffer/TableSnifferWithoutFixturesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestCase/Sniffer/TableSnifferWithoutFixturesTest.php -------------------------------------------------------------------------------- /tests/TestUtil.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/TestUtil.php -------------------------------------------------------------------------------- /tests/Traits/ArrayComparerTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/Traits/ArrayComparerTrait.php -------------------------------------------------------------------------------- /tests/Traits/ExpectedSchemaTestTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/Traits/ExpectedSchemaTestTrait.php -------------------------------------------------------------------------------- /tests/Traits/InsertTestDataTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/Traits/InsertTestDataTrait.php -------------------------------------------------------------------------------- /tests/Traits/SnifferHelperTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/Traits/SnifferHelperTrait.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vierge-noire/cakephp-test-suite-light/HEAD/tests/bootstrap.php --------------------------------------------------------------------------------