cycle / orm

PHP DataMapper, ORM
https://cycle-orm.dev
MIT License
1.24k stars 72 forks source link

Add console command to generate TestCase #373

Closed roxblnfk closed 2 years ago

roxblnfk commented 2 years ago

Related with https://github.com/cycle/docs/issues/138 Need to add command that will do the same:

  1. Go to the dir tests/ORM/Functional/Driver/Common/Integration.
  2. Make a copy of the CaseTemplate catalog to the same place with your case name. At can be Case№ with next case number.
  3. Replace CaseTemplate with your case name in namespaces of all case files.
  4. Run php tests/generate.php to generate child classes for all supported databases.