[ 
http://mifosforge.jira.com/browse/MIFOS-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60647#action_60647
 ] 

Mifos Hudson Jira Plugin User commented on MIFOS-2659:
------------------------------------------------------

Integrated in !http://ci.mifos.org/hudson/images/16x16/blue.gif! [head-1.7.x 
#34|http://ci.mifos.org/hudson/job/head-1.7.x/34/]
     FIXED MIFOS-2659 : Use only default configurations for unit and 
integration testing

Udai Gupta : 
[38f2028c605f26a3e63595e53d30f9173a147a6b|http://mifos.git.sourceforge.net/git/gitweb.cgi?p=mifos/head&a=commit&h=38f2028c605f26a3e63595e53d30f9173a147a6b]
Files : 
* application/src/main/java/org/mifos/config/ConfigurationManager.java
* 
application/src/test/resources/org/mifos/config/resources/applicationConfiguration.custom.properties


> Use only default configurations for unit and integration testing 
> -----------------------------------------------------------------
>
>                 Key: MIFOS-2659
>                 URL: http://mifosforge.jira.com/browse/MIFOS-2659
>             Project: mifos
>          Issue Type: Improvement
>          Components: Build and Testing
>    Affects Versions: Release 1.5
>            Reporter: Udai Gupta
>            Assignee: mifosdeveloperqueue
>             Fix For: Gazelle Backlog
>
>
> We should get rid of 
> /application/src/test/resources/org/mifos/config/resources/applicationConfiguration.custom.properties
>  file, it is being used for tests where default configuration makes some 
> tests fail.
> The configurations which are different in custom file (from default one)
> FiscalCalendarRules.WorkingDays
> AccountingRules.CurrencyRoundingMode
> AccountingRules.InitialRoundingMode
> Additional properties that custom file has
> AccountingRules.DigitsBeforeDecimal
> AccountingRules.DigitsBeforeDecimalForInterest
> Step 0 remove the configurations that are same in custom file (to default one)
> Step 1 can be to always make sure that all unit/integration tests only look 
> application/src/test/resources/org/mifos/config/resources/applicationConfiguration.custom.properties
>  (and not ~/.mifos/applicationConfiguration.custom.properties )
> Step 2 can be to edit every test that depends on some custom configuration 
> currently set in applicationConfiguration.custom.properties with direct 
> manipulation of config, using something like 
> ConfigurationManager.setProperty()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to