Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question - Can we pass multiple files in the FileParameters annotation? #164

Open
sanjuthomas opened this issue Jun 17, 2019 · 0 comments
Open

Comments

@sanjuthomas
Copy link

I looked at the DataMapper class and noticed that map method take a Reader instead of Readers. Is three a way I can pass in multiple files to FileParameters? what is the best way to extend the existing DataMapper to accept a Reader var arg?

I'm looking to achieve the following -

@Test @FileParameters(value = "classpath:payload1.json,classpath:payload2.json", mapper = JSONMapper.class) public void sampleTest(Map<?, ?> payload1, Map<?, ?> payload2){ }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant