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


Groups > comp.lang.python > #31568 > unrolled thread

Re: Deployment tools using Python (was: unittest for system testing)

Started byDwight Hutto <dwightdhutto@gmail.com>
First post2012-10-17 23:39 -0400
Last post2012-10-18 00:06 -0400
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Deployment tools using Python (was: unittest for system testing) Dwight Hutto <dwightdhutto@gmail.com> - 2012-10-17 23:39 -0400
    Re: Deployment tools using Python (was: unittest for system testing) alex23 <wuwei23@gmail.com> - 2012-10-17 20:59 -0700
      Re: Deployment tools using Python (was: unittest for system testing) Dwight Hutto <dwightdhutto@gmail.com> - 2012-10-18 00:06 -0400

#31568 — Re: Deployment tools using Python (was: unittest for system testing)

FromDwight Hutto <dwightdhutto@gmail.com>
Date2012-10-17 23:39 -0400
SubjectRe: Deployment tools using Python (was: unittest for system testing)
Message-ID<mailman.2385.1350531584.27098.python-list@python.org>
On Wed, Oct 17, 2012 at 11:30 PM, Ben Finney <ben+python@benfinney.id.au> wrote:
> Rita <rmorgan466@gmail.com> writes:
>
>> 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.
>
> The operating system shell, or the deployment framework of choice, is
> best suited to that I think.
>
>> 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
>100000000000000000000000000000000000000000
> Well, unittest is for unit testing (testing of small isolated units of
> the code). There are many definitions of “functional testing”, and I
> don't think ‘unittest’ is a good choice for any of them.
>
>> but I think this too would be a case for it.
>
> Reserve the term “testing” for testing the code of your application, I'd
> recommend. Libraries designed for “testing” are not good outside that
> domain.
>
>> Any thoughts?
>
The unittests are just a basic framework to build upon. Logging and
testing your own functions/classes is something that come in the
pre-algorithm of the app you wish to deploy.


-- 
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com

[toc] | [next] | [standalone]


#31570

Fromalex23 <wuwei23@gmail.com>
Date2012-10-17 20:59 -0700
Message-ID<56a5182d-b16b-4f85-bd7c-bb518488d780@v9g2000pbi.googlegroups.com>
In reply to#31568
On Oct 18, 1:39 pm, Dwight Hutto <dwightdhu...@gmail.com> wrote:
> Logging and
> testing your own functions/classes is something that come in the
> pre-algorithm of the app you wish to deploy.

What is a pre-algorithm?

[toc] | [prev] | [next] | [standalone]


#31574

FromDwight Hutto <dwightdhutto@gmail.com>
Date2012-10-18 00:06 -0400
Message-ID<mailman.2389.1350533198.27098.python-list@python.org>
In reply to#31570
On Wed, Oct 17, 2012 at 11:59 PM, alex23 <wuwei23@gmail.com> wrote:
> On Oct 18, 1:39 pm, Dwight Hutto <dwightdhu...@gmail.com> wrote:
>> Logging and
>> testing your own functions/classes is something that come in the
>> pre-algorithm of the app you wish to deploy.
>
> What is a pre-algorithm?
> --
> http://mail.python.org/mailman/listinfo/python-list

Pseudo code that shows what the actual algorithm will have. Like a
rough draft algorithm. Tossing the idea around in your mind is what I
meant.


-- 
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web