2
Dec
03
2013

Codeception with Yii Part 1 – Acceptance Tests

I will be working with a default, standard, bare Yii webapp generated from the command line – called yiicodecept. > yiic webapp yiicodecept !Important! For starters, delete the protected/tests directory – Codeception will create what it needs in there. We generally follow Codeception install instructions here: http://codeception.com/quickstart Summary: Save .phar to root/protected of webapp (yiicodecept/protected) […]

0
Dec
02
2013

Setting up Yii Testing with XAMPP, PHPUnit and Selenium

Setup Yii Testing In protected/tests/WebTestCase.php, change TEST_BASE_URL to your project define(‘TEST_BASE_URL’,’http://127.0.0.1/webapp/’); Check protected/tests/bootstrap.php to make sure it is configured in a reasonable manner.  I believe in most cases it will be fine – I am using the yii-environment extension, and needed to copy over my config so it would read from existing config files.  Take […]

0
Nov
21
2013

Keep Your Free dyndns.org Account

Programmatically login to your dyndns.org account Per the discussion and script provided by azertx here, I’ve decided to document things a little more clearly in the hopes that more people are able to continue using the dyndns.org FREE dynamic hostname service. Create a perl script called ‘dyndns-refresh.pl’ containing the following code: #!/usr/bin/perl use strict; use […]

0
Sep
26
2013

Adding Google Analytics to Your WordPress Site

First thing I do anytime I spin up a new site is to add Google Analytics to it.  This lets me see what is being used on the site, by who, how often…etc, and can be invaluable to any small business that wants to know more about its customers. Site analytics are also useful for […]

© 2018 General Nerditry All rights reserved. | Powered by WordPress
Theme created by @julienrenaux