At the beginning of this post, I’d like to show you how to test APIs by using Laravel or Guzzle. The different is functions provided by Laravel can only be used to test the features built on Laravel. For example, if you have a page for file uploading and you want to test it, it’s very simple by usin
Speeding up Unit Tests with Laravel
We suffered the slowness of the unit testing that was integrated with Laravel migration until last week. The tests execution time on my Mac is 21 minutes in average and more than one hour on our DEV server. we are annoyed with the huge time occupation in each release. Because we may deploy serval ti