Thanks to visit codestin.com
Credit goes to github.com

Skip to content

run builtin server with test env #9995

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

Closed
mathroc opened this issue Jan 10, 2014 · 2 comments
Closed

run builtin server with test env #9995

mathroc opened this issue Jan 10, 2014 · 2 comments
Labels
FrameworkBundle Good first issue Ideal for your first contribution! (some Symfony experience may be required)

Comments

@mathroc
Copy link
Contributor

mathroc commented Jan 10, 2014

PR #7507 add option to run builtin server in prod env. I think it should also include the required router_test.php to run in test env

it can be usefull to use with selenium or zombie.js for tests that require javascript

@jakzal
Copy link
Contributor

jakzal commented Jan 11, 2014

Just a note: it's already possible by passing a custom router path to the server:run command.

@fabpot fabpot added the Good first issue Ideal for your first contribution! (some Symfony experience may be required) label Dec 24, 2014
@kix
Copy link
Contributor

kix commented Dec 25, 2014

This issue is fixed as of Symfony 2.5.6, only thing left is the test router in #13105.

fabpot added a commit that referenced this issue Dec 29, 2014
… web server (fabpot)

This PR was submitted for the 2.3 branch but it was merged into the 2.7 branch instead (closes #13105).

Discussion
----------

[FrameworkBundle] added a test router for the built-in web server

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #9995
| License       | MIT
| Doc PR        | n/a

#9995 describes a very valid use case.

Not sure if this should be merged into 2.7 only... now that I think about it, probably :)

Commits
-------

77e27b7 [FrameworkBundle] added a test router for the buil-in web server
@fabpot fabpot closed this as completed Dec 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FrameworkBundle Good first issue Ideal for your first contribution! (some Symfony experience may be required)
Projects
None yet
Development

No branches or pull requests

4 participants