Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: David Palao Newsgroups: comp.lang.python Subject: Re: Python Unit test Date: Tue, 26 Jan 2016 17:04:12 +0100 Lines: 52 Message-ID: References: <658abeb0-d14e-4e0a-a3fe-f128a198840c@googlegroups.com> <756A3264-B329-4D13-924C-6E2CF9B43B06@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de 3HbR2QLOKvp5GS71arAmIwvTzmHUBfrRPmmwVmDuYeXw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'subject:Python': 0.05; 'django.': 0.05; 'subject:test': 0.07; 'unittest': 0.07; 'cc:addr :python-list': 0.09; 'python': 0.10; 'jan': 0.11; '2016': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'true:': 0.16; 'url:oreilly': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'example': 0.26; 'message- id:@mail.gmail.com': 0.27; 'network.': 0.27; 'there.': 0.30; 'url:mailman': 0.30; 'code': 0.30; 'screen': 0.32; 'url:python': 0.33; 'driven': 0.33; "i'll": 0.33; 'url:listinfo': 0.34; 'tue,': 0.34; 'url:code': 0.34; 'received:google.com': 0.35; 'could': 0.35; 'text': 0.35; 'protocol': 0.35; 'quite': 0.35; 'something': 0.35; 'but': 0.36; 'project': 0.36; 'there': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'subject:: ': 0.37; 'monitor': 0.38; 'received:209': 0.38; 'test': 0.39; 'url:mail': 0.40; 'still': 0.40; 'some': 0.40; 'yes': 0.62; 'iphone': 0.63; 'more': 0.63; 'complete': 0.63; 'information': 0.63; 'here:': 0.63; 'else.': 0.66; 'touch': 0.66; 'online': 0.71; '26,': 0.72; 'controllable': 0.84; 'joel': 0.91; 'url:books': 0.91; 'have.': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Tqg3cPpqhqJLe2d9rEaunFSyLhFq5A2wUyQlwoPVFco=; b=iUfe8080jUSwR13+uhQ2Qr6iYR+EohkkxeoLaAbSAQKCuVaR2QXt6qD7i0QmC1lA2g 1TXrcwT2/nytuK76CypDt+kZOccX3mmCxUDjIrBB8iY8tcDnusvMk6GFvA4ekA3lIpFU 1VNBmsto/NX+LTKH//xjwPMTelMhcFQRVXp5X5a5UY3kbCwgEXxRlctrL18qbrO9SkM+ 0KwDIe7hwHBli8JQCDuZXEE/RI05ZMOPml4WrMQ2ULUcitEWks0NumU8sSdsoKbQosCf 4KMK/0xobhw7N4kxyEkpjZx251kn7aw+jgVxJlMZ6+dN5kEw3QUxKkurDpT0myooLPhb GWhw== 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:date :message-id:subject:from:to:cc:content-type; bh=Tqg3cPpqhqJLe2d9rEaunFSyLhFq5A2wUyQlwoPVFco=; b=PjzUP/lyb3HLXaTTnte0LwS4GpWLAdy//XmULZQPnRNgsQdKpvs26WIl24n8vqazFR qUrFjrGiOtr2q+zZBbX/mGJIEY8+HLfQl0m2+GVQjV9PVS4ert1fg2RVSnwnNl0ntnNr qBXv+4iRRqI76ARzRdMS0/EP0iTdSp2I0Mp2QT7jbZwDFEXSO9ytdJ/sDE1gUCUnHB6X G6ugc09ajhsqhcPLXHJcwGGSN4+VmiZykfn5elD21nP2wIP9jQf+5+hAQqQuUzfBh9yP ssZIB7XfzIOuVivuUI9HuPhEAzODG+XJBAvHgEdDAGUr08CrDflDAGy4Vx7cNTQuwNav hImQ== X-Gm-Message-State: AG10YOT0XgEXwL22Efhr/UcSTTFXk+j0Nc1b8zh1oHjQdBUR+tLv43gLebwtE9HFZCcA2be7b/oMDJH4d3iD7A== X-Received: by 10.140.99.53 with SMTP id p50mr28649807qge.97.1453824252668; Tue, 26 Jan 2016 08:04:12 -0800 (PST) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:102129 2016-01-26 16:56 GMT+01:00 Joel Goldstick : > On Tue, Jan 26, 2016 at 10:48 AM, Tolu Agboola > wrote: > >> I'll go with number 2. I don't know how to apply the ideas to the code I >> have. >> >> Sent from my iPhone >> >> > On 26 Jan 2016, at 15:48, David Palao wrote: >> > >> > Well, there is a very specific example in there. >> > But you still don't give us much information about *concrete* troubles >> you have. >> > I *guess* that one of the following is true: >> > 1) You have problems to understand some part of the example in the >> > unittest module documentation. >> > 2) You don't know how to apply those ideas to some specific code you >> have. >> > 3) something else. >> > Could you please be more specific? >> > >> > Best >> > >> > 2016-01-26 13:26 GMT+01:00 : >> >> Yes I have studied the page but it's quite vague to me. So we have this >> project - Development of a touch screen controllable IEC61850 standard >> protocol analyzer. With this analyzer user can monitor and analyze network >> traffic in substation network. >> >> -- >> >> https://mail.python.org/mailman/listinfo/python-list >> -- >> https://mail.python.org/mailman/listinfo/python-list >> > > Test driven development with python and django. The complete text is > online here: > http://chimera.labs.oreilly.com/books/1234000000754/pr02.html#_python_3_and_programming > > > -- > Joel Goldstick > http://joelgoldstick.com/stats/birthdays > -- > https://mail.python.org/mailman/listinfo/python-list Good reference. I like also this one: http://code.tutsplus.com/tutorials/test-driven-development-in-python--net-30137 which is shorter. Best