Mensagem sobre o tópico
Testes para aplicação REST
Received: by 10.210.63.18 with SMTP id l18mr231043eba.9.1246668191205;
Fri, 03 Jul 2009 17:43:11 -0700 (PDT)
Return-Path: <lkrai...@gmail.com>
Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208])
by gmr-mx.google.com with ESMTP id 13si928667ewy.2.2009.07.03.17.43.10;
Fri, 03 Jul 2009 17:43:10 -0700 (PDT)
Received-SPF: pass (google.com: domain of lkrai...@gmail.com designates 209.85.219.208 as permitted sender) client-ip=209.85.219.208;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of lkrai...@gmail.com designates 209.85.219.208 as permitted sender) smtp.mail=lkrai...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by mail-ew0-f208.google.com with SMTP id 4so1678843ewy.9
for <django-brasil@googlegroups.com>; Fri, 03 Jul 2009 17:43:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:in-reply-to:references
:from:date:message-id:subject:to:content-type
:content-transfer-encoding;
bh=BVqDFU1EF0R7AN3em3AAXSvTPxhvGR8Rhow7jdv5Uto=;
b=NQxM2rJZz6haGxQxY70598XUYfNFDxCOq3t/h9LEkYfRZg9NiDgPBOWYYWh8irkC18
cQbPeCHcUBezMoCYtIi1KbjFqkao2aqnOHj0FxZEdVSM0Hfv7xiHqGIweUea2Hqm4JA0
vA669NVy9lThv9as5SAcxlAWYqJ7SdMdByqeA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type:content-transfer-encoding;
b=qGaelfBaxRzEgdPFBTskA0OnGieKQlxmclcqOixP1v5aeseSXWqNnTnaT5rSfWggJQ
lr5T2MopU0n5LFxQNJVqu8k0pGtjTcCF4Mvl00yjy2PgUw2X7fFhcbDi7wWSnNA2DVxw
Bf/jNVsIbsPXb37XCsuq3K3RhYLrzVkg0/pOk=
MIME-Version: 1.0
Received: by 10.216.54.202 with SMTP id i52mr525482wec.196.1246668190124; Fri,
03 Jul 2009 17:43:10 -0700 (PDT)
In-Reply-To: <4A4E0966.6020700@gmail.com>
References: <2ee02670907021827md3d4019j90cb1b7aecce0831@mail.gmail.com>
<4A4E0966.6020700@gmail.com>
From: Paul Eipper <lkrai...@gmail.com>
Date: Fri, 3 Jul 2009 21:42:50 -0300
Message-ID: <2ee02670907031742p19cc76d2xfd25fd9ffac5e...@mail.gmail.com>
Subject: =?UTF-8?Q?Re=3A_=5Bdjango=2Dbrasil=5D_Re=3A_Testes_para_aplica=C3=A7=C3=A3o_REST?=
To: django-brasil@googlegroups.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
2009/7/3 Narc=C3=A9lio Filho <narce...@gmail.com>:
>
> Ol=C3=A1, Paul!
>
> =C2=A0 Eu trabalho bastante com REST. Pra testar, eu uso o test client [1=
]
> mesmo. Na vers=C3=A3o mais nova ele tem mais m=C3=A9todos al=C3=A9m do GE=
T e POST.
>
> [1]
> http://docs.djangoproject.com/en/dev/topics/testing/#module-django.test.c=
lient
>
>
> --
> []s, Narc=C3=A9lio
Opa!
Legal, e como voc=C3=AA costuma organizar os testes? Coloca eles todos
juntos em um arquivo tests.py?
--
Paul Eipper