<phpunit backupGlobals="false" colors="true">
<testsuite name="app1" >
<directory>./app1</directory>
</testsuite>
<testsuite name="app1" >
<directory>./app2</directory>
</testsuite>
</phpunit>
Làm cách nào để tôi có thể tải các bootuite đầu tiên và thứ hai khác nhau?PHPunit bootstrap khác nhau cho tất cả các testuites
Tôi không nghĩ rằng đây là một ý tưởng tốt vì có 10 file bootstrap khác nhau mà bạn sẽ cần, dựa trên giải pháp của bạn, để tạo 10 tệp phpunitblabla.xml – smarber