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

Closed
opened 2026-01-22 12:33:18 +01:00 by admin · 8 comments
Owner

Originally created by @doctrinebot on GitHub (Dec 22, 2009).

Originally assigned to: @guilhermeblanco on GitHub.

Jira issue originally created by user romanb:

Originally created by @doctrinebot on GitHub (Dec 22, 2009). Originally assigned to: @guilhermeblanco on GitHub. Jira issue originally created by user romanb:
admin closed this issue 2026-01-22 12:33:18 +01:00
Author
Owner
@doctrinebot commented on GitHub (Dec 22, 2009): - is referenced by [DDC-359: Specified, but empty CLI Options --option= causes Notice undefined offset: 0 [Test case for CliController included]](http://www.doctrine-project.org/jira/browse/DDC-359)
Author
Owner

@doctrinebot commented on GitHub (May 19, 2010):

Comment created by romanb:

Whats the status here? Do we have any?

@doctrinebot commented on GitHub (May 19, 2010): Comment created by romanb: Whats the status here? Do we have any?
Author
Owner

@doctrinebot commented on GitHub (May 19, 2010):

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 commented on GitHub (May 19, 2010): 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.
Author
Owner

@doctrinebot commented on GitHub (May 20, 2010):

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 commented on GitHub (May 20, 2010): 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.
Author
Owner

@doctrinebot commented on GitHub (Jun 19, 2010):

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:

51e6681934

@doctrinebot commented on GitHub (Jun 19, 2010): 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
Author
Owner

@doctrinebot commented on GitHub (Aug 26, 2010):

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 commented on GitHub (Aug 26, 2010): 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?
Author
Owner

@doctrinebot commented on GitHub (Apr 16, 2014):

Comment created by @guilhermeblanco:

This is not valid anymore as we use Symfony CLI component

@doctrinebot commented on GitHub (Apr 16, 2014): Comment created by @guilhermeblanco: This is not valid anymore as we use Symfony CLI component
Author
Owner

@doctrinebot commented on GitHub (Apr 16, 2014):

Issue was closed with resolution "Invalid"

@doctrinebot commented on GitHub (Apr 16, 2014): Issue was closed with resolution "Invalid"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#278