Support the ongoing development of Laravel.io →

638 Threads

posted 10 years ago

Continuous Integration / Build Testing?

Curious as to what anyone doing build testing / continuous integration is using to do such outside o...

0 Likes
2 Replies
posted 9 years ago

How to mock time?

I currently have a function which does some calculation based on the current time. I want to be abl...

0 Likes
3 Replies

Codeception exception

I have a really simple test: public function tryToGetJsonDataForAnItem(FunctionalTester $I)...

0 Likes
0 Replies

Select option array

Hi guys, i have a form that uses a select option, setup as follows : {!! Form::select('property_type...

0 Likes
2 Replies

Codeception writes in production db and reads from testing

I am trying to write functional tests for my app. I am using Laravel 5.2 and Codeception. I have a s...

0 Likes
1 Replies
Solved
posted 10 years ago

Testing artisan commands

I have two artisan commands and would like to write test cases for it, can't i do it? I didn't find...

0 Likes
4 Replies
Solved

To get variables from "config" folder and use it in "Test cases"

#UNABLE TO ACCESS config Is there any way to create a config object in test cases. Currently we are...

0 Likes
0 Replies

Should I test Listeners, Events, Exceptions and Providers

I am using Codeception for unit and functional tests. Should I test Listeners, Events, Exceptions an...

0 Likes
1 Replies
Solved

Unit tests generating HTTPNotFoundExceptions

I'm trying to setup some unit tests for an application/api I'm building in Laravel. For some reason...

0 Likes
0 Replies

Unable to run multiple tests on controller

I'm attempting to clean up an existing application by writing unit tests for some legacy code (and u...

0 Likes
4 Replies
Solved

Laravel 5 unit testing controllers with auth middleware

I'm trying to write some unit tests for my controllers in Laravel 5 The route is protected by the au...

0 Likes
6 Replies
Solved

Test Laravel package integration

Hi What I want to do is test my Laravel 5 package. Specifically how it integrates with a actual Lara...

0 Likes
0 Replies

How to inject the Mock object into an initialzed class while doing integrated tests

I have a controller end point that utilizes Guzzle I have written a wrapper around the Guzzle Client...

0 Likes
0 Replies

RuntimeException in compiled.php line 7737: No supported encrypter found. The cipher and / or key length are invalid.

Dear All Hope you are all good. I recently installed installed laravel 5. My OS is: Kali Linux- 64b...

0 Likes
0 Replies

Custom domasin not work

I asked this question on stackoverflow here http://stackoverflow.com/questions/37777441/laravel-home...

0 Likes
0 Replies

Services and business logic

Hi Unfortunately this is one of those "where do I put that?" type questions and generates...

0 Likes
2 Replies
posted 8 years ago

The impact of Console\Commands on PHPUnit and Xdebug (code coverage)

TL;DR Every time a unit test is run, all Commands are instantiated, and any dependencies injected in...

0 Likes
3 Replies

convert string to integer

I convert string in to integer with (int) function But on localhost this work fine but when i upload...

0 Likes
1 Replies

transactions not rolling back properly in tests

I found an interesting behavior while doing some integration tests using model factories. I set up t...

0 Likes
1 Replies

Mollie package in Laravel

Hello everyone, I hope sombody has experience with the use of Mollie 'paying system'. I already inst...

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.