Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-222

Create unit tests for CLI components

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Critical 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

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

        Whats the status here? Do we have any?

        Show
        Roman S. Borschel added a comment - Whats the status here? Do we have any?
        Hide
        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
        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.
        Guilherme Blanco made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Invalid [ 6 ]
        Hide
        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
        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.
        Roman S. Borschel made changes -
        Component/s Common [ 10010 ]
        Roman S. Borschel made changes -
        Component/s DBAL [ 10011 ]
        Hide
        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
        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
        Benjamin Eberlei made changes -
        Resolution Invalid [ 6 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.0-BETA3 [ 10060 ]
        Fix Version/s 2.0-BETA2 [ 10050 ]
        Roman S. Borschel made changes -
        Fix Version/s 2.0-BETA4 [ 10072 ]
        Fix Version/s 2.0-BETA3 [ 10060 ]
        Hide
        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
        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?
        Roman S. Borschel made changes -
        Fix Version/s 2.0-RC1 [ 10091 ]
        Fix Version/s 2.0-BETA4 [ 10072 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.x [ 10090 ]
        Fix Version/s 2.0-RC1 [ 10091 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 10649 ] jira-feedback [ 14098 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 14098 ] jira-feedback2 [ 15962 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15962 ] jira-feedback3 [ 18216 ]
        Hide
        Guilherme Blanco added a comment -

        This is not valid anymore as we use Symfony CLI component

        Show
        Guilherme Blanco added a comment - This is not valid anymore as we use Symfony CLI component
        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={query=DDC-222, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated:
              Resolved: