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


Groups > comp.lang.python > #51169

Re: Python testing tools

Newsgroups comp.lang.python
Date 2013-07-24 15:02 -0700
References <402312e9-3952-48ff-99da-bd76856042e5@googlegroups.com>
Message-ID <9d2c755d-7dd5-4076-923a-7f38e4d1e655@googlegroups.com> (permalink)
Subject Re: Python testing tools
From Y Yen <srcmap.y.yen@gmail.com>

Show all headers | View raw


On Friday, July 19, 2013 3:56:24 PM UTC-7, cutems93 wrote:
> I am currently doing some research on testing software for Python. I found that there are many different types of testing tools. These are what I've found.
> 
> 
> 
> 1.Unit test	
> 
> 2.Mock test
> 
> 3.Fuzz test
> 
> 4.Web test
> 
> 5.Acceptance/business logic test
> 
> 6.GUI test
> 
> 7.Source code checking
> 
> 8.Code coverage
> 
> 9.Continuous integration
> 
> 10.Automatic test runners
> 
> 11.Test fixtures
> 
> 
> 
> I know web and GUI testing tools are for specific uses. For instance, if you are not working with GUI or web pages, you don't need those testing tools. Other than these two, do you use all of the other nine testing tools? I think many of you are using unit testing tools, such as unittest and doctest, and source code checking tools, like pylint or pychecker. Do you guys use #2,3,5,8,9,10 and 11 often?
> 
> 
> 
> Thanks!
> 
> 
> 
> -Min S.

I found the python's unittest framework lack good reporting tools. 

For my project (www.srcmap.com), I want something that does high level features integration tests, scriptable, generate report in HTML table format that label pass ->Green, fail -> Red.   Separate by scripts, commands runs, etc.

  In python, it is so trivial to write you own.  It parse the json test scripts and execute the commands inside one at a time.  It works very well. 

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


Thread

Python testing tools cutems93 <ms2597@cornell.edu> - 2013-07-19 15:56 -0700
  Re: Python testing tools Ben Finney <ben+python@benfinney.id.au> - 2013-07-20 18:11 +1000
    Re: Python testing tools cutems93 <ms2597@cornell.edu> - 2013-07-23 10:51 -0700
      Re: Python testing tools Skip Montanaro <skip@pobox.com> - 2013-07-23 13:04 -0500
        Re: Python testing tools cutems93 <ms2597@cornell.edu> - 2013-07-23 11:12 -0700
          Re: Python testing tools Skip Montanaro <skip@pobox.com> - 2013-07-23 13:33 -0500
            Re: Python testing tools cutems93 <ms2597@cornell.edu> - 2013-07-23 11:56 -0700
              Re: Python testing tools Skip Montanaro <skip@pobox.com> - 2013-07-23 14:11 -0500
      Re: Python testing tools Ben Finney <ben+python@benfinney.id.au> - 2013-07-24 08:51 +1000
        Re: Python testing tools cutems93 <ms2597@cornell.edu> - 2013-07-30 17:18 -0700
  Re: Python testing tools Y Yen <srcmap.y.yen@gmail.com> - 2013-07-24 15:02 -0700

csiph-web