From dev-return-82904-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Fri Sep 20 21:11:01 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 83CBA180608 for ; Fri, 20 Sep 2019 23:11:01 +0200 (CEST) Received: (qmail 92794 invoked by uid 500); 20 Sep 2019 21:11:00 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 92782 invoked by uid 99); 20 Sep 2019 21:11:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Sep 2019 21:11:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id EC927180C91 for ; Fri, 20 Sep 2019 21:10:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.801 X-Spam-Level: * X-Spam-Status: No, score=1.801 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id aTygfqQ8JzR7 for ; Fri, 20 Sep 2019 21:10:57 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::331; helo=mail-wm1-x331.google.com; envelope-from=andor@cloudera.com; receiver= Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 59C297DD54 for ; Fri, 20 Sep 2019 21:10:57 +0000 (UTC) Received: by mail-wm1-x331.google.com with SMTP id y21so3517879wmi.0 for ; Fri, 20 Sep 2019 14:10:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=W7NrFokaSTKc2Nq3Td2RRBphIPjTVmbdn1iJGtY38Ws=; b=nnHRkT7fnDsenZvI+BkrlS9QxFaqmRK0APaF+DsOz5SpFlQUlfMt+Z1kSKGW7RU8vR DUVb+cRYeYrzlsuktn676Nj+DGn6ZdRUApH/wsCUGFx4zrSWlObKrkyKlW/IavMeqGj7 N7Yw0zRoNOa+fvCD9S4JYHGUtja94vzZc8Gx7zQ6cuuoxsotrw76ixhr9K3Q9PbghqrC mgxcAGras4NBDOm4NPXV+f5x40+LuryPE8m1jbLmKYHkyZ5NXpBuePtwggNxYtAChs+7 nPOb+YCJMCsSsPvJ0q2CM8iZt1e9Rb/aQbBqIU+RDYZGTVaXeZQevX54GUK6RsHJ8ea0 BwKA== X-Gm-Message-State: APjAAAUtbN2Z+Er6x+4VbLRv33xdn6gicllBC5TMxGofIj6m3o4YGs9f 0kx9VsnCNgygQbCZwWtHhfvy4XXCudOs254M3sXaJCBTlEs= X-Google-Smtp-Source: APXvYqx+RvZjw0Tqm83ovtyGQNO8Zoi21iy7r5igPAHnxEHIEZnGbg69x9JPZRl8ccMB2l9R0X2FYqwBc2NCW64Jchg= X-Received: by 2002:a1c:1d8d:: with SMTP id d135mr5075705wmd.7.1569013856629; Fri, 20 Sep 2019 14:10:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andor Molnar Date: Fri, 20 Sep 2019 23:10:45 +0200 Message-ID: Subject: Re: maven command to run a specific test in a test case. To: DevZooKeeper Content-Type: multipart/alternative; boundary="00000000000092accb05930281d0" --00000000000092accb05930281d0 Content-Type: text/plain; charset="UTF-8" Even better to do a quick google search: https://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html mvn -Dtest=TestCircle#mytest test Andor On Fri, Sep 20, 2019 at 11:08 PM Andor Molnar wrote: > I usually use: > > mvn verify -Dtest=bar > > Which runs the entire testcase. Not sure about how to run single test > method. > > Andor > > > > On Fri, Sep 20, 2019 at 11:05 PM Michael Han wrote: > >> In ant, we can execute a single test "foo" in a test case "bar" like this: >> >> *ant -Dtestcase=bar -Dtest.method=foo* >> >> What's the corresponding maven command? >> >> Cheers >> Michael. >> > --00000000000092accb05930281d0--