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

Create unit tests for CLI components

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: 2.0-ALPHA3
    • Fix Version/s: 2.x
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Issue Links

        Activity

        romanb Roman S. Borschel created issue -
        guilhermeblanco Guilherme Blanco made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        romanb Roman S. Borschel made changes -
        Link This issue is referenced by DDC-359 [ DDC-359 ]
        romanb Roman S. Borschel made changes -
        Fix Version/s 2.0-BETA2 [ 10050 ]
        Fix Version/s 2.0-BETA1 [ 10030 ]
        Hide
        romanb Roman S. Borschel added a comment -

        Whats the status here? Do we have any?

        Show
        romanb Roman S. Borschel added a comment - Whats the status here? Do we have any?
        Hide
        guilhermeblanco Guilherme Blanco added a comment -

        Since we moved to Symfony Console I don't think this is needed anymore.
        The purpose of this ticket was actually to test our own CLI support, which was dropped.

        I'm closing the ticket due to this. Reopen if you have any other comment.

        Show
        guilhermeblanco Guilherme Blanco added a comment - Since we moved to Symfony Console I don't think this is needed anymore. The purpose of this ticket was actually to test our own CLI support, which was dropped. I'm closing the ticket due to this. Reopen if you have any other comment.
        guilhermeblanco Guilherme Blanco made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Invalid [ 6 ]
        Hide
        beberlei Benjamin Eberlei added a comment -

        I think we do need some basic functional tests of our Commands, they have been subject to many bugs in the past becaues they are not tested.

        Show
        beberlei Benjamin Eberlei added a comment - I think we do need some basic functional tests of our Commands, they have been subject to many bugs in the past becaues they are not tested.
        romanb Roman S. Borschel made changes -
        Component/s Common [ 10010 ]
        romanb Roman S. Borschel made changes -
        Component/s DBAL [ 10011 ]
        Hide
        beberlei Benjamin Eberlei added a comment -

        Fixed another fatal error in the command due to missing namespace dependency. We need tests for all the commands, there have been dozens of issues on these things so far.

        This commit shows a simple approach on how testing is easily possible for symfony commands:

        http://github.com/doctrine/doctrine2/commit/51e6681934a7cf4448b85c5670c04045f66c6056

        Show
        beberlei Benjamin Eberlei added a comment - Fixed another fatal error in the command due to missing namespace dependency. We need tests for all the commands, there have been dozens of issues on these things so far. This commit shows a simple approach on how testing is easily possible for symfony commands: http://github.com/doctrine/doctrine2/commit/51e6681934a7cf4448b85c5670c04045f66c6056
        beberlei Benjamin Eberlei made changes -
        Resolution Invalid [ 6 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        beberlei Benjamin Eberlei made changes -
        Fix Version/s 2.0-BETA3 [ 10060 ]
        Fix Version/s 2.0-BETA2 [ 10050 ]
        romanb Roman S. Borschel made changes -
        Fix Version/s 2.0-BETA4 [ 10072 ]
        Fix Version/s 2.0-BETA3 [ 10060 ]
        Hide
        romanb Roman S. Borschel added a comment -

        Can we expect some more tests for beta4 or is it unlikely that you find the time? Should we move this further back or does someone else want to step in?

        Show
        romanb Roman S. Borschel added a comment - Can we expect some more tests for beta4 or is it unlikely that you find the time? Should we move this further back or does someone else want to step in?
        romanb Roman S. Borschel made changes -
        Fix Version/s 2.0-RC1 [ 10091 ]
        Fix Version/s 2.0-BETA4 [ 10072 ]
        beberlei Benjamin Eberlei made changes -
        Fix Version/s 2.x [ 10090 ]
        Fix Version/s 2.0-RC1 [ 10091 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira [ 10649 ] jira-feedback [ 14098 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback [ 14098 ] jira-feedback2 [ 15962 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15962 ] jira-feedback3 [ 18216 ]
        Hide
        guilhermeblanco Guilherme Blanco added a comment -

        This is not valid anymore as we use Symfony CLI component

        Show
        guilhermeblanco Guilherme Blanco added a comment - This is not valid anymore as we use Symfony CLI component
        guilhermeblanco Guilherme Blanco made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Invalid [ 6 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={expand=changesets[0:20].revisions[0:29],reviews, query=DDC-222}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            guilhermeblanco Guilherme Blanco
            Reporter:
            romanb Roman S. Borschel
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: