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

Already on GitHub? Sign in to your account

run builtin server with test env #9995

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

Comments

Projects
None yet
4 participants
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

Member

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 Easy Pick label Dec 24, 2014

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 fabpot added a commit that referenced this issue Dec 29, 2014

@fabpot fabpot feature #13105 [FrameworkBundle] added a test router for the built-in…
… 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
f260186

@fabpot fabpot closed this Dec 29, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment