Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-84

Add Schema Tool Tests with incremental changes against all platforms

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-ALPHA3
    • Component/s: Tools
    • Security Level: All
    • Labels:
      None

      Description

      The SchemaTool::getUpdateSchemaSql() method only needs SchemaManager::listTables() and SchemaManager::listTableColumns() methods which connect to the database. It is possible to write a little helper that pointing to a database generates this "current fixture". With this abstracted data you can then load the corresponding metadata to that database and test if incremental changes in the schema tool create the correct ALTER sql code.

        Activity

        Hide
        beberlei Benjamin Eberlei added a comment -

        Tests implemented

        Show
        beberlei Benjamin Eberlei added a comment - Tests implemented

          People

          • Assignee:
            beberlei Benjamin Eberlei
            Reporter:
            beberlei Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: