Professional Documents
Culture Documents
Flat File Testing Categories
File Ingestion Testing
Performance Testing
http://www.datagaps.com/concepts/flat-file-testing 1/3
30/03/2018 Basics of Flat File (CSV, Delimited) testing
When data is moved using at les between enterprises or organizations within enterprise, it is important to perform a set of le ingestion
validations on the inbound at les before consuming the data in those les.
Files are ftp'ed or copied over to a speci c folder for processing. These les usually have a speci c naming convention so that the process consuming the le is able
to understand the contents and date. From a testing standpoint, the le name pattern needs to be validated to verify that it meets the requirement.
Example: A government agency that gets les from multiple vendors on a periodic basis. The arriving les should follow a naming convension of
'CompanyCode_ContentType_DateTimestamp.csv'. However, the les coming in from a speci c vendor do not have have the correct company name.
Although, at les are generally delimited or xed width, it is common to have a header and footer in these les. Sometimes, these headers have a rowcount that
can be used to verify that the le contains the entire data as expected.
Example: A nancial reporting company generates les with a header that contains the summary amount with the line items having the detailed split. The sum of the
amounts in the line items should match the summary amount in the header.
Files arrive periodically into a speci c network folder or an ftp location before getting consumed by a process. Usually, there are speci c requirements that need to
be met regarding the le arrival time, order of arrival and retaining them.
Example: A pharma company gets a set of les from a vendor on a daily basis. The process consuming this les expects the complete set of les to be available before
processing
1. A le that were supposed to come yesterday was delayed. It came in sometime after today's le arrived causing issues due to di erence in the order of processing the les.
2. After the les gets processed, it is supposed to be moved to a speci c directory where it is to be retained for a speci ed period of time and deleted. However, the le did
not get copied over.
3. Compare the transformed data in the target table with the expected values for the test data.
30-DAY TRIAL
http://www.datagaps.com/concepts/flat-file-testing 2/3
30/03/2018 Basics of Flat File (CSV, Delimited) testing
(/etl-testing-tools/etl-validator-download)
VIDEOS
(https://www.youtube.com/playlist?list=PLq-Q4hhL4wuBFR-Gbs67QBJe5uef4jbpm)
SUPPORT
(http://datagaps.freshdesk.com/support/solutions/1000122619)
USE CASES
(http://datagaps.freshdesk.com/support/solutions/folders/1000197456)
DATASHEET
(/images/datasheets/ETL_Validator.pdf)
FAQ
(/etl-testing-tools/etl-validator/faq)
http://www.datagaps.com/concepts/flat-file-testing 3/3