minkphp / driver-testsuite

Functional testsuite for Mink drivers
MIT License
8 stars 29 forks source link

Add a script to launch a webserver for fixtures easily #1

Closed stof closed 8 years ago

stof commented 8 years ago

I wrote it in bash for now, as it is very easy. It should work on windows when using Cygwin or GitBash (but I have not tried it yet).

I could have written it in PHP, but it would have been much more complex (launching a subprocess on PHP in a cross-platform way is not that simple, which is why Symfony has a component dedicated to that task)

stof commented 8 years ago

OK, I'm merging this to have the feature available for drivers. We can iterate on the script to make it better (and we can change the language being used in the future if we decide that Bash is not good enough, as long as the API stays compatible)