/
Compare Expected Vs Actual filenames in a directory

Compare Expected Vs Actual filenames in a directory

Scenario

A job may run, and the output of that job is a group of files dropped into a system directory. A test to determine that the job run correctly would be to test for the existence (and possibly other characteristics) of files in a directory.

Create a file collector to collect file details only into a stream and compare them against a stream with a pre-packaged filenames.

Solution:

  • Create a file collector to collect only file details
  • Create a stream of the results
  • Merge / Compare the data from this stream with data from another stream.

 

Related content

Compare Expected Vs Actual filenames in a directory
Compare Expected Vs Actual filenames in a directory
More like this
Compare Expected Vs Actual filenames in a directory
Compare Expected Vs Actual filenames in a directory
More like this
Check Generated Files
Check Generated Files
More like this
Check Generated Files
Check Generated Files
More like this
Check Generated Files
Check Generated Files
More like this
Compare Two Files
Compare Two Files
More like this