[ https://issues.apache.org/jira/browse/CLIMATE-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15329415#comment-15329415 ]
ASF GitHub Bot commented on CLIMATE-808: ---------------------------------------- GitHub user jarifibrahim opened a pull request: https://github.com/apache/climate/pull/355 CLIMATE-808 - Add tests for plotter module - Add tests to verify computations in plotter module - Update .coveragerc file to ignore image generation code You can merge this pull request into a Git repository by running: $ git pull https://github.com/jarifibrahim/climate CLIMATE-808 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/climate/pull/355.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #355 ---- commit 6b9fae9d5fe2432fd9a8c84e33976a78a2e8236e Author: Ibrahim <jarifibra...@gmail.com> Date: 2016-06-14T12:04:17Z CLIMATE-808 - Add tests for plotter module - Add tests to verify computations in plotter module - 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)