Open x-yuri opened 9 years ago
Hi, from the new version of PHPUnit this configuration has been deprecated so we will target a separate XML file. Basically PHPUnit will not support anymore these project-specific XML tags.
So, I take it I'm to delete <selenium>...</selenium>
thing and in case of yii
add $this->setBrowser('*firefox');
to WebTestCase::setUp
. This way I see no warnings. Correct me if I'm wrong.
This is a solution that would work, an additional XML configuration file is possible but I have doubts it's the most modern solution to configuration.
Where is info about deprecation? (in docs)
Here I couldn't find anything. https://phpunit.de/manual/current/en/appendixes.configuration.html
I want to know, which way should be added that "external XML file" with selenium settings.
No other external XML file is supported at the moment. PRs about a modern approach to configure the browsers are welcome, it does not need to be XML.
I'm running
phpunit
with the followingphpunit.xml
:But it says:
@sebastianbergmann says "it's for you to figure out."