How to use Feed4JUnit 1.1.1
This article mainly explains "how to use Feed4JUnit 1.1.1". The explanation in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian and go deep into it slowly to study and learn "how to use Feed4JUnit 1.1.1" together.
Feed4JUnit 1.1.1 has been released, which supports importing complete JavaBean diagrams from CSV files.
Feed4JUnit makes it easy to write parametric tests for JUnit and provides predefined or random test data for those tests. It can read test case data from CVS or Excel files defined by business analysts and report test success in the build/unit test framework.
Feed4JUnit makes it easy to perform smoke tests with random but verified data to improve code coverage and find bugs caused by very specific data structures. Feed4JUnit also makes it easy to define equivalence tests.
Example code:
@RunWith(Feeder.class) public class LoginTest { @Test @InvocationCount(10) public void testLogin(String name, String password) { System.out.println("name:" + name + " password:" + password); } }
Thank you for reading, the above is the content of "Feed4JUnit 1.1.1 how to use", after learning this article, I believe everyone has a deeper understanding of how to use Feed4JUnit 1.1.1 this problem, the specific use of the situation also needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!