- Resolved [#37] Added
phpunit:load-fixture
task.
- JPUP now requires PHPUnit 3.6.6.
- Added
--stop-on-fail
option to runner tasks.
- Added alias
phpunit:func
forphpunit:functional
. - Added
Test_Case_Functional->assertFormIsValid()
and->assertFormIsNotValid()
. - Fixed irritating "can't set headers - output already sent" when error occurs during browser context initialization in functional tests (usually caused by browser listeners).
- Clear table identity maps when flushing the database.
- Minor bug fixes in
Test_Browser->genUrl()
. - Removed
package.xml.tmpl
. - Added notice for symfony-project.org visitors to
README.md
; the version of JPUP on Symfony's website is horribly out-of-date, and it is likely to remain that way for quite some time. - Added strategies for enhancing performance and memory usage in
INSTALL.md
.
- Resolved [#16] Automatically set and create expected uploads directory before running tests.
Test_Browser->genUrl()
now removes default path prefix more reliably.- Auto-detect test files whose filename ends with
.test.php
.
- Resolved [#7] Provide full path to settings.yml file when misconfiguration is detected.
- Allow passing route names and parameter arrays to
Test_Browser->call()
. - Require
no_script_name
to be true before running functional tests.
- [#33] Added
Test_Case->runTask()
.
- Allow calling
loadFixture($fixture, $plugin)
andloadProductionFixture($fixture, $plugin)
in test cases and PHP fixtures. Test_Browser_Plugin_Form->invoke()
now returns ansfForm
instance, added$var
argument.- Added
Test_Browser_Plugin_Var
. - Removed from API:
Test_Case->verifyTestDatabaseConnection()
. - Removed from API:
Test_Case->validateUploadsDir()
.
- Minor comment and documentation updates.
- [#1] Expanded compatibility section. There; I updated the README.
- [#3] Introduced $_plugin property for allowing a test case to configure itself for a particular plugin.
- [#3] Moved definition of
sf_fixture_dir
intoTest_Case
so that it can be modified more easily at runtime. - Resolved [#28] Implemented Test_Case->loadProductionFixture() and added plugin-specific fixture loaders for good measure.
- Refactored fixture loading so that plugin-specific and production fixtures can also be loaded from within PHP fixture files.
- Do not auto-load global fixtures anymore.
- Rewrote warning against running functional tests for multiple applications in the same test run to make it more comprehensive.
- Minor comment and documentation updates.
- JPUP no longer recognizes the
--trace
option due to incompatibilities with PHPUnit 3.6.
- Added
Test_Browser_Listener_Callback
for injecting event handlers into browser execution. - Check for
sfDoctrineGuardPlugin
before proceeding inTest_Browser->signin()
. - Set
error_reporting
automatically in some cases.
- Fixed output buffering issues with PHPUnit 3.6 once and for all.
- Better formatting of
assertStatusCode()
failure message. - Fixed IDE warnings, added
@method
declarations for object wrappers, fixed type hinting where inaccurate. - Updated email address in
@author
tags.
- Resolved [#17] Make generating skeleton tests for inherited methods an option.
- Added support for PHPUnit 3.6, dropped support for earlier versions.
- Introduced
Test_Browser_Plugin_Logger
. - Fixed issues when trying to run tests for multiple applications in the same test run.
- If
--trace
option is provided, display full stack traces in test failure/error reports. - Log a message to
sfLogger
when the user is logged in viaTest_Browser->signin()
. - Added changelog to package.xml template.
- Resolved [#19] Need a changelog.
- Resolved [#6] Remove MySQL dependency.
- [#3]: Added --plugin option to runner tasks (generators still outstanding).
- Added
Test_Browser->signin()
. - Empty
--filter
value no longer breaks PHPUnit. - Added error/status code to
assertStatusCode()
failure message. - Added
sf_fixture_dir
sfConfig
value (needs documentation).
- Added
__toString()
handler toTest_ObjectWrapper
. - Convert parameters to strings before sending them to
sfBrowser->call()
. - Fixed typos in skeleton test case files.
- Minor documentation updates.
- Initial release.