 How To Generate Test Data

Good csvpath development practice is to create tests for each statement. Creating even small test data sets can be time consuming. FlightPath can help create representative data quickly.

How to do it

  • Enter a name and instructions: Create a test data that includes people from states west of the Mississippi.
  • Click submit and see the request appear in the list below with a yellow dot signifying the work is active
  • As the request processes, see the Help and Feedback area for tabs giving ongoing status information. These tabs can be closed or ignored. Click the request name to reopen them.
  • When the reply is available, the status dot by the request’s name goes green.
  • Click the name to open the results in the Help and Feedback tabs. Right-click on the Results tab and select Save as.
  • In the save name dialog be sure to change the file extension to .csv from .txt
  • Switch back to the csvpath in examples/schemas/schemas.csvpaths and change the test-data: directive in the leading comment of the first csvpath to the relative path to your new test data file. Right-click on the file and select Copy relative path, if needed.
  • With your cursor in the csvpath statement, hit ctrl-r to run the csvpath. See that the new data validates successfully.

Back to top

Copyright © 2025-2026 Atesta Analytics; CsvPath committers; D. Kershaw.