Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54958

automated unit test generation

Newsgroups comp.lang.python
Date 2013-09-28 10:12 -0700
Message-ID <2d5fdac0-5145-428b-908e-98be65ba7bab@googlegroups.com> (permalink)
Subject automated unit test generation
From skunkwerk <skunkwerk@gmail.com>

Show all headers | View raw


Hi,
   I've been working on an open source project to auto-generate unit tests for web apps based on traces collected from the web server and static code analysis.  I've got an alpha version online at www.splintera.com, and the source is at https://github.com/splintera/python-django-client.  I'd love to get some feedback from the community and extend it to work with other languages as well.  

  I wrote it originally because I was sick of coming into companies where I had to inherit tens of thousands of lines of code without any tests, and never had time to write them manually - being careful to mock out dependencies, specify the correct inputs and outputs, and figure out which path it was taking through the code.

   I'd like to get some sense of:
- how difficult/tedious is writing unit tests, and why?
- do you wish you had better code coverage?
- how important is testing to you?

thanks,
imran

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

automated unit test generation skunkwerk <skunkwerk@gmail.com> - 2013-09-28 10:12 -0700
  Re: automated unit test generation Paul Rubin <no.email@nospam.invalid> - 2013-09-28 11:07 -0700

csiph-web