← Back to team overview

dhis2-devs team mailing list archive

Re: Proposal on applying systematic testing for dhis2

 

Hi Thanh

We did receive it and i had a quick read through.  Its great to see
work being done on testing.  we need lots of it.

Two comments/questions (to prove that I read it!):
1.  I am not entirely convinced by your replacement of TSL with Excel.
 TSL is a formal grammar.  It has limitations which have been
described elsewhere but I don't think that the typing of '[' has ever
really featured highly :-)   I think you may be confusing the
specification with the authoring tool when you say that your revised
TSL is to "use excel".  So on the theory side I'd be a bit
uncomfortable with this aspect of your paper.
(BTW did you look at schematron as an alternative grammar for
expressing tests?  I know one of the criticisms of TSL is that it does
not allow for a very literate human-readable approach. schematron
allows for a human readable assertions and - though xpath is usually
used for schema validation - tests can be implemented in any language.
 Perhaps an off-the wall thought ...)

2.  I am not very clear - perhaps didn't read carefully enough - how
you generate the actual tests from the source document.  It looks to
me that it requires quite a significant understanding of the
application , the classes etc.  I guess this is where understanding
the grammar, if any, is important.  Could you generate selenium tests
from it?  This strikes me as the most black-box kind of testing.

How easy would it be to use your tool to do wider test coverage of
dhis?  Would be a good thing.

Cheers
Bob

On 2 June 2010 12:03, Ngoc Thanh Nguyen <thanh.hispvietnam@xxxxxxxxx> wrote:
> Hi all,
>
> this is a project I did for the testing course this semester. I hope
> it could shed a light for testing aspect of dhis2.
>
> Notice: the case was built based on the assumption that the system
> specification requires name of orgunit, group, and group set to be
> have between 2-255 characters. Though dhis2 implemented it with text
> field max char = 160.
>
> Thanh
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>



Follow ups

References