There are several ways to speedup slow unit tests which interact with database:
There are several ways to speedup slow unit tests which interact with database:
hi, Here i am giving you some simple step to import huge data from a csv file to your mysql table.this is useful when you have a very huge data to import from csv format.
Original source code and idea are from: PHP, PDO & Nested Transactions.