Re: [xsl] ANN: 'Testing XSLT' training course PDF available

Subject: Re: [xsl] ANN: 'Testing XSLT' training course PDF available
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Tue, 18 Dec 2007 14:57:07 +0100 (CET)
Andrew Welch wrote:

> It's called "black box" testing because you don't know how
> the solver works


> Unit testing (as you know) is about testing each component
> within the program, following the principle that if each
> component works correctly, the overall app is correct.

  Yes (it /should/ be).

> This function returns the row of a particular index, so
> index 9 should be on row 1, index 10 should be on row 2
> etc, and you can write unit tests to check those
> assertions.

  Yes.  And in this simple case you are writing unit tests
that see the function as a black-box.

> I can understand why you think this is a black box test
> because you don't care how the function works, only its
> inputs and outputs, but the "box" in "black box" and
> "white box" testing refers to the application as a whole

  Well, I wonder if you don't mix up the two scales white /
black box on the one hand, and unit / functional tests and
the other hand.

  Maybe the "Black Box Testing" article on Wikipedia says it
better than me []:

    Black box testing takes an external perspective of the
    test object to derive test cases.  These tests can be
    functional or non-functional, though usually functional.
    The test designer selects valid and invalid input and
    determines the correct output.  There is no knowledge of
    the test object's internal structure.

    This method of test design is applicable to all levels
    of software testing: unit, integration, functional
    testing, system and acceptance.  The higher the level,
    and hence the bigger and more complex the box, the more
    one is forced to use black box testing to simplify.

  So maybe this is just a vocabulary question, and we agreed
from the beginning, if I understand correctly?



Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail

Current Thread