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


Groups > comp.lang.php > #3466

Re: This is a total php newbie question

From Doug Miller <doug_at_milmacdotcom@example.com>
Newsgroups comp.lang.php
Subject Re: This is a total php newbie question
Date 2011-10-19 15:12 -0400
Organization A noiseless patient Spider
Message-ID <j7n7ef$tt2$1@dont-email.me> (permalink)
References (2 earlier) <4b9df8e1-d651-4058-9cd9-a7e3c2231725@e37g2000yqa.googlegroups.com> <j7kvbv$khe$1@dont-email.me> <j7mbqj$sq5$2@dont-email.me> <j7mq9c$sbg$1@dont-email.me> <j7mtfr$jgo$1@dont-email.me>

Show all headers | View raw


On 10/19/2011 12:22 PM, Bill B wrote:
> On 10/19/2011 11:27 AM, Jerry Stuckle wrote:
>> On 10/19/2011 7:21 AM, Bill B wrote:
>>> On 10/18/2011 6:42 PM, sheldonlg wrote:
>>>> Here is a scenario:
>>>> 1 - User does this and gets a page with a link to a download which does
>>>> the download.
>>>> 2 - He doesn't click the that link on that page until 25 hours later.
>>>> Note, he has not closed his browser or that page.
>>>>
>>>> How are you going to know that more than 24 hours have passed? You need
>>>> to do something that will be similar to a timed logout.
>>>>
>>>> Something to think about.
>>>
>>> I do not know the answer to that specific question, but it raises, for
>>> me, the question of how much extreme testing ought to be done to test
>>> the limits of code and browser behavior.
>>>
>>> Is there a generally accepted standard, does it vary by circumstance,
>>> does anyone have personal practices that have served them well?
>>>
>>> Bill B
>>
>> You test enough to ensure your code works properly. One of the reasons a
>> database will help you tremendously.
>>
>
> Jerry I was asking in the context of practices that you, for example,
> might use that would, for you, embody what "test enough" means. I design
> serious games that use computer simulation as the underlying engine. The
> decision a player is responding to might expect an answer between 5 and
> 10. For testing I would answer 500,000 just to see how the engine reacts
> to the number.

Test boundary conditions and invalid input. If the answer is supposed to 
be between 5 and 10, I might test using these values in addition to the 
obvious 5 thru 10: "A", " ", "5A", "5 ", " 5", 4, 11, 105, 0, -1, -5, 
-10, 2^16, 2^16 + 5, 2^32, and 2^32 + 5.

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

This is a total php newbie question justaguy <lichunshen84@gmail.com> - 2011-10-13 15:29 -0700
  Re: This is a total php newbie question Jerry Stuckle <jstucklex@attglobal.net> - 2011-10-13 20:17 -0400
    Re: This is a total php newbie question Doug Miller <doug_at_milmacdotcom@example.com> - 2011-10-13 21:12 -0400
    Re: This is a total php newbie question justaguy <lichunshen84@gmail.com> - 2011-10-13 17:58 -0700
      Re: This is a total php newbie question Arno Welzel <usenet@arnowelzel.de> - 2011-10-14 09:27 +0200
      Re: This is a total php newbie question Erwin Moller <Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> - 2011-10-14 10:27 +0200
      Re: This is a total php newbie question Jerry Stuckle <jstucklex@attglobal.net> - 2011-10-14 05:45 -0400
        Re: This is a total php newbie question Tim Streater <timstreater@greenbee.net> - 2011-10-14 11:41 +0100
          Re: This is a total php newbie question Jerry Stuckle <jstucklex@attglobal.net> - 2011-10-14 10:19 -0400
      Re: This is a total php newbie question Bill B <me@privacy.net> - 2011-10-15 12:53 -0400
      Re: This is a total php newbie question sheldonlg <sheldonlg@thevillages.net> - 2011-10-18 18:42 -0400
        Re: This is a total php newbie question Bill B <me@privacy.net> - 2011-10-19 07:21 -0400
          Re: This is a total php newbie question Jerry Stuckle <jstucklex@attglobal.net> - 2011-10-19 11:27 -0400
            Re: This is a total php newbie question Bill B <me@privacy.net> - 2011-10-19 12:22 -0400
              Re: This is a total php newbie question Doug Miller <doug_at_milmacdotcom@example.com> - 2011-10-19 15:12 -0400
              Re: This is a total php newbie question Jerry Stuckle <jstucklex@attglobal.net> - 2011-10-20 08:53 -0400
                Re: This is a total php newbie question Bill B <me@privacy.net> - 2011-10-20 09:46 -0400
          Re: This is a total php newbie question The Natural Philosopher <tnp@invalid.invalid> - 2011-10-19 17:21 +0100
  Re: This is a total php newbie question Denis McMahon <denismfmcmahon@gmail.com> - 2011-10-14 06:49 +0000

csiph-web