Support the ongoing development of Laravel.io →

637 Threads

Unit Testing in laravel

I am a beginner and I want to write nice test case for my api server and need to do unit testing so...

0 Likes
1 Replies

Can I specify a database connection for an individual unit test?

My test suite currently has 67 tests and 167 assertions. If I run the tests in a SQLite memory datab...

0 Likes
2 Replies
Solved

artisan serve very slowly serving static content

On win7 64bit xampp when I use php artisan serve static files from public folder are served in 1 sec...

0 Likes
2 Replies

Testing in workbench - Class not found

Hello, i need some help on how to run phpunit tests in workbench. Running phpunit i always get a &qu...

0 Likes
1 Replies
Solved

Is larval appropriate for long term development of business application

new to laravel and use of php frameworks. was wondering if laravel is appropriate for use in develop...

0 Likes
4 Replies

Laravel testing on local environment

When I run my tests I notice Laravel cascades the production configuration with the testing configur...

0 Likes
4 Replies
posted 9 years ago

Testing filters assignment

As mentioned here filters are disabled while testing controllers. So as taylor said, I've made class...

0 Likes
1 Replies
posted 9 years ago

Unit testing controller call dropping variables

Hello, Any idea as to why a call such as this: $response = $this->action('POST', 'feedbackControl...

0 Likes
2 Replies
Solved
posted 9 years ago

Error: token_get_all()

Hi, I'm really new in Laravel. I'm follow a example in CRUD pero I have this error: Call to undefine...

0 Likes
2 Replies
posted 9 years ago

catching exception from the filter during testing

Hi, Here is my filter: Route::filter('app.auth', function() { $app_token = Input::get('...

0 Likes
0 Replies

Memory on the server using laravel

Hi all. I have used Laravel 4.2 for some of their projects. However, most of the projects I use Debu...

0 Likes
0 Replies

sending HTTP headers as part of request

Hi, I am writing a PHPUnit test that checks if a userId exists in the header and asserts accordingly...

0 Likes
0 Replies
posted 9 years ago

How do I flush, migrate and seed DB before testing ?

Hi, I'm trying to improve my code quality with a testing environment. I have a rest API that I would...

0 Likes
2 Replies
posted 9 years ago

Where to file feature requests?

Hi, where can i file feature request for future Laravel versions? Github? Thanks Sharping

0 Likes
1 Replies

Fatal error: Class 'Whoops\TestCase' not found in laravel Phpstorm

i m facing this error in PhpStorm while debug project Fatal error: Class 'Whoops\TestCase' not found...

0 Likes
0 Replies

"No input file specified." with Laravel Forge

Hello! Everytime I connect my repo with my Laravel Forge server setup, it first returns some error o...

0 Likes
2 Replies
posted 9 years ago

Unworking jQuery code

Having a jQuery code in the bottom of my body element. Without the Laravel framework / only html cod...

0 Likes
4 Replies

Fatal error: Class 'TestCase' not found in

i m facing this error in Php Storm Fatal error: Class 'TestCase' not found in C:\xampp\htdocs\testpr...

0 Likes
2 Replies

How to download file from my AWS S3 bucket?

I'm uploading pdf's but I want allow the users to download them, what method can I use or how can I...

0 Likes
0 Replies

Laravel Email with files

Hi guys. I'm searching how can I put a file or pdf in the email that I'm sending. I only found the b...

0 Likes
1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.