couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Bénel <aurelien.be...@utt.fr>
Subject Re: View Help Needed
Date Tue, 22 Nov 2011 16:03:41 GMT
Hi James,

> System
> Build Name
> # Pass
> # Fail|
> # Errors
> Test End (Date Time of last test in Build)
> Duration of tests(time between first test of build and last test)

I don't have much time to think about your case, but I think that most of what you want to
do could be done with a single view which would do "_stats" on:
[System, Build, Attribute]=>Value

With "sum" (on values set to 1) you would have your numbers of pass, fails and errors.
With "min" and "max" on a numeric timestamp (like POSIX's) you would have the time at which
the test has begun and ended.


Regards,

Aurélien
Mime
View raw message