[ 
https://issues.apache.org/jira/browse/CLIMATE-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ibrahim Jarif updated CLIMATE-808:
----------------------------------
    Description: 
Most of the code in plotter module cannot be tested as it generates image 
files.The only way to tests image files is to compare the new image file with 
existing file pixel by pixel. This will affect the test execution time and 
build time significantly. Hence ignore functions that generate image files.

To do -
1. Test the functions that perform some computations.
2. Update .coveragerc file to ignore image generation code.

  was:
Most of the code in plotter module cannot be tested as it generates image 
files.The only way to tests image files is to compare the new image file with 
existing file pixel by pixel. This will affect the test execution time and 
build time significantly. Hence ignore functions that generate image files.

To do -
1. Tests the function that perform some computation
2. Update .coveragerc file to ignore image generation code


> Add tests for plotter module
> ----------------------------
>
>                 Key: CLIMATE-808
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-808
>             Project: Apache Open Climate Workbench
>          Issue Type: Sub-task
>          Components: build process, tests
>            Reporter: Ibrahim Jarif
>            Assignee: Ibrahim Jarif
>             Fix For: 1.1
>
>
> Most of the code in plotter module cannot be tested as it generates image 
> files.The only way to tests image files is to compare the new image file with 
> existing file pixel by pixel. This will affect the test execution time and 
> build time significantly. Hence ignore functions that generate image files.
> To do -
> 1. Test the functions that perform some computations.
> 2. Update .coveragerc file to ignore image generation code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to