Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1F0710F1C for ; Mon, 12 Aug 2013 21:10:22 +0000 (UTC) Received: (qmail 51652 invoked by uid 500); 12 Aug 2013 21:10:22 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 51554 invoked by uid 500); 12 Aug 2013 21:10:22 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 51546 invoked by uid 99); 12 Aug 2013 21:10:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Aug 2013 21:10:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [209.85.216.180] (HELO mail-qc0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Aug 2013 21:10:14 +0000 Received: by mail-qc0-f180.google.com with SMTP id j10so3694959qcx.39 for ; Mon, 12 Aug 2013 14:09:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:content-type:to:date:subject:mime-version :content-transfer-encoding:from:message-id:user-agent; bh=6mPGnoirZ5JCUHyxKOui3JHpJnuJt+3rOrMLpfpIjhk=; b=YtfOcqSaeI5mYG+ylazEWHMrZw+d1/sr0gtWhJXqnPuXMgCeEJAl+4I5Yz2GkUVufq PC5uxqMV0KPxTLWvqz0xCM62mXIUIVUtpnw4W8j5HrGqXavnxntL1aJE7BJf16yDqYjK 9WjUq8tbp5jF0JNNQqaaUZPtMOTrSCXy1rczKOG9bO+lEhT7mJpNZhb/y7Xtsuxe4G+l 5GQ2qLZTB7NaAKZKISYXxdfkxDrExN4eUzGlGu89XoGtF/Da5Mv0m2FKHKK2eWQE4fNX hPvrdJIGdzHDFZR3nf8qBOshxMrZ6bO/bQn5SZRkHIsu63kiZWUDyszoqwkT27DcleuB 0NtA== X-Gm-Message-State: ALoCoQmWmbjLfF4UNr2icYS7Qp2ZzH7uiYW6i8UgxxHaJX1ntjP8ueVQubIgBYisAUp49AV17I6w X-Received: by 10.49.42.103 with SMTP id n7mr1082036qel.75.1376341773604; Mon, 12 Aug 2013 14:09:33 -0700 (PDT) Received: from eckenfels02.seeburger.de (HSI-KBW-078-042-024-034.hsi3.kabel-badenwuerttemberg.de. [78.42.24.34]) by mx.google.com with ESMTPSA id x2sm7503654qat.8.2013.08.12.14.09.32 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 12 Aug 2013 14:09:33 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: dev@commons.apache.org Date: Mon, 12 Aug 2013 23:09:31 +0200 Subject: [VFS] Skipped Tests and missing test-data while implementing own provider MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Bernd Eckenfels" Message-ID: User-Agent: Opera Mail/12.16 (Win32) X-Virus-Checked: Checked by ClamAV on apache.org Hello, in my new VFS2 Providers I managed to use the abstract testing framework from the org.apache.commons:commons-vfs2:tests package. However I have two problems with that. First of all, I am not sure how to provide the local test-data directory based on the Apache JAR file. Right now I have checked in the src/test/resources/test-data/ directory in my project, but I want to avoid this. Secondly, some of the tests require quite a lot of capabilities. I noticed that because my Provider passed all the tests but was not yet finished. For example I dont have LIST_CHILDREN (yet) which skips all the ProviderWriteTests. There really should be more fine grained tests. (I noticed some commented out code to print the skiped tests, should we maybe enable that with a property so you can use it in your own providers to check the amount of skiped tests?) I had a look at JUnit, but it seems not to bee too easy to dynamically mark a test skipped (I would have expected a specual exception). We would have to provide a special runner. What are you thinking? Gruss Bernd PS: sorry for all those mails :) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org