From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 21 15:50:30 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C799C16A4CF for ; Sat, 21 Aug 2004 15:50:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B066443D55 for ; Sat, 21 Aug 2004 15:50:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7LFoUAh045560 for ; Sat, 21 Aug 2004 15:50:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7LFoUl8045559; Sat, 21 Aug 2004 15:50:30 GMT (envelope-from gnats) Resent-Date: Sat, 21 Aug 2004 15:50:30 GMT Resent-Message-Id: <200408211550.i7LFoUl8045559@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gerrit Beine Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CBEC16A4CE for ; Sat, 21 Aug 2004 15:44:38 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C52D43D31 for ; Sat, 21 Aug 2004 15:44:38 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i7LFibR2073304 for ; Sat, 21 Aug 2004 15:44:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i7LFibvt073303; Sat, 21 Aug 2004 15:44:37 GMT (envelope-from nobody) Message-Id: <200408211544.i7LFibvt073303@www.freebsd.org> Date: Sat, 21 Aug 2004 15:44:37 GMT From: Gerrit Beine To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/70775: New port: devel/simpletest X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2004 15:50:30 -0000 >Number: 70775 >Category: ports >Synopsis: New port: devel/simpletest >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: Sat Aug 21 15:50:30 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Gerrit Beine >Release: FreeBSD 5.2.1-RELEASE-p9 >Organization: gerrit.beine@pitcom.de >Environment: FreeBSD asus.intern.beine-computer.de 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #2: Sat Aug 14 15:32:41 CEST 2004 root@asus.intern.beine-computer.de:/usr/src/sys/i386/compile/ASUS i386 >Description: Simpletest is another unit testing framework for PHP. It supports mock objects, server stubs and web formular tests. It also contains a PHPUnit adapter pattern. >How-To-Repeat: >Fix: # 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: # # simpletest/ # simpletest/Makefile # simpletest/distinfo # simpletest/pkg-descr # simpletest/pkg-plist # echo c - simpletest/ mkdir -p simpletest/ > /dev/null 2>&1 echo x - simpletest/Makefile sed 's/^X//' >simpletest/Makefile << 'END-of-simpletest/Makefile' X# Ports collection makefile for: simpletest X# Date created: 21 August 2004 X# Whom: Gerrit Beine () X# X# $FreeBSD:$ X# X XPORTNAME= simpletest XPORTVERSION= 1.0beta6 XCATEGORIES= devel www XDISTNAME= php_simple_test_${PORTVERSION} XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= tux@pinguru.net XCOMMENT= SimpleTest is a testing framework built around test case classes X XWRKSRC= ${WRKDIR}/${PORTNAME} XNO_BUILD= yes XUSE_PHP= yes X X.if !defined(NOPORTDOCS) XPORTDOCS= HELP_MY_TESTS_DONT_WORK_ANYMORE LICENSE README VERSION X.endif X Xdo-install: X @${MKDIR} ${DATADIR} X @${CP} -r ${WRKSRC}/*.php ${DATADIR} X @${CP} -r ${WRKSRC}/extensions ${DATADIR} X.if !defined(NOPORTDOCS) X @${CP} -r ${WRKSRC}/test ${DATADIR} X @${MKDIR} ${DOCSDIR} X @for file in ${PORTDOCS}; do \ X ${CP} ${WRKSRC}/$${file} ${DOCSDIR}; \ X done X @${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR} X.endif X X.include END-of-simpletest/Makefile echo x - simpletest/distinfo sed 's/^X//' >simpletest/distinfo << 'END-of-simpletest/distinfo' XMD5 (php_simple_test_1.0beta6.tar.gz) = c11201d7b837c0ff57d18fe5750c5335 XSIZE (php_simple_test_1.0beta6.tar.gz) = 146049 END-of-simpletest/distinfo echo x - simpletest/pkg-descr sed 's/^X//' >simpletest/pkg-descr << 'END-of-simpletest/pkg-descr' XSimple Test for PHP XThe heart of SimpleTest is a testing framework built around test case classes. XThese are written as extensions of base test case classes, Xeach extended with methods that actually contain test code. X XIt is a useful replacement for PEAR PHPUnit. XSee the feature list for more information: X XFeature Description XUnit test case Core test case class and assertions XHtml display Simplest possible display XAutoloading of test cases X Reading a file with test cases and loading them into a group test automatically XMock objects code generator X Objects capable of simulating other objects removing test dependencies Done XServer stubs Mocks without expectations to be used outside of test cases, e.g. for prototyping XIntegration of other unit testers X The ability to read and simulate test cases from PHPUnit and PEAR::PhpUnit XWeb test case Basic pattern matching of fetched pages XHTML parsing of pages X Allows link following and title tag matching XPartial mocks Mocking parts of a class for testing less than a class or for complex simulations XWeb cookie handling X Correct handling of cookies when fetching pages XFollowing redirects X Page fetching automatically follows 300 redirects XForm parsing Ability to submit simple forms and read default form values XCommand line interface X Test display without the need of a web browser XExposure of expectation classes X Can create precise tests with mocks as well as test cases XXML output and parsing X Allows multi host testing and the integration of acceptance testing extensions XCommand line test case X Allows testing of utilities and file handling XPHP Documentor compatibility X Fully generated class level documentation XBrowser interface X Exposure of lower level web browser interface for more detailed test cases XHTTP authentication X Fetching protected web pages with basic authentication only XBrowser navigation buttons X Back, forward and retry XSSL support Can connect to https: pages XProxy support Can connect via. common proxies X XWWW: http://www.lastcraft.com/simple_test.php X END-of-simpletest/pkg-descr echo x - simpletest/pkg-plist sed 's/^X//' >simpletest/pkg-plist << 'END-of-simpletest/pkg-plist' X%%DATADIR%%/errors.php X%%DATADIR%%/options.php X%%DATADIR%%/runner.php X%%DATADIR%%/dumper.php X%%DATADIR%%/expectation.php X%%DATADIR%%/socket.php X%%DATADIR%%/url.php X%%DATADIR%%/http.php X%%DATADIR%%/authentication.php X%%DATADIR%%/user_agent.php X%%DATADIR%%/browser.php X%%DATADIR%%/parser.php X%%DATADIR%%/tag.php X%%DATADIR%%/frames.php X%%DATADIR%%/page.php X%%DATADIR%%/remote.php X%%DATADIR%%/reporter.php X%%DATADIR%%/mock_objects.php X%%DATADIR%%/simple_test.php X%%DATADIR%%/unit_tester.php X%%DATADIR%%/web_tester.php X%%DATADIR%%/shell_tester.php X%%DATADIR%%/xml.php X%%DATADIR%%/extensions/pear_test_case.php X%%DATADIR%%/extensions/phpunit_test_case.php X%%DATADIR%%/test/all_tests.php X%%DATADIR%%/test/unit_tests.php X%%DATADIR%%/test/acceptance_test.php X%%DATADIR%%/test/errors_test.php X%%DATADIR%%/test/options_test.php X%%DATADIR%%/test/dumper_test.php X%%DATADIR%%/test/expectation_test.php X%%DATADIR%%/test/adapter_test.php X%%DATADIR%%/test/socket_test.php X%%DATADIR%%/test/url_test.php X%%DATADIR%%/test/http_test.php X%%DATADIR%%/test/authentication_test.php X%%DATADIR%%/test/user_agent_test.php X%%DATADIR%%/test/browser_test.php X%%DATADIR%%/test/parser_test.php X%%DATADIR%%/test/tag_test.php X%%DATADIR%%/test/frames_test.php X%%DATADIR%%/test/page_test.php X%%DATADIR%%/test/remote_test.php X%%DATADIR%%/test/simple_mock_test.php X%%DATADIR%%/test/visual_test.php X%%DATADIR%%/test/shell_test.php X%%DATADIR%%/test/shell_tester_test.php X%%DATADIR%%/test/xml_test.php X%%DATADIR%%/test/live_test.php X%%DATADIR%%/test/real_sites_test.php X%%PORTDOCS%%%%DOCSDIR%%/index.html X%%PORTDOCS%%%%DOCSDIR%%/overview.html X%%PORTDOCS%%%%DOCSDIR%%/unit_test_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/group_test_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/reporter_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/server_stubs_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/mock_objects_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/partial_mocks_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/expectation_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/web_tester_documentation.html X%%PORTDOCS%%%%DOCSDIR%%/form_testing_documentation.html X@dirrm %%DATADIR%%/test X@dirrm %%DATADIR%%/extensions X@dirrm %%DATADIR%%/ X END-of-simpletest/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: