Commit graph

881 commits

Author SHA1 Message Date
Joshua Sherman
25a2493946 Added services 2014-01-13 01:50:54 -05:00
Joshua Sherman
d289d592ff Added new dependencies to the travis config.
Memcache, memcached and redis have to be loaded to be able to test.
2014-01-13 01:44:23 -05:00
Joshua Sherman
f160daabe7 Whoops, duped a class before commiting 2014-01-13 01:41:09 -05:00
Joshua Sherman
35d03eb719 Finished up session class rework and testing 2014-01-13 01:39:14 -05:00
Joshua Sherman
f1ecc27029 Ripped out the MySQL session handling
Write heavy operations like sessions fare much better in Redis or (sic)
Memcache[d] so I've dropped support for MySQL sessions entirely.
2014-01-13 01:06:07 -05:00
Joshua Sherman
097911a667 Added validation class testing and fixed some bugs
Amazing that there were as many bugs in there as there were.
2014-01-13 00:24:17 -05:00
Joshua Sherman
9a2d593eff Reworked the database class
Got rid of all of that object bloatin’ nonsense.
2014-01-12 23:24:41 -05:00
Joshua Sherman
7fc38398eb Forgot to include these. 2014-01-12 22:06:34 -05:00
Joshua Sherman
10a05a0a06 Added just enough tests to get all code analyzed
Coverage testing wasn't analyzing files that weren't touched at all. All files
are now included with the exception of the Database files that I'll be
consolidating soon into a single class (no reason to have so many classes
touched just to create a single database object). Aside from that, all classes
are now represented in the coverage report, Sad to go from 80% down to 50% but
oh well, it's for the best!
2014-01-12 22:04:51 -05:00
Joshua Sherman
6120933fce More tests and cleaned up some ancient code
It actually referenced the INI file, lolno.
2014-01-12 21:53:05 -05:00
Joshua Sherman
62133dc1ca Hacking away to get coverage up
Finished up all the low hanging fruit (working the classes I already started
that were just shy of 100% coverage). Just shy of 80% coverage at this point.
2014-01-12 18:20:30 -05:00
Joshua Sherman
38d5b503c8 Dropped debugging and fixed a typo 2014-01-12 17:05:53 -05:00
Joshua Sherman
482e4733ed Renamed the file to echo out to 2014-01-12 16:51:35 -05:00
Joshua Sherman
19566bbf5b Dropped php.ini still debugging location 2014-01-12 16:48:45 -05:00
Joshua Sherman
45e80af300 Adding my own php.ini 2014-01-12 16:45:38 -05:00
Joshua Sherman
08f24a686b More debugging. 2014-01-12 16:40:51 -05:00
Joshua Sherman
377f801c2e Moved it to the before script section (maybe?) 2014-01-12 16:38:21 -05:00
Joshua Sherman
8bbf39089f Added some debugging commands
Trying to figure out where I should be echoing the zend_extension line. On my
local system I slapped it to the bottom of the xdebug conf.d file. Unsure if
that directory and/or file even exist.
2014-01-12 16:35:20 -05:00
Joshua Sherman
796a86f969 Switched to zend_extension 2014-01-12 16:32:24 -05:00
Joshua Sherman
b43b02df83 Building the extension worked, but I didn't cd back 2014-01-12 16:28:26 -05:00
Joshua Sherman
8f3c623e5d Added php-test-helpers to the vendors directory
Seemed easier than trying to figure out how to force the prompt to accept the
unknown IP (perhaps not possible at all as it is part of SSH?). `yes` didn't
work, unfortunately.
2014-01-12 16:25:52 -05:00
Joshua Sherman
ebc9b7fb38 Added yes to command 2014-01-12 16:22:04 -05:00
Joshua Sherman
2357469d5b Added manual install steps
Seems the PECL version of test-helpers isn't up to date. Had to compile it
manually locally and evidently have to do the same on travis-ci until pecl is
updated.
2014-01-12 16:17:55 -05:00
Joshua Sherman
984dfe66cc Added pecl install of test-helpers 2014-01-12 16:13:48 -05:00
Joshua Sherman
8db383601e More tests and 100% coverage achievements!
Also fixed a few minor bugs and reworked Browser class to not use the constant
UNIT_TESTING so I could get the class to 100% coverage. Adds a dependency of
testing_helpers which I believe is available on Travis CI by default. Up to 75%
coverage, w00t w00t!
2014-01-12 16:09:48 -05:00
Joshua Sherman
faaefc1b82 Getting coverage to 100% on these classes
Also found a bug in the Form class that would bork phone numbers with dashes in
them. Even though the Form class is going to go away eventually I wanted to fix
the issue.
2014-01-12 13:56:52 -05:00
Joshua Sherman
5ef3b58f53 Test for img parameters 2014-01-11 19:44:55 -05:00
Joshua Sherman
f9a3311087 More tests for the Gravatar class
Trying to cover all of the bases.
2014-01-11 19:37:47 -05:00
Joshua Sherman
74611b9e74 Added test against alternate default URL 2014-01-11 19:33:34 -05:00
Joshua Sherman
36d86100f9 Fixed up a conditional, added a new Distance test. 2014-01-11 19:19:07 -05:00
Joshua Sherman
2fe3f68fe5 Dropped unnecessary tests 2014-01-11 19:13:34 -05:00
Joshua Sherman
5d7f3a0e5a Added an injectable endpoint
Allows for injecting endpoints to simulate poor responses while still testing
the responses from the actual endpoint.
2014-01-11 19:07:29 -05:00
Joshua Sherman
abe73f66a4 Added better test coverage to the AYAH class 2014-01-11 18:41:27 -05:00
Joshua Sherman
549abca8df Expanded File class testing
Shooting for 100%!
2014-01-11 18:28:14 -05:00
Joshua Sherman
9f3ec38d1a Dropped API Common class
The class didn't provide any value and promised that it would in the future.
Any sort of redundant connection logic should simply be contained in a class
that can be extended and not an API-centric common class. Trying to move away
from all common classes in favor of classes that can be reused in different
parts of the core as well as outside of it.
2014-01-11 18:07:50 -05:00
Joshua Sherman
771c2b59b1 Thinking I got the path worked out 2014-01-11 17:56:29 -05:00
Joshua Sherman
8b04815db6 Fixed path in the command
Had it working on the CLI, forgot to put it into the config
2014-01-11 17:50:43 -05:00
Joshua Sherman
d2cf41ce3b Sorta got it working locally, fingers crossed! 2014-01-11 17:48:35 -05:00
Joshua Sherman
205c0cb0cf More tweakin’ 2014-01-11 17:32:24 -05:00
Joshua Sherman
b838f05ac5 Debugging like a boss 2014-01-11 17:29:29 -05:00
Joshua Sherman
4b12aca2f8 Trying to figure out the pwd 2014-01-11 17:26:43 -05:00
Joshua Sherman
5793db4ce0 Added that ./ 2014-01-11 17:09:41 -05:00
Joshua Sherman
fba57ebeab Yet again... 2014-01-11 16:58:24 -05:00
Joshua Sherman
41a61a4f70 Dropped src, added badges to README 2014-01-11 16:50:25 -05:00
Joshua Sherman
bd143696cb Just trying shit at this point... 2014-01-11 16:46:21 -05:00
Joshua Sherman
972c9087f7 Trying the same in the travis config 2014-01-11 16:41:12 -05:00
Joshua Sherman
028d0ec486 Added ../../ to the src path
Thinking since the src path seems to be relative to the coveralls binary that
I need to go up a few directories to find my src code.
2014-01-11 16:33:51 -05:00
Joshua Sherman
b3c70ecdec Last one, I swear 2014-01-11 16:30:53 -05:00
Joshua Sherman
dcee9e748a More .composers left over 2014-01-11 16:29:09 -05:00
Joshua Sherman
f8d44618d2 Fixed composer path in bootstrap 2014-01-11 16:25:41 -05:00