-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
TEST - Create single-test-enviroment #3851
Comments
@IMM0rtalis the easiest solution is most probably to pass the args from autotest.sh on to the phpunit call. Feel free to give that a try. THX |
but then i don't have the test enviroment... like autoconfig, test-db etc ? i started this thread because butonic and I had similiar problems :-/ |
There is nothing more you need |
here the situation:
with your solution i just can test all tests with sqlite as example.. but not just the tests in goodTests.php with any db-system |
as I said above pass additional parameters from autotest.sh on to the phpunit call.
The parameters GoodTest and lib/goodTests.php will be passed on to phpunit call:
|
I used
but this command executes all tests again :-/ |
Just in case you missunderstood me: |
ahh... yeah... i though you meant I was just too stupid to call it.. but it isn't coded yet :D |
hehe - I'd talk different in such a case ;-) Can you implement that on both scripts autotest.cmd as well as autotest.sh? |
well.. to be honest... the priority in the company i am working for is atm at something different... and tomorrow i am in spain for two weeks :D so i have time in the middle of july :-/ i opened this ticket because i though you can fix this fast... maybe i must do this in my spharetime in july... |
well - to be honest ... ;-) I don't need that feature and there is plenty of other stuff to be done - sorry |
so it's on my todo-list for july :D |
At the moment you can test ALL with the autotest - files.
but what if you just want to test your current test and you need the autoloader and the test enviroment? If you want to test your tests before upload...
Maybe with this feature it's simplier to test new commits. And if it's simple you can say "new commits only with tests" ...
@DeepDiver1975 the autotest-file is from you... can you create a second one for single tests with parameters which funtion to test?
@butonic @LukasReschke @icewind1991 @karlitschek
greetz
The text was updated successfully, but these errors were encountered: