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

Udai Gupta commented on MIFOS-2659:
-----------------------------------

Step 0 has been achieved. 

> 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: Gazelle C
>            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

        

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to