B
B
BonBon Slick2018-06-12 17:03:28
symfony
BonBon Slick, 2018-06-12 17:03:28

How to write tests for Sonata Admin Bundle?

Here everything is somehow generated under the hood, entities do not have a constructor. I don’t understand how to cover a unit with CRUD tests.
Docks are not very useful.
https://sonata-project.org/bundles/core/master/doc...
https://sonata-project.org/bundles/block/master/do...
If I understand correctly, then everything cannot be tested because that much is hidden and somehow magically (dynamically) generated there.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jaxel, 2018-06-12
@BonBonSlick

I just check for 200. As long as that was enough.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question