Date: Fri, 24 Sep 2004 16:23:34 +0200 (CEST) From: Roman Neuhauser <neuhauser@chello.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/72061: [New Port] SimpleTest 1.0RC1, PHP unit testing framework Message-ID: <20040924142334.DCD7D1F87BEE@smradoch.ath.cx> Resent-Message-ID: <200409241430.i8OEUSRI022922@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 72061 >Category: ports >Synopsis: [New Port] SimpleTest 1.0RC1, PHP unit testing framework >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 24 14:30:28 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Roman Neuhauser >Release: FreeBSD 4.10-STABLE i386 >Organization: >Environment: System: FreeBSD isis.wad.cz 4.10-STABLE FreeBSD 4.10-STABLE #3: Sat Aug 7 16:06:48 CEST 2004 roman@isis.wad.cz:/usr/obj/usr/src/sys/FREEPUPPY2_6 i386 >Description: See the attached shar. SimpleTest is not exactly a PEAR package, but I have it installed in `${PHP_CONFIG} --prefix` anyway. Makes sense IMO. >How-To-Repeat: >Fix: --- devel::simpletest-1.0RC1.patch begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # devel/simpletest # devel/simpletest/Makefile # devel/simpletest/pkg-descr # devel/simpletest/distinfo # devel/simpletest/pkg-plist # echo c - devel/simpletest mkdir -p devel/simpletest > /dev/null 2>&1 echo x - devel/simpletest/Makefile sed 's/^X//' >devel/simpletest/Makefile << 'END-of-devel/simpletest/Makefile' X# Ports collection makefile for: simpletest X# Date created: 16 August 2004 X# Whom: Roman Neuhauser (<neuhauser@chello.cz>) X# X# $FreeBSD$ X# X XPORTNAME= SimpleTest XPORTVERSION= 1.0.r1 XCATEGORIES= devel XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME:L}/ XDISTNAME= php_simple_test_1.0RC1 X XMAINTAINER= neuhauser@chello.cz XCOMMENT= Unit testing, mock objects and web testing framework for PHP X XUSE_PHP= yes X XSIMPLETESTS?= unit X X.include <bsd.port.pre.mk> X XPHP_CONFIG?= ${LOCALBASE}/bin/php-config X X.if !defined(PEARDIR) && exists(${PHP_CONFIG}) X_PEARPREFIX!= ${PHP_CONFIG} --prefix X_PEARDIR= share/pear XPEARDIR= ${_PEARPREFIX}/${_PEARDIR} X.endif XWRKSRC= ${WRKDIR}/${PORTNAME:L} XPLIST_SUB+= PEARDIR="${_PEARDIR}" X.if !defined(NOPORTDOCS) XDOCS= HELP_MY_TESTS_DONT_WORK_ANYMORE LICENSE README VERSION \ X docs/expectation_documentation.html \ X docs/form_testing_documentation.html \ X docs/group_test_documentation.html \ X docs/index.html \ X docs/mock_objects_documentation.html \ X docs/overview.html \ X docs/partial_mocks_documentation.html \ X docs/reporter_documentation.html \ X docs/server_stubs_documentation.html \ X docs/unit_test_documentation.html \ X docs/web_tester_documentation.html X.endif X XTESTS= test/acceptance_test.php \ X test/adapter_test.php \ X test/all_tests.php \ X test/authentication_test.php \ X test/browser_test.php \ X test/dumper_test.php \ X test/errors_test.php \ X test/expectation_test.php \ X test/form_test.php \ X test/frames_test.php \ X test/http_test.php \ X test/live_test.php \ X test/options_test.php \ X test/page_test.php \ X test/parser_test.php \ X test/real_sites_test.php \ X test/remote_test.php \ X test/shell_test.php \ X test/shell_tester_test.php \ X test/simple_mock_test.php \ X test/socket_test.php \ X test/tag_test.php \ X test/unit_tests.php \ X test/url_test.php \ X test/user_agent_test.php \ X test/visual_test.php \ X test/web_tester_test.php \ X test/xml_test.php X XCLASSES= authentication.php browser.php dumper.php errors.php \ X expectation.php extensions/pear_test_case.php \ X extensions/phpunit_test_case.php form.php frames.php http.php \ X mock_objects.php options.php page.php parser.php remote.php \ X reporter.php scorer.php shell_tester.php simple_test.php \ X socket.php tag.php unit_tester.php url.php user_agent.php \ X web_tester.php xml.php X Xpre-patch: X ${CP} -r ${WRKSRC}/test ${WRKSRC}/test.beforeinstall X Xdo-build: X cd ${WRKSRC}/test.beforeinstall && \ X ${LOCALBASE}/bin/php -f ${SIMPLETESTS}_tests.php X Xdo-install: X ${MKDIR} ${DOCSDIR} X.for f in ${DOCS} X ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} X.endfor X ${MKDIR} ${DATADIR}/test X.for f in ${TESTS} X ${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/${f} X.endfor X ${MKDIR} ${PEARDIR}/simpletest/extensions X.for f in ${CLASSES} X ${INSTALL_DATA} ${WRKSRC}/${f} ${PEARDIR}/simpletest/${f} X.endfor X X.include <bsd.port.post.mk> END-of-devel/simpletest/Makefile echo x - devel/simpletest/pkg-descr sed 's/^X//' >devel/simpletest/pkg-descr << 'END-of-devel/simpletest/pkg-descr' XUnit testing, mock objects and web testing framework for PHP built Xaround test cases. If you know JUnit or some of the PHPUnit clones this Xwill need no explanation. It also adds JWebUnit style testing including Xcookies, authentication and form handling X XWWW: http://sourceforge.net/projects/simpletest/ END-of-devel/simpletest/pkg-descr echo x - devel/simpletest/distinfo sed 's/^X//' >devel/simpletest/distinfo << 'END-of-devel/simpletest/distinfo' XMD5 (php_simple_test_1.0RC1.tar.gz) = 00ec0a4c94e5480c15550039886248c1 XSIZE (php_simple_test_1.0RC1.tar.gz) = 155315 END-of-devel/simpletest/distinfo echo x - devel/simpletest/pkg-plist sed 's/^X//' >devel/simpletest/pkg-plist << 'END-of-devel/simpletest/pkg-plist' X%%PEARDIR%%/simpletest/authentication.php X%%PEARDIR%%/simpletest/browser.php X%%PEARDIR%%/simpletest/dumper.php X%%PEARDIR%%/simpletest/errors.php X%%PEARDIR%%/simpletest/expectation.php X%%PEARDIR%%/simpletest/extensions/pear_test_case.php X%%PEARDIR%%/simpletest/extensions/phpunit_test_case.php X%%PEARDIR%%/simpletest/form.php X%%PEARDIR%%/simpletest/frames.php X%%PEARDIR%%/simpletest/http.php X%%PEARDIR%%/simpletest/mock_objects.php X%%PEARDIR%%/simpletest/options.php X%%PEARDIR%%/simpletest/page.php X%%PEARDIR%%/simpletest/parser.php X%%PEARDIR%%/simpletest/remote.php X%%PEARDIR%%/simpletest/reporter.php X%%PEARDIR%%/simpletest/scorer.php X%%PEARDIR%%/simpletest/shell_tester.php X%%PEARDIR%%/simpletest/simple_test.php X%%PEARDIR%%/simpletest/socket.php X%%PEARDIR%%/simpletest/tag.php X%%PEARDIR%%/simpletest/unit_tester.php X%%PEARDIR%%/simpletest/url.php X%%PEARDIR%%/simpletest/user_agent.php X%%PEARDIR%%/simpletest/web_tester.php X%%PEARDIR%%/simpletest/xml.php X%%PORTDOCS%%%%DOCSDIR%%/HELP_MY_TESTS_DONT_WORK_ANYMORE X%%PORTDOCS%%%%DOCSDIR%%/LICENSE X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/VERSION X%%PORTDOCS%%%%DOCSDIR%%/expectation_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/form_testing_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/group_test_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/index.html X%%PORTDOCS%%%%DOCSDIR%%/mock_objects_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/overview.html X%%PORTDOCS%%%%DOCSDIR%%/partial_mocks_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/reporter_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/server_stubs_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/unit_test_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/web_tester_documentation.html X%%DATADIR%%/test/acceptance_test.php X%%DATADIR%%/test/adapter_test.php X%%DATADIR%%/test/all_tests.php X%%DATADIR%%/test/authentication_test.php X%%DATADIR%%/test/browser_test.php X%%DATADIR%%/test/dumper_test.php X%%DATADIR%%/test/errors_test.php X%%DATADIR%%/test/expectation_test.php X%%DATADIR%%/test/form_test.php X%%DATADIR%%/test/frames_test.php X%%DATADIR%%/test/http_test.php X%%DATADIR%%/test/live_test.php X%%DATADIR%%/test/options_test.php X%%DATADIR%%/test/page_test.php X%%DATADIR%%/test/parser_test.php X%%DATADIR%%/test/real_sites_test.php X%%DATADIR%%/test/remote_test.php X%%DATADIR%%/test/shell_test.php X%%DATADIR%%/test/shell_tester_test.php X%%DATADIR%%/test/simple_mock_test.php X%%DATADIR%%/test/socket_test.php X%%DATADIR%%/test/tag_test.php X%%DATADIR%%/test/unit_tests.php X%%DATADIR%%/test/url_test.php X%%DATADIR%%/test/user_agent_test.php X%%DATADIR%%/test/visual_test.php X%%DATADIR%%/test/web_tester_test.php X%%DATADIR%%/test/xml_test.php X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@dirrm %%DATADIR%%/test X@dirrm %%DATADIR%% X@dirrm %%PEARDIR%%/simpletest/extensions X@dirrm %%PEARDIR%%/simpletest X@unexec rmdir %D/%%PEARDIR%% 2>/dev/null || true END-of-devel/simpletest/pkg-plist exit --- devel::simpletest-1.0RC1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040924142334.DCD7D1F87BEE>