Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Yii Testing
  • Table Of Contents Toc
Learning Yii Testing

Learning Yii Testing

By : Pescarin
4 (1)
close
close
Learning Yii Testing

Learning Yii Testing

4 (1)
By: Pescarin

Overview of this book

Developers who have a solid pre-existing knowledge of Yii's core concepts will find this book an ideal introduction to learning to write tests using Yii 2's tools. You'll learn to create faster and more reliable applications with less time and effort.
Table of Contents (11 chapters)
close
close
10
Index

Structure of the default web application

The basic application is composed of a SiteController with a couple of modules and a login system.

The configuration files should be quite straightforward to understand and can be found in the /config directory. We will be touching on them every now and then in order to configure certain aspects and extensions we're going to use.

Regardless of whether you are using the manually installed basic application or the Composer-driven method explained earlier, you will be required to set up the database on your environment and configure the application.

In the configuration file web.php, be sure to have set up the cookieValidationKey, and while in db.php, set up the DSN of your database as described in the documentation at http://www.yiiframework.com/doc-2.0/guide-start-databases.html#configuring-a-db-connection.

You will also note the following at the end of the web.php file:

// config/web.php

if (YII_ENV_DEV) {
    // configuration adjustments for &apos...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Yii Testing
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon