Skip to content
Software Testing Journal
Software Testing Journal

Your daily dose of learning!

  • Blog
  • Help Center
  • Video Playlist
  • Podcast & FAQ
  • Privacy Policy
Software Testing Journal

Your daily dose of learning!

Test Data Supplier (TestNG Data Provider wrapper)

Dheeraj Gambhir, 2023-09-042023-09-04

Test Data Supplier (TestNG DataProvider wrapper)

If you are a big fan of Stream and Collection API for data manipulation in the modern Java world, give a shot to this library that contains TestNG DataProvider wrapper (as of writing this blog, the latest version is based on TestNG 7.4.0) which helps to supply test data in a more flexible way.

Supported return types

  • Collection
  • Map
  • Entry
  • Object[]
  • double[]
  • int[]
  • long[]
  • Stream / StreamEx
  • Tuple
  • A single Object of any common or custom type

As it can return StreamEx, it gives you more power to play with flatmap, indices, transposing, etc.
You can find more details and sample Gradle/Maven projects on their official GitHub repository page: https://github.com/sskorol/test-data-supplier

Enjoyed reading this article? Please share the knowledge with your friends and colleagues.

If you find this post helpful, please share them with your colleagues and friends.

  • Facebook
  • Twitter
  • LinkedIn
  • Email
Automation TestAutomation Tips

Post navigation

Previous post
Next post
©2025 Software Testing Journal | WordPress Theme by SuperbThemes