-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Document how to run integration tests locally #6355
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
Conversation
I forgot to remove it in e7aef4e.
<var name="tmpdb_port" value="3306"/> | ||
<var name="tmpdb_user" value="root" /> | ||
<var name="tmpdb_password" value="" /> | ||
<var name="tmpdb_dbname" value="doctrine_tests_tmp" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another reason for this removal is a discussion with @alli83 about how to run the test suite, where I recommended either using a CI file or these instructions. She reported that the latter did not work (and the former works 🙂 ).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not currently have a recommendation on how to spin up a database
server.
We could recommend Docker though.
79804c9
to
c21ad41
Compare
@derrabus if I'm honest, using Docker is exactly how I would do it, so I think it's fair to recommend it indeed. I also removed a previous sentence that felt out of place and replaced it with another one about versions. |
c21ad41
to
82d3920
Compare
docs/en/reference/testing.rst
Outdated
server, but we do recommend Docker as a convenient way to do so. | ||
We do not recommend running against a particular version of the chosen | ||
RDBMS either, as long as you pick one of the `officially supported versions | ||
<https://www.doctrine-project.org/projects/doctrine-dbal/en/4.0/reference/platforms.html>`_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be an internal link that should be resolved during rendering?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right, definitely!
I am also replacing the commented out connection parameters in phpunit.xml.dist with a link to this paragraph because they have diverged from the one we use in the CI since f88dc28.
82d3920
to
d5d4ed5
Compare
I am also replacing the commented out connection parameters in
phpunit.xml.dist with a link to this paragraph because they have
diverged from the one we use in the CI since #4067.