Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day16: Functional tests #11

Open
wants to merge 4 commits into
base: day16
Choose a base branch
from
Open

Day16: Functional tests #11

wants to merge 4 commits into from

Conversation

sergey-bleih
Copy link
Collaborator

Doing the most obvious tests (not all the negative or border edge cases). Aiming to cover controllers and repositories, as those are hard to cover with proper unit tests.

@@ -0,0 +1,30 @@
# This file is a "template" of which env vars need to be defined for your application
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about keeping in .env.test only the diff drom .env? So, if MAILER_URL is different, then we add it to this file. In case of APP_SECRET, I think it can be removed from this file and so on.

@@ -21,4 +21,5 @@
FOS\RestBundle\FOSRestBundle::class => ['all' => true],
JMS\SerializerBundle\JMSSerializerBundle::class => ['all' => true],
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
Liip\FunctionalTestBundle\LiipFunctionalTestBundle::class => ['dev' => true, 'test' => true],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need it in dev too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants