Support the ongoing development of Laravel.io →

536 Threads

posted 10 years ago

Running all Tests at once (phpstorm) - problem with routes

Hi! I have some functional tests where I check if a route by name is working. This test works if I r...

0 Likes
0 Replies

How to loading my config environment instead of testing config when doing phpunit?

Hi, We are a team of developers, and each one is running tests locally before commit, each one confi...

0 Likes
0 Replies

Testing classes which connect to external services

Currently I'm trying to improve my TDD (PHPspec) in Laravel, though I'm facing several problems when...

0 Likes
0 Replies

how can i store the data in different tables in db?

Hi..Recently I installed DOPTOR CMS.Really it is working good.I have one doubt,while creating the mo...

0 Likes
0 Replies
posted 10 years ago

Cannot send session cookie - headers already sent PHPUnit

Hi guys, I have this strange problem when i call the parent::setUp() on my TestCase class for unit t...

0 Likes
0 Replies

How to store multiple forms data in different tables in DB.

Hi..Recently I installed DOPTOR CMS.Really it is working good.I have one doubt,while creating the mo...

0 Likes
1 Replies

Migration

How do i use the down function only of the file in migration.

0 Likes
0 Replies

Laravel 4 code coverage

Question about code coverage: I have it running, but the result is 0% coverage every single time - i...

0 Likes
0 Replies

Proper implementation for multiple validation

//Contact.php class Contact extends \Eloquent { protected $fillable = array('email', 'name', 'subje...

0 Likes
0 Replies

Having trouble testing model validation.

I'm just starting out with TDD and I'm trying to test validation in a model. Currently, all my test...

0 Likes
1 Replies

Help: Model isn't being mocked properly inside Repository test >_<

Hopefully someone can help me, I've been trying to find out why for the last few hours. I'm trying t...

0 Likes
3 Replies
posted 10 years ago

What to test...

Hi, I have a big confession to make: I have a testingproblem. These days everyone is talking about t...

0 Likes
2 Replies

Laravel Commenting System?

Hello! I am new using laravel framework. I want a simple commenting system to my application using l...

0 Likes
1 Replies

Testing Repository with model relationships

The last time I worked me through the ideas of ValidationServices, Repositories and all that stuff....

0 Likes
0 Replies

Code Sniffer - LaraSniffer

Hi guys, I've made an artisan command/package that (through popular PHP_CodeSniffer) detect violatio...

0 Likes
1 Replies

Overall code coverage outside phpunit (phpspec & codeception)

I'm more and more looking at working with a combination of phpspec for unit testing and codeception...

0 Likes
1 Replies
posted 10 years ago

A small mistake in Laravel 4.1 Routing Documentation

Here : Laravel-route-parameters There is a missing semi-colon(;) at the end of "Passing An Arra...

0 Likes
2 Replies
posted 10 years ago

Do I have the right idea when writing functional tests for my controllers?

http://laravel.io/bin/1JqJ In this code I'm trying to test the store method, which is called after p...

0 Likes
0 Replies

How to avoid using Session Facade?

To allow for proper unit tests, it is recommended to avoid using Facades. How can I access Session i...

0 Likes
3 Replies

Independent Application/Software Testing

Need independent testing/evaluation done on a web application currently being developed using Larave...

0 Likes
0 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.