JUnit Tutorial with IntelliJ - How to run Parameterized Tests - Master JUnit Framework - Part 5
Welcome to JUnit mini tutorial series that is designed to quickly introduce JUnit test framework to beginners. In this JUnit Tutorials we will be using IntelliJ IDEA for our development environment and Gradle for our build system and to manage our JUnit dependancies. By the end of this series you will have a pretty good knowledge on how to manipulate your tests and you will have much better control over your testing framework if you are building one with JUnit. What will be covered: How to use Basic JUnit annotations: @Test @Before @After @BeforeClass @AfterClass How to Create Test Suites & Test Primes with JUnit How to Retry or Rerun a Test that Failed with JUnit N number of times before actually failing it How to Create Global JUnit Rules to reuse in JUnit Test Suites How to run Parameterized JUnit Tests or How to do JUnit Data Driven Testing How to skip tests and/or test suites based on a condition In this video I forgot to show how I added dependencies for simple JSON, so if you have trouble using simple JSON, make sure you have the following in your build.gradle file: compile 'org.apache.clerezza.ext:org.json.simple:0.4' This line should go directly under the compile line for junit Code is available on GitHub: https://github.com/ArturSpirin/YouTube-JUnit-Tutorials
Download
0 formatsNo download links available.