Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'plenty': 0.07; 'unittest': 0.07; 'python': 0.09; 'currently,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:unittest': 0.16; 'thoughts?': 0.16; 'wrote:': 0.17; 'instance,': 0.17; 'url:moin': 0.17; 'shell': 0.18; 'module': 0.19; 'script': 0.24; 'testing': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'url:wiki': 0.26; 'options': 0.27; 'header:X-Complaints-To:1': 0.28; 'app.': 0.29; 'deploy': 0.29; 'this.': 0.29; 'code': 0.31; 'url:python': 0.32; 'from:addr:yahoo.co.uk': 0.32; 'to:addr :python-list': 0.33; 'hi,': 0.33; 'list': 0.35; 'exist': 0.35; 'received:org': 0.36; 'but': 0.36; 'url:org': 0.36; 'functional': 0.36; 'skip:g 30': 0.36; 'test': 0.36; 'too': 0.36; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'great': 0.64; 'here': 0.65; 'subject:system': 0.84; 'rita': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: unittest for system testing Date: Thu, 18 Oct 2012 01:49:38 +0100 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-24-222-223.ppp.as43234.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 In-Reply-To: X-Antivirus: avast! (VPS 121017-1, 17/10/2012), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1350521374 news.xs4all.nl 6875 [2001:888:2000:d::a6]:40048 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:31560 On 18/10/2012 01:22, Rita wrote: > Hi, > > Currently, I use a shell script to test how my system behaves before I > deploy an application. For instance, I check if fileA, fileB, and fileC > exist and if they do I go and start up my application. > > This works great BUT > > I would like to use python and in particular unittest module to test my > system and then deploy my app. I understand unittest is for functional > testing but I think this too would be a case for it. Any thoughts? I am not > looking for code in particular but just some ideas on how to use python > better in situations like this. > Plenty of options here http://wiki.python.org/moin/PythonTestingToolsTaxonomy and an active mailing list that I read via gmane.comp.python.testing.general -- Cheers. Mark Lawrence.