DDC-222: Create unit tests for CLI components #2917

Closed
doctrinebot opened this Issue Dec 22, 2009 · 8 comments

2 participants

@doctrinebot

Jira issue originally created by user romanb:

@doctrinebot

Comment created by romanb:

Whats the status here? Do we have any?

@doctrinebot

Comment created by @guilhermeblanco:

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.

@doctrinebot

Comment created by @beberlei:

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.

@doctrinebot

Comment created by @beberlei:

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

@doctrinebot

Comment created by romanb:

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?

@doctrinebot

Comment created by @guilhermeblanco:

This is not valid anymore as we use Symfony CLI component

@doctrinebot

Issue was closed with resolution "Invalid"

@doctrinebot doctrinebot added this to the 2.x milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment