Introduction to Codeception Unit Tests with Laravel - Tutorial [1/6]

preview_player
Показать описание
In this video tutorial I introduce you to Codeception. The purpose of this video is help people who are struggling to understand what Codeception is and how to use it. In this series we will be using Codeception with Laravel.

Reval Govender

Laravel Tutorials:

2 - 3 min Developer Quick Tips Series:

PHP Developer Tutorials:

A Journey To TDD the tutorial series:

1. Prerequisite - 00:14
2. Introduction - 00:25
3. Codeception Folder Structure - 00:45
4. Creating a Test - 01:07
5. Example Test - 01:31
6. _before() and _after() - 01:43
7. Configuration - 02:09
8. Writing Unit Tests - 02:26
Рекомендации по теме
Комментарии
Автор

Hello,

Why is it that my acceptance test works but my functional doesnt on the same project. I am using laravel 4 and codeception 2

acceptance code:

<?php


$I = new AcceptanceTester($scenario);
$I->wantTo('perform actions and see result');
$I->see('resultado');

functional code:

<?php
$I = new FunctionalTester($scenario);
$I->wantTo('perform actions and see result');
$I->see('resultado');


Thanks in advance

juanroldan