Hi Ibrahim,
Thanks, can you please open a JIRA ticket for this?
We can then use that as the main platform for carving this issue.
If you could post your issue here for everyone's reference that would be
ideal.
Thanks

On Sun, Apr 24, 2016 at 1:30 PM, Ibrahim Jarif <jarifibra...@gmail.com>
wrote:

> Hello Developers,
> I'll be working on improving the existing tests framework for the Apache
> Open Climate Workbench over this summer.
> My primary aim is to achieve 100% code coverage on unit tests for the OCW
> module. The following data shows the current test coverage.
>
> ..........................................................................................................................................................................................................................................................................
> Name                       Stmts   Miss  Cover   Missing
> ----------------------------------------------------------------------------------------------------------------------------------
> ocw.py                         0      0   100%
> ocw/data_source.py             0      0   100%
> ocw/data_source/dap.py        22      0   100%
> ocw/data_source/esgf.py       41     29    29%   80-105, 109-131, 135-141
> ocw/data_source/local.py     248    174    30%   147-176, 231-240, 273, 
> 276-279, 329-352, 378-422, 474-508, 541-572, 604-636
> ocw/data_source/rcmed.py     125     12    90%   83, 206-209, 214-216, 242-245
> ocw/dataset.py               152     24    84%   126-127, 146-147, 149, 
> 152-162, 181, 191, 209-224, 368-379
> ocw/dataset_processor.py     571    316    45%   53-105, 148-165, 194-196, 
> 200-201, 222-229, 243-253, 263, 346-347, 356-363, 370-375, 430-435, 568-631, 
> 644-659, 672-681, 696-699, 718-720, 727-729, 742-751, 875-889, 908-909, 
> 942-952, 971-1068, 1071-1092, 1125-1196, 1215, 1231-1240
> ocw/esgf.py                    0      0   100%
> ocw/esgf/constants.py          6      0   100%
> ocw/esgf/download.py          26     17    35%   35-37, 39, 41, 52-67
> ocw/esgf/logon.py             10      5    50%   37-44
> ocw/esgf/search.py            27     18    33%   41-47, 55-58, 64, 71, 78-86
> ocw/evaluation.py            202     26    87%   120, 151-156, 184-189, 
> 228-230, 259, 265, 338-346, 367-369, 388-390, 408-410, 429-431
> ocw/metrics.py                58      0   100%
> ocw/utils.py                 153     46    70%   47, 219-220, 227-229, 275, 
> 294, 322-326, 356-362, 373-396, 407-422
> -----------------------------------------------------------------------------------------------------------------------------------
> TOTAL                       1641    667    59%
> -----------------------------------------------------------------------------------------------------------------------------------
>
>
> I'll be also developing smoke tests for the project.
>
> I would love to have some feedback on what should be improved in the
> testing framework and
> what kind of tests should be added for smoke testing.
>
> Thanks,
> Ibrahim
>



-- 
*Lewis*

Reply via email to