avatar

penguin359

Member Since: January 13, 2011

Country: United States

  • News - On Breaking Things | about 8 months ago

    One thing I’ve been learning recently (and applying for the very first time!) is to test everything. The extreme is to write the test first and code to satisfy it second but I don’t always do that. I’ve been re-writing everything in PHP to be object-oriented just so I can easily test it. I discovered PHPUnit and it’s database plugin for testing out my code. I can use that to automatically create a mock database with fixed data for easy testing of my code. I then just regularly run the phpunit command in a script before I commit and as part of a Jenkins job that polls my git repository for code changes when a hook script fires.

    http://phpunit.de/manual/current/en/index.html

  • Product COM-09061 | about 2 years ago

    To clarify, the P means support for picoPower. Searching the datasheet for that term will help clear up a little more what the differences are.

Name Pieces Total
Starter Kit
6 65.7
Temperature Sensors
6 19.7
Cool Products
1 35.95