SimpleTest's Changelog

SimpleTest's Changelog

# version1.1.0 SimpleTest Version 1.1.0

Changing the TODO to reflect the "maintenance mode"
New architecture pour SimpleTest's packages
Bug 3385457 : "invalid cookie host on redirect page" submitted by transkontrol
Bug 3433847 : "addTest() should be add()" submitted by ZermattChris
Bug 3420857 : "Restore working directory inside the shutdown function"
Bug 3312248 : Erreur de traduction (fr) - Sessions -- by jonathan74
Getting the translations back in shape (french and italian)
Supressed error due to warning about mutating an array while in the sorting process
Removing long out-of-date scripts that don't work anymore
Adding PEAR2 package.xml for alpha deployment to simpletest.pearfarm.org channel
Patch 2896044 : browser/submitFormById additional form parameters support - submitted by Vasyl Pasternak ( vasylp )
Patch 3136975 : Unset $context->test between calls to SimpleTestCase->run
Bug 2890622 : Please remove trailing whitespace from code - submitted by daniel hahler ( blueyed )
Bug 2896575 : WebTestCase::assertTrue: empty $message - patch submitted by daniel hahler (blueyed)
Bug 2798170 : Changing assertIsA to user is_*() instead of gettype()
Removing arguments dependency
Adding docblock for phpdoc api documentation
Patch 2895861 : SimpleUrl: keys in query string need to get urldecoded, too (submitted by daniel hahler - blueyed)
Patch 2914321: Fix action when submitting GET forms (remove request) (submitted by blueyed)
Adding a command line parser as part of making the command line much more flexible
Moving recorder from extensions to core
Fixes for PHP 5.3.1
Fixed textarea glitch with Tidy parser. Tidy parser now default
Bug 2881793 : fixing typo in globals reference
Adding support for PUT / DELETE requests
Bug 2849129 : Correcting the "wrong style on simpletest.org"
Adding italian translation
Small performance optimisation to normalise() function. Its called a lot in the parser, so worth speeding up.
Rename get/setPageBuilders() to get/setParsers()
Put in setting switch on simpletest to allow parser selection.
Start putting in switch to allow optional use of HTML tidy based parser
Fix MemberExpectation for php5.2
Switched IdenticalExpectation message to using reflection to list properties. Otherwies the member names get screwed.
IdenticalExpectation now includes comparisons on private members
SimplePage is now just a data holder after moving temporary parsing state to SimlePageBuilder. All part of adding a flex point to accept alternate parsers.
Making sure we use "autorun.php" all the time
Bug : autorun should set the exit status to 0 if tests pass.
Added ability to ignore irrelevant exceptions left over at the end of a test
Replacing "assertWantedPattern" by "assertPattern"
Removing the "$test->addTestFile()" : it's been deprecated in favor of "$test->addFile()"
Removing the "$test->addTestCase()" : it's been deprecated in favor of "$test->addTest()"
Removing the "$mock->setReturnReference()" : it's been deprecated in favor of "$mock->returnsByReference()"
Removing the "$mock->setReturnValue()" : it's been deprecated in favor of "$mock->returns()"

# version1.0.1 SimpleTest Version 1.0.1

Whitespace clean up
Some in line documentation fixes
Adding the JUnitReporter as an extension to SimpleTest (work by Patrice Neff)
New support page for Screencasts
Synchronizing the french translation.
Unit tests working for PHP 5.3
Fix segfault with Zend Optimizer v3.2.2 (probably)
Adding some tags to help synchronise the docs
Add support for E_DEPRECATED
SimpleFileLoader::load: fix for $test_file already included, by daniel hahler - blueyed
New tests for UTF8 inside the browser.
"Update FormTesting tutorial page for hidden fields" submitted by David Heath - dgheath
Moving around the extensions : /ui is now deprecated, /extensions is holding all extensions, /test/extensions is holding all extensions' test suites
Fixing one of the incompatible interface errors
Let choose which field of the same name to set
Clearing fatal error when throwing in a tearDown
Avoid a fatal error in assertLink (when the link with a label does not exists in a page) submitted by German Rumm - german.rumm AT gmail.com
CssSelector chokes on single-quotes
clickImageByID not working : just updating the documentation
html special chars in links
decodeHtml does not decode some entities (based on patch provided by Quandary - ai2097)
Radio buttons not working when set as integer
Missing return value
Inner links inside documentation for "simpletest.org" now work with *.html
Hostname extracted incorrectly from URIs containing @ sign
assertWantedText matches javascript source code
SimpleUrl doesn't appear to handle path after filename
remove call-time reference - its declared in the constructor, so that's enough
Adding error throwing to mocks
Added PHP4 patches for new mock code
Added filter that rewrites paths to included files in tests... now just need to clean up all the hardcoded path references in the existing tests and we should be able to make a start on building an extension layout that's compatible with PEAR installer *and* manual tar/zip extraction
Add in default wrap to catch all 'verify' methods and wrap them in assertTrue
Recursive forms fails
SimpleFileLoader::selectRunnableTests(..) not only marks abstract classes as ignored but filters them as well
renaming SimpleReflection::_isAbstractMethodInParent() into _isAbstractMethodInParents() and making it check upwards if method was declared somewhere abstract not just in the immediate parent, this allows to avoid ugly 'must be compatible' error in PHP5
switch to Subversion (SVN)
autorun
browser base tag support
expectException()
proper skip facility
greater formatting control in the reporters
various mock object compatibility fixes
Changelog for version 1.0.1
SimpleTest project page on SourceForge. The developer's API for SimpleTest gives full detail on the classes and assertions available.
software development, php programming for clients, customer focused php, software development tools, acceptance testing framework, free php scripts, log in boxes, unit testing authentication systems, php resources, HTMLUnit, JWebUnit, php testing, unit test resource, web testing, HTTP authentication, testing log in, authentication testing, security tests