These testcases aren't part of the build test suite

Description

The following test classes are not included in any of the test suites, and
consequently don't run in the build. I generated this list by comparing the
output file of the build (TEST-org.mifos.application.ApplicationTestSuite.xml)
with all the Testcase files present in the test folder.

ActivityGeneratorTest.java
AddReportTest.java
BirtReportsUploadActionTest.java
CollectionSheetReportParametersTest.java
CollectionUtilsTest.java
ConfigurationPersistenceTest.java
DetailedAgingPortfolioReportParametersTest.java
LoanAccountActionFormTest.java
LoanCalculationTest.java
LoanPrdPersistenceTest.java
LookUpValueEntityTest.java
MifosSelectTagTest.java
NumberUtilsTest.java
PPICalculatorTest.java
PPIPersistenceTest.java
ReportsCategoryActionTest.java
ReportsDataServiceTest.java
SelectionItemTest.java
TestAddressMapper.java
TestAdminDocAccStateMixPersistence.java
TestAdminDocumentPersistence.java
TestBirtAdminDocumentUploadAction.java
TestCenterMapper.java
TestDataExchanger.java
TestFeeActionForm.java
TestGeneralLedgerCode.java
TestLoanDisbursmentAction.java
TestLoanSummaryEntity.java
TestMeetingMapper.java
TestMifosDataExchange.java
TestSystemInfoAction.java

Many of them are from MigrationTestSuite and AdminDocumentTestSuite, which are
not included anywhere.

Environment

Platform: All, OS: All

Activity

Show:
pbiligi
April 18, 2008, 12:38 PM

Created an attachment (id=581)
Python script to guess which testcases aren't part of the build

pbiligi
April 18, 2008, 12:48 PM

The above Python script finds all files named "Test*.java" or "*Test.java" but
not containing the word "Suite", in your "test" folder and sees if they are all
present in the build report XML file.
(It ignores some of the utility classes which match that pattern)

Requires: ElementTree (http://effbot.org/zone/element-index.htm)

Usage:
1) Open the file and set MIFOS_TEST_DIR to the path to your Mifos "test" folder

2) Set PATH_TO_TEST_SUITE_REPORT_XML to the path to the build XML report
(usually (mifos dir +"dist/TEST-org.mifos.application.ApplicationTestSuite.xml")

3) python findtests.py
Prints the filenames of the missing testcases to the console

aliyaw
April 24, 2008, 6:12 AM

Triage comments - we can figure out why these are not included in the test suite
after v1.1.

Jeff Brewster
January 26, 2010, 5:38 PM

unit tests have been reworked since this was reported. closing this issue.

Invalid

Assignee

mifosdeveloperqueue

Reporter

pbiligi

Labels

None

URL

None

Story Points

None

Team

None

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Major
Configure