- Clone the project
git clone https://github.com/herb123456/test-isolation.git
cd test-isolation
- Composer install
composer install
- Create a database
You can use any database management tool to create a database for this test.
or you can follow my step to use mysql command.
# mysql -u root
# create database you-database-name;
- Edit DB config
vim db_config.php
- Initial test table
change to any level's sub folder
cd read_uncommitted
then use doctrine command line tool to initial tables
../vendor/bin/doctrine orm:schema-tool:update --force --dump-sql
- Let's run test script!