Support the ongoing development of Laravel.io →

637 Threads

Laravel environment selection in CodeCeption acceptance tests

I'm trying to set up CodeCeption, with great success so far. The problem that I have though is that...

0 Likes
4 Replies
Solved

ErrorException (E_UNKNOWN): failed to open stream.

Hello world!, maybe somebody can help me with laravel 5 (yes i know it's not stable), i have error -...

0 Likes
2 Replies

Date Validation

How can I validate arrival and departure date where the arrival date should not be earlier than the...

0 Likes
0 Replies
posted 9 years ago

Laravel + Codecept + beforeFilter

I'm building an app, where there are several subdomains, and I use a beforeFilter to check if the su...

0 Likes
0 Replies

Package development question

I need some help developing a non-Laravel-specific package. I understand how to create a new package...

0 Likes
2 Replies
posted 9 years ago

codeception : how do check the validation

Hello, I have a controller named PlanController with the create and store method. Now I want to test...

0 Likes
0 Replies
posted 9 years ago

testing. Which tool ?

Hello, Im new at laravel and im confused about the testing tool to use. There is phpunit, phpspec an...

0 Likes
3 Replies

Testing controller

Hi All, I'm trying to test the index action of following controller: use Gnikoob\Controllers\BaseCon...

0 Likes
3 Replies

Should test repositories or models

Hi guys, I'm working on my first app in laravel and has started to work with repositories and unit t...

0 Likes
0 Replies
posted 10 years ago

How can I set content-type header in unit test request?

Hi! I've been trying to pass a JSON payload in a request during unit testing. The controller sees i...

0 Likes
2 Replies
posted 10 years ago

Mocking Events on tests

Hi guys, in my controller StudentsController I have an action store which fires an Event after creat...

0 Likes
2 Replies

Codeception Api Testing Issue

The below is my code for API Post and If I run it says passed but the data is not saved in Database...

0 Likes
0 Replies

Loading package config during testing

Hi, I have created a new module under workbench, register my service provider in app.php which is ad...

0 Likes
0 Replies

Initialize session in Codeception

Hi, I have a issue with Codeception, I'm trying to test if user can connected with bad credentials b...

0 Likes
0 Replies
posted 9 years ago

Codeception functional testing

When I test manually, everything works, but RegisterCept.php functional test just won't pass $I = ne...

0 Likes
2 Replies

Command Bus Architecture

I'm hoping there's some gurus out there when it comes to architecture and design patterns that could...

0 Likes
0 Replies

high traffic performance

i am creating high traffic news web site. daily visitors 200.000 visit. i did full cache. see below...

0 Likes
2 Replies
posted 10 years ago

Events not firing with PHPUnit functional tests

Hey, I have a booking system and created a simplistic testBooking class with 3-4 methods that each t...

0 Likes
1 Replies

Running laravel & CodeCeption acceptance tests on travis-ci

Hey, has anyone tried to run codeception acceptance tests with laravel on travis-ci? I'm stuck at th...

0 Likes
2 Replies
Solved
posted 10 years ago

Getting started with testing

In My Big Project L4 app, that is my very first, which I am using to learn since I ultimately want i...

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