Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73696 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10154 invoked from network); 15 Apr 2014 09:25:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Apr 2014 09:25:08 -0000 Authentication-Results: pb1.pair.com header.from=sebastian@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sebastian@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 93.190.64.237 as permitted sender) X-PHP-List-Original-Sender: sebastian@php.net X-Host-Fingerprint: 93.190.64.237 mail-1.de-punkt.de Received: from [93.190.64.237] ([93.190.64.237:56670] helo=mail-1.de-punkt.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/C1-27880-2FAFC435 for ; Tue, 15 Apr 2014 05:25:08 -0400 Received: from localhost (localhost [127.0.0.1]) by mail-1.de-punkt.de (Postfix) with ESMTP id 2B0403A89D for ; Tue, 15 Apr 2014 11:25:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail-1.de-punkt.de Received: from mail-1.de-punkt.de ([127.0.0.1]) by localhost (mail-1.de-punkt.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iVsSkaYlTYMv for ; Tue, 15 Apr 2014 11:25:04 +0200 (CEST) Received: from [192.168.178.24] (p4FC7D337.dip0.t-ipconnect.de [79.199.211.55]) (Authenticated sender: php@sebastian-bergmann.de) by mail-1.de-punkt.de (Postfix) with ESMTPSA id A69413A372 for ; Tue, 15 Apr 2014 11:25:03 +0200 (CEST) Message-ID: <534CFAEF.6090902@php.net> Date: Tue, 15 Apr 2014 11:25:03 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: internals@lists.php.net References: <534C2133.8010402@sugarcrm.com> <534C3681.6030201@php.net> <534CF1FB.30706@anderiasch.de> In-Reply-To: <534CF1FB.30706@anderiasch.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] keeping unit tests green From: sebastian@php.net (Sebastian Bergmann) Am 15.04.2014 10:46, schrieb Florian Anderiasch: > If > https://github.com/php/php-src/blob/master/ext/standard/tests/strings/bin2hex.phpt > (and most of the other function tests) is not a unit test I'm not sure > how you would set the requirements. A PHPT test is a PHP script that is executed using the PHP interpreter. This constitutes an integration test. A unit test would be a test that is written in C that exercises a single C unit of code in isolation from the rest of the interpreter.