Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3925

How to write test for this in symfony?

$
0
0

In my Symfony project, I want to do this task :

We need to find a way to add a test to verify all the entities added works fine.

You’ll need to create a new test class:tests/AppBundle/Command/EntitiesAndAnnotationsCheckCommandTest.php

This test class will have a test that will run the doctrine:schema:update --dump-sql command.

We need to test that this command ends up properly (does not ends with error)Also check that the command output has no exception nor error on its description.


Viewing all articles
Browse latest Browse all 3925

Trending Articles