Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-announce@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.01; 'scipy': 0.05; 'subject:Python': 0.06; 'subject:based': 0.07; 'tests,': 0.07; 'python': 0.08; 'url:pypi': 0.08; '-------': 0.09; 'arguments.': 0.09; 'combines': 0.09; 'executes': 0.09; 'graph': 0.09; 'url:github': 0.09; 'programmer': 0.11; 'offline': 0.13; 'open-source': 0.13; '(test': 0.16; 'coded': 0.16; 'computes': 0.16; 'passed.': 0.16; 'programmable': 0.16; 'released.': 0.16; 'scenarios': 0.16; 'url:conference': 0.16; 'wednesday,': 0.16; 'programming': 0.18; 'trace': 0.19; 'austin,': 0.23; 'exploring': 0.23; 'suite,': 0.23; 'testing,': 0.23; 'received:209.85.220': 0.25; 'testing': 0.25; 'tests': 0.25; '(and': 0.27; 'url:edu': 0.28; 'framework': 0.28; 'oracle': 0.29; 'code,': 0.29; 'actions.': 0.30; 'cases.': 0.30; 'finite': 0.30; 'practices.': 0.30; 'version': 0.30; 'changes': 0.31; 'shared': 0.32; 'adds': 0.32; 'cases': 0.32; 'downloads': 0.32; 'focus': 0.32; 'properties': 0.33; 'header:X-Complaints-To:1': 0.34; 'header :User-Agent:1': 0.34; 'there': 0.34; 'test': 0.34; 'machine': 0.35; 'file': 0.36; 'url:python': 0.37; 'checks': 0.37; 'some': 0.37; 'model': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'url:org': 0.38; 'subject:: ': 0.38; 'created': 0.38; 'cases,': 0.38; 'run': 0.39; 'program,': 0.39; 'case': 0.39; 'talk': 0.39; 'header:Mime-Version:1': 0.39; 'recommended': 0.40; 'received:209': 0.40; 'received:prod.google.com': 0.40; 'march': 0.62; 'according': 0.63; 'july': 0.64; 'details': 0.65; 'interest': 0.65; 'here': 0.66; 'received:130': 0.68; 'site.': 0.69; 'to:addr:moderators.isc.org': 0.73; 'received:130.133': 0.74; 'received:130.133.4': 0.74; 'received:130.133.4.7': 0.74; 'received:individual.net': 0.74; 'received:moderators.individual.net': 0.74; 'acts': 0.77; 'strategies': 0.78; 'offline,': 0.84; 'programs:': 0.91; 'available:': 0.93; 'technique': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=x-authentication-warning:to:path:from:newsgroups:subject:date :organization:lines:message-id:nntp-posting-host:mime-version :content-type:x-trace:x-complaints-to:nntp-posting-date :complaints-to:injection-info:user-agent:x-google-web-client :x-google-header-order:x-http-useragent; bh=nAjfNw1IlaNPvgku18CbcZ4RcNvDVChH8f0mWncgTyo=; b=NPQdtv0xLPs8NPRDsV9PKUOxom6UjCNI+qVLpbw2s+bRknxRtiD8p16mz2XLoi8Sj8 CksiYObcKvok7jIYRW9+ytpg/A+GOv5jnd/KF2PonVe2i7sJ+61fEgwGoyBAY+JklmDh sDqed4CflWXbEqzsKimOJP7nY1eO8V1EnsiFU= X-Authentication-Warning: yws13.prod.google.com: news set sender to news@google.com using -f To: comp-lang-python-announce@moderators.isc.org From: Jon Jacky Newsgroups: comp.lang.python.announce Subject: PyModel-0.9: Model-based testing in Python Date: Tue, 12 Jul 2011 08:15:10 -0700 (PDT) Organization: http://groups.google.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Complaints-To: groups-abuse@google.com Injection-Info: z7g2000prh.googlegroups.com; posting-host=216.254.15.188; posting-account=dnCDqgoAAAAJgLBHI5tl56v7hHzgpRGJ User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110422 Ubuntu/10.04 (lucid) Firefox/3.6.17,gzip(gfe) X-Mailman-Approved-At: Tue, 12 Jul 2011 23:20:19 +0200 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Message-ID: Lines: 56 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1310505619 news.xs4all.nl 23940 [2001:888:2000:d::a6]:40429 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python.announce:239 PyModel-0.9, an open-source model-based testing framework in Python, has been released. Code, documents, and downloads are available: http://staff.washington.edu/jon/pymodel/www/ http://pypi.python.org/pypi/PyModel https://github.com/jon-jacky/PyModel Version 0.9 adds new functionality, new samples, and some changes to internals to be more consistent with recommended Python style and programming practices. For details see see pymodel/notes/release-0.9.txt at the above site. Version 0.85 was announced here in March 2010. There will be talk on PyModel at SciPy 2011 on Wednesday, July 13 in Austin, Texas: http://conference.scipy.org/scipy2011/ ------- In unit testing, the programmer codes the test cases, and also codes assertions that check whether each test case passed. In model-based testing, the programmer codes a "model" that generates as many test cases as desired and also acts as the oracle that checks the cases. PyModel supports on-the-fly testing, which can generate indefinitely long nonrepeating tests as the test run executes. PyModel can focus test cases on scenarios of interest by composition, a versatile technique that combines models by synchronizing shared actions and interleaving unshared actions. PyModel can guide test coverage according to programmable strategies coded by the programmer. PyModel provides three programs: - pma, pymodel analyzer: generates a finite state machine (FSM) and computes properties by exploring a model program, FSM, test suite, or a product of these. - pmg, pymodel graphics: generates a file of graphic commands from an FSM. - pmt, pymodel tester: displays traces, generates tests offline, executes offline tests, or generates and executes tests on-the-fly. Use pma and pmg to visualize and preview the behavior of pmt. Every path through the graph created by pma (and drawn by pmg) is a trace (test run) that may be generated by pmt, when pma and pmt are invoked with the same arguments.