Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 89075200B6D for ; Tue, 23 Aug 2016 19:48:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8784B160AAD; Tue, 23 Aug 2016 17:48:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D0D4C160A81 for ; Tue, 23 Aug 2016 19:48:54 +0200 (CEST) Received: (qmail 98835 invoked by uid 500); 23 Aug 2016 17:48:53 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 98823 invoked by uid 99); 23 Aug 2016 17:48:53 -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; Tue, 23 Aug 2016 17:48:53 +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 27E521804D8 for ; Tue, 23 Aug 2016 17:48:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Mz8n7LrYu55M for ; Tue, 23 Aug 2016 17:48:51 +0000 (UTC) Received: from mail-qk0-f177.google.com (mail-qk0-f177.google.com [209.85.220.177]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 557AB5F39B for ; Tue, 23 Aug 2016 17:48:50 +0000 (UTC) Received: by mail-qk0-f177.google.com with SMTP id l2so114053733qkf.3 for ; Tue, 23 Aug 2016 10:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=5l3GgdklV0u2qrt2eUFKoCWtRySix5woxfJZV8pW0lw=; b=b3dYLXK/+zUq2Hzp7TehS9QezqUyZWa1nRWA0RN194HtaShoeYWcBW7hGAx3q0kZFy e3V3U5p9Tjn/RjUBoT0OKl9x4swR4BcEHMBfZObxanJg5xbZc4XfRWxRsfYUJUyD0Yoa LqGC12QWmm/3ETy5qCWMGgFuIriHyXfg4FnOIr/lS5tE36ZnrNou3BNBh4Qa3Giu5T80 jPcW4CVRTJVnjaoLoZwrnuq6wx7FLTra3oG1U3TiL4okHvzcgNmIy1eWLZs5C5LU7uO4 oXc7idqvvEXtG1Ms25PirOvzA6v0CKETRxDJJGlmZF3h9DfEzScyP7Zga/6B0H4dUsgz AVDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=5l3GgdklV0u2qrt2eUFKoCWtRySix5woxfJZV8pW0lw=; b=RJsCvcY/PbVD6adkQYRZprROA8/fQUbtMShzBVeZlWOQl+1TrzmwXXpVLuIYPY5XMH cvnxE8cdwmNE+7sV39wtLOIupgmHbEMgYvqNckXmXDMLUZOe3dsUCapuYPG8qlhb2D0Q k1X/M/cgSiw5TubJoiMHeLEiKR47ypMuQv6BMe/2giF4UI8GA7SjKaHmzar9oSxAvL/0 PF740W2nGLtemxjc1j2dxpzlXkoBiKXHxFp7GZ/rTQsRYIVE7yNtH8HVDMthC8jd0LRJ Xf6e2lBDkqXKVwf2USSMO6NQjFtHVxex6ofe8ad/iTclZctEeGNHKAlDqzphvg06DYIE cApQ== X-Gm-Message-State: AEkoouu+8cdmyT/oR7vmCjpWS1aVfJmHEWUqZLDSvkORqKauToQIYhozMJa8bcllq0BvnOTZ6oke3WptYdoSrA== X-Received: by 10.55.128.66 with SMTP id b63mr30525768qkd.69.1471974529327; Tue, 23 Aug 2016 10:48:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.18.169 with HTTP; Tue, 23 Aug 2016 10:48:08 -0700 (PDT) In-Reply-To: References: From: Shazron Date: Tue, 23 Aug 2016 10:48:08 -0700 Message-ID: Subject: Re: How to run a unit test for a plugin To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=94eb2c06654cf065ea053ac0c6fb archived-at: Tue, 23 Aug 2016 17:48:55 -0000 --94eb2c06654cf065ea053ac0c6fb Content-Type: text/plain; charset=UTF-8 In this case since its a manual test just update the existing testfile. On Tue, Aug 23, 2016 at 7:54 AM, Deshan Kalupahana < deshankalupahana@gmail.com> wrote: > It worked. Thanks. > Can I change existing tests to support my bug fix or should i write a new > file? > > On Tue, Aug 23, 2016 at 12:23 PM, Shazron wrote: > > A slower way would be to send the pull request and let the CI test it i.e > > https://github.com/apache/cordova-plugin-dialogs/pull/82 > > > > On Mon, Aug 22, 2016 at 11:50 PM, Shazron wrote: > > > >> Install cordova-paramedic from its repo url or npmjs. See > >> https://github.com/apache/cordova-paramedic > >> > >> In the root of the plugin folder: > >> cordova-paramedic --plugin . --platform windows > >> > >> On Mon, Aug 22, 2016 at 11:36 PM, Deshan Kalupahana < > >> deshankalupahana@gmail.com> wrote: > >> > >>> Hi, > >>> > >>> I'm currently working on CB-11281, a bug in windows platform to learn > >>> the code base. I fixed that. But i don't know how to unit test that. > >>> The steps in docementation with "org.apache.cordova.test-framework" is > >>> not clear. Help me to run the unit test. > >>> > >>> Thanks > >>> > >>> -- > >>> Deshan Kalupahana, > >>> Undergraduate @ University of Peradeniya, Sri Lanka > >>> linkedin.com/in/deshankalupahana > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org > >>> For additional commands, e-mail: dev-help@cordova.apache.org > >>> > >>> > >> > > > > -- > Deshan Kalupahana, > Undergraduate @ University of Peradeniya, Sri Lanka > linkedin.com/in/deshankalupahana > https://deshankalupahana.wordpress.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org > For additional commands, e-mail: dev-help@cordova.apache.org > > --94eb2c06654cf065ea053ac0c6fb--