openhub.net
Black Duck Software, Inc.
Black Duck Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
Forums
Z
zend_phpunit_fixtures
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Inactive
Commits
: Listings
Analyzed
about 1 hour
ago. based on code collected
about 10 hours
ago.
May 03, 2023 — May 03, 2024
Showing page 6 of 13
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
Default config settings, need to change DB credentials or create user with currently typed settings.
yomi
More...
over 15 years ago
Buggy zend setup, now rectified, for some reason inital xml causes issues.
nadjaha
More...
over 15 years ago
Missed in previous refactoring phase. Now using setup instead of setupTable in our fixture
yomi
More...
over 15 years ago
Refactored to use setup instead of setupTable, was missed in initial refactoring phase.
yomi
More...
over 15 years ago
Modified package doc block, now called Zend_PHPUnit_Scaffolding, subpackages will be the name of the actual class, with test cases being the exception, they will all belong to Zend_Test_
yomi
More...
over 15 years ago
Refactored PHPUnit_Fixture to now retrieve the timezone from a configuration file, also refactored the way it handles the configuration files, which is no longer hard coded. Added static method to TestConfigSettings to allow us to get a config path using the location & filename, have also refactored setupConfig & setupConfigEnv so that they take $path & $file. Also added new static method setupTimeZone, which deals with our tmz specifically.
yomi
More...
over 15 years ago
Removed classes, seeing as they are no longer needed within the framework.
yomi
More...
over 15 years ago
Refactored DataTypeChecker dataIsA to DataIsA class, which makes more sense, refactored PHPUnit_Fixture to reflect changes. FixturesManager, cleaned up and refactored to run smoother.
yomi
More...
over 15 years ago
General house keeping, cleaned up documentation as well as doc blocks.
yomi
More...
over 15 years ago
set FixturesManager::_constructInsertQuery to protected. Refactored PHPUnit_Fixture_DB::setTableName to setName & refactored related test cases to reflect changes (DevelopmentHandlerTest & FixtureDBTest). Added wrapper method for FixturesManager::_constructInsertQuery within FixturesManagerTest so we could test its functionality.
yomi
More...
over 15 years ago
Refactored to reflect changes made to the way the CRUD is handled. We are now using FixtureManager::fixtureMethodCheck() to deal with the CRUD functionality. This allows PHPUnit_Fixture_DB & DevelopmentHandler to use the same interface & alot less code. Removed AnotherFixture, seeing as that particular test is now specific to FixtureManager, test is now housed within FixturesManagerTest.
yomi
More...
over 15 years ago
Refactored build & populate methods, were both simular so created a private method to deal with the simularities.
yomi
More...
over 15 years ago
DataTypeChecker: General house keeping. Changed the rest to reflect refactoring to FixturesManager, which we refactoring both getTableName & getTableFields, removing the 'Table' text from each method.
yomi
More...
over 15 years ago
Removed print_r method, not needed any more.
yomi
More...
over 15 years ago
PHPUnit_Fixture: Added assertion to testRetrieveTestDataResultsReturnsArrayAndIdsAreNotNull as this was we were getting our previous error. Found error, for some reason with E_NOTICE not set DataTypeChecker was not storing data in our PHPUnit_Fixture::$_result, so we have created an accessor (setResult) which now deals with all this. DataTypeChecker: Refactored to use PHPUnit_Fixture::setResult, which will resolve our previous issue.
yomi
More...
over 15 years ago
Added a couple of tests to find out why Chris is experiencing issues with the scaffolding, seems unique to his system, so need to look into.
yomi
More...
over 15 years ago
Added extra message for PDO errors in destructor.
yomi
More...
over 15 years ago
An exception is thrown if user does not setup a DB before running a test, now catching.
yomi
More...
over 15 years ago
TestFixture: changed properties to protected as needed. DataTypeChecker: changed if/else clause to switch statement. DevelopmentHandler: removed if clause in populate which checks that table exists. FixturesManager:Added dropTable method to drop a single table. refactored dropTables to use this. PHP_Fixture_DB: Cleaned interface, removed postfix Table as not really needed. *Test.php: Refactored to reflect changes made in FixturesManager, now using cleaner interface.
yomi
More...
over 15 years ago
Added testcase for DevelopmentHandler
yomi
More...
over 15 years ago
Cleaned up DevelopmentHandler's implementations. Added a populate method, which we'll use to populate or development DB, we effectively copied this from FixtureManager, which isnt ideal. So we'll need to refactor later.
yomi
More...
over 15 years ago
Added test case for DevelopmentHandler, which is used to create our development database, using our PHPUnit_Fixture_DB class to dynamically build our tables.
yomi
More...
over 15 years ago
Added new class DevelopmentHandler, which will be used to help create DB tables on the fly for us when we need to manually test our code. Zend_Db require a table present, so to alleviate the process, we can use this class to automatically generate our tables for us.
yomi
More...
over 15 years ago
Have refactored so we can initialise FixtureManager with a defined environment, this saves us from having to reinstantiate a DB instance as well as making our FixtureManager more flexible.
yomi
More...
over 15 years ago
Refactored along with PHPUnit_Fixture_DB, all DB related fixtures are now using PHPUnit_Fixture_DB. Added test case for class aswell as cleaned up FixtureTest which housed the original test case.
yomi
More...
over 15 years ago
General house keeping.
yomi
More...
over 15 years ago
Added method to allow us to determine which DB config environment we want to initialise
yomi
More...
over 15 years ago
Added to deal with DB centric fixture functionality, PHPUnit_Fixture was had way too many methods & makes sense to refactor the DB central functionality, allowing us to choice whether to use a DB or not when using test data.
yomi
More...
over 15 years ago
removed non-essential files.
yomi
More...
over 15 years ago
General housekeeping, removed no longer needed todo's and added commenting. Also set fixtures to null on teardown.
yomi
More...
over 15 years ago
←
1
2
3
4
5
6
7
8
9
10
11
12
13
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree