---
title: "Comment by Igor Vlasyuk on \"How to pass parameterized test parameters to BeforeEach/AfterEach method in Junit5\" | Hashnode"
description: "Thank you sir for your solution. But there is one point that could be improved: if a test class has 3 test cases, and every one should be ran with 3 parameters,"
url: "https://hashnode.com/posts/how-to-pass-parameterized-test-parameters-to-beforeeachaftereach-method-in-junit5/6016fd99a4a28d1fcefcdbe9/comment/6177f281fc34737bf9ab76a7"
---

[Discussion](https://hashnode.com/posts/how-to-pass-parameterized-test-parameters-to-beforeeachaftereach-method-in-junit5/6016fd99a4a28d1fcefcdbe9)

Comment [How to pass parameterized test parameters to BeforeEach/AfterEach method in Junit5](https://hashnode.com/posts/how-to-pass-parameterized-test-parameters-to-beforeeachaftereach-method-in-junit5/6016fd99a4a28d1fcefcdbe9)

[Igor Vlasyuk](https://hashnode.com/@igorek9191)

[Oct 26, 2021](https://hashnode.com/posts/how-to-pass-parameterized-test-parameters-to-beforeeachaftereach-method-in-junit5/6016fd99a4a28d1fcefcdbe9/comment/6177f281fc34737bf9ab76a7)

Thank you sir for your solution. But there is one point that could be improved: if a test class has 3 test cases, and every one should be ran with 3 parameters, it means that one test class contains 9 test cases. And if tests will fail then it would hard to understand what exactly tests were fallen.

![2021-10-26_15-19-41.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1635250813614/NoZDnygQJ.png)
