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 21453200C32 for ; Thu, 9 Mar 2017 20:52:21 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1FCBB160B5F; Thu, 9 Mar 2017 19:52:21 +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 6B541160B75 for ; Thu, 9 Mar 2017 20:52:20 +0100 (CET) Received: (qmail 2890 invoked by uid 500); 9 Mar 2017 19:52:19 -0000 Mailing-List: contact user-help@predictionio.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@predictionio.incubator.apache.org Delivered-To: mailing list user@predictionio.incubator.apache.org Received: (qmail 2880 invoked by uid 99); 9 Mar 2017 19:52:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2017 19:52:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 160A21A0273 for ; Thu, 9 Mar 2017 19:52:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.12 X-Spam-Level: X-Spam-Status: No, score=-0.12 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=heroku.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id IrUTRJGQSnbE for ; Thu, 9 Mar 2017 19:52:17 +0000 (UTC) Received: from mail-pg0-f49.google.com (mail-pg0-f49.google.com [74.125.83.49]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 9E9F95FBC1 for ; Thu, 9 Mar 2017 19:52:16 +0000 (UTC) Received: by mail-pg0-f49.google.com with SMTP id g2so12578011pge.3 for ; Thu, 09 Mar 2017 11:52:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heroku.com; s=google; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=Qvex+hQiLnrGzpGcZACjhWrN9AbX2JSwr/bkdyoEmAA=; b=x1FhP5x/a0CFfpGlJDjwiVL8qRh/St7ualBznxmWr1nhWKrxEwaKxD8ACDnSd7CokS IrSMpp1ee66DvncB6fS9iec9RZvKkK3oTOZpIwXSoQs+OOgYFfvOYI6fyzSvBeFus2L2 BtDvshr5ZwGkHzO3twzS9pi/HvHGP48tmPGbd5H8xxg8t0y0UOOHbDrVzeTBmp4FH5hl Pw+CHuHFeCEzMW8CeTFgoBhXBFjZVXWyUoAiyxjr05n0uNe7dDTD8dkFTUdiw8zw3A84 ++O36eBPquufxhKPIuiEcenOBnYeHz/94oqu/XywV8yLQaKM/CcY15F0qj0L3bIG0vMG LDUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=Qvex+hQiLnrGzpGcZACjhWrN9AbX2JSwr/bkdyoEmAA=; b=ABowbU59pY6sytvqam3TPcOjbnAVDvMZKbW1BdFyIWx4Z4Mdf5HoKHT2VuDqPg7WF3 6NWOHkRvHRxr/MToNFDZ5ldMOtoqTB4GzxD+KWhI1wJQS6cCy7vb7qn4UjdDkMC/epOC UMLFQ3tZ+XgN1//IslDwfOnA6d20UT44midzJ8ig8X2myDQbGHxZ1kzUL8+IMPMa/2E/ wPmrP71XjamOHiLd3GBqJ/fD1WBb2x285agbesW4WHmqG7d9jMCNph9/lCWYs6jppt9P ckQkg+t3XNvyy20X0fEE0OQeND3IVJe8/mV2FEw0nm7hLrMj3aIAJHmN20yJDn7YnBwJ 1xEA== X-Gm-Message-State: AMke39nQV8hFik/MWCXidhApRIltHVVsSGQs8DTu3IQQa467uYFuJUVR4G6bq3PK52GQJnkz X-Received: by 10.84.217.133 with SMTP id p5mr19611109pli.164.1489087809977; Thu, 09 Mar 2017 11:30:09 -0800 (PST) Received: from [10.0.1.17] (c-50-174-42-77.hsd1.ca.comcast.net. [50.174.42.77]) by smtp.gmail.com with ESMTPSA id s64sm14054077pfe.10.2017.03.09.11.30.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2017 11:30:09 -0800 (PST) From: Mars Hall Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Testing DataSource Message-Id: <2872C950-D8D4-4624-B740-353D583B9934@heroku.com> Date: Thu, 9 Mar 2017 11:30:08 -0800 To: user@predictionio.incubator.apache.org X-Mailer: Apple Mail (2.3259) archived-at: Thu, 09 Mar 2017 19:52:21 -0000 Have any of you ever written tests for DataSource? Any recommendations on how to handling seeding test data into the event = storage or wrapping test runs in transactions to clean any changes = between each test? context: = https://github.com/apache/incubator-predictionio-template-skeleton/pull/5 *Mars Hall Customer Facing Architect Salesforce App Cloud / Heroku San Francisco, California