{"id":15797,"date":"2013-07-25T16:00:42","date_gmt":"2013-07-25T13:00:42","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/?p=15797"},"modified":"2013-07-24T11:52:13","modified_gmt":"2013-07-24T08:52:13","slug":"run-your-unit-tests-in-parallel","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html","title":{"rendered":"Run your Unit Tests in Parallel"},"content":{"rendered":"<p>It was about time when the developer of Unit Tests had the ability to run the tests in Parallel using annotations. In today&#8217;s blog post, we will look at how you can make your traditional Junit Tests to run in parallel using annotations provided by Easytest. <a href=\"https:\/\/github.com\/EaseTech\/easytest-core\" target=\"_blank\">EasyTest<\/a>\u00a0<b> <\/b>is a Testing Framework build on top of JUnit to provide you ease of writing and maintaining your tests. It is focused on writing Data Driven Tests for your application.<\/p>\n<p>Lets start by assuming a Class ItemService\u00a0 that has a method 2 methods:<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<\/p>\n<ol>\n<li>getItems that takes 2 arguments Double itemId and String itemType. The API class is described below.<\/li>\n<li>updateItem that takes an Item instance and updates it in the Database.<\/li>\n<\/ol>\n<pre class=\"brush:java\">public class ItemService {\r\n\r\n   public List getItems (Double itemId , String itemType);\r\n\r\n   public void updateItem (Item item);\r\n\r\n}<\/pre>\n<p>We will leave out the implementation for the sake of keeping the example simple.<\/p>\n<p>Lets see the step by step approach of writing Parallel Unit Tests.<\/p>\n<h4>STEP 1:<\/h4>\n<p>Download the latest version(or version 1.2 and above) of EasyTest from <b><a href=\"http:\/\/search.maven.org\/#search%7Cga%7C1%7Ceasetech\" target=\"_blank\">Maven Central Repository<\/a>.<\/b><\/p>\n<h4>STEP 2:<\/h4>\n<p>Next, lets write a simple Unit Test for the above business methods using EasyTest annotations and data driven testing approach.<\/p>\n<pre class=\"brush:java\">@RunWith(DataDrivenTestRunner.class)\r\n@DataLoader(filePaths=\"getItemData.csv\")\r\n@TestConfigProvider(TestConfigProvider.class)\r\npublic class ItemServiceTest {\r\n\r\n     @Inject\r\n     private ItemService itemService;\r\n\r\n     @Before\r\n     public void before() {\r\n         System.out.println(\"BEFORE\");\r\n     }\r\n\r\n     @Test\r\n     public List testGetItems(@Param(name=\"itemId\")Double itemId , @Param(name=\"itemType\")String itemType) {\r\n       \r\n          \/\/Actual test conditions here\r\n           System.out.println(\"Run testGetItems\");\r\n\r\n     }\r\n\r\n     @Test\r\n     public void testUpdateItem(@Param(name=\"item\") Item item) {\r\n       \r\n          \/\/Actual test conditions here\r\n          System.out.println(\"Run testUpdateItem\");\r\n\r\n     }\r\n\r\n    @After\r\n     public void after() {\r\n         System.out.println(\"AFTER\");\r\n     }\r\n}<\/pre>\n<p>The above example uses existing functionalities of EasyTest, like providing data in a test file, using CDI annotations to inject test beans. If you want to know more about the @TestConfigProvider and Dependency Injection in EasyTest you can see my <a href=\"http:\/\/www.kumaranuj.com\/2013\/05\/ioc-support-in-easytest-externalize.html\" target=\"_blank\"><b>previous blog post.<\/b><\/a> If you want to know more about how to write Data Driven Tests in general using EasyTest, you can visit <b><a href=\"https:\/\/github.com\/EaseTech\/easytest\/wiki\" target=\"_blank\">EasyTest&#8217;s WIKI Pages<\/a>.<\/b><div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<p>Now the above is an example of running a simple Data Driven Unit Test. All the above tests will run in Serial, one after the other. Assuming that each of the test method has two sets of test data specified in the getItemData.csv file, when the above test is run, we get the following on the console :<\/p>\n<pre class=\"brush:bash\">BEFORE\r\nRun testGetItems\r\nAFTER\r\n\r\nBEFORE\r\nRun testGetItems\r\nAFTER\r\n\r\nBEFORE\r\nRun testUpdateItem\r\nAFTER\r\n\r\nBEFORE\r\nRun testUpdateItem\r\nAFTER<\/pre>\n<h4>STEP 3:<\/h4>\n<p>Next, lets make the above tests run in Parallel. Simply include the @Parallel annotation at the class level and provide the number of threads you want to run. For the above test case we will run two threads.<\/p>\n<pre class=\"brush:java\">@RunWith(DataDrivenTestRunner.class)\r\n@DataLoader(filePaths=\"getItemData.csv\")\r\n@TestConfigProvider(TestConfigProvider.class)\r\n@Parallel(threads=2)\r\npublic class ItemServiceTest {\r\n\r\n     @Inject\r\n     private ItemService itemService;\r\n\r\n     @Before\r\n     public void before() {\r\n         System.out.println(\"BEFORE\");\r\n     }\r\n\r\n     @Test\r\n     public List testGetItems(@Param(name=\"itemId\")Double itemId , @Param(name=\"itemType\")String itemType) {\r\n       \r\n          \/\/Actual test conditions here\r\n           System.out.println(\"Run testGetItems\");\r\n\r\n     }\r\n\r\n     @Test\r\n     public void testUpdateItem(@Param(name=\"item\") Item item) {\r\n       \r\n          \/\/Actual test conditions here\r\n          System.out.println(\"Run testUpdateItem\");\r\n\r\n     }\r\n\r\n    @After\r\n     public void after() {\r\n         System.out.println(\"AFTER\");\r\n     }\r\n}<\/pre>\n<p>Note the @Parallel annotation at the lass level.<\/p>\n<p>When this test is run, the console output looks something like this(it may vary when you run the same test):<\/p>\n<pre class=\"brush:bash\">BEFORE\r\nBEFORE\r\nRun testGetItems\r\nBEFORE\r\nRun testUpdateItem\r\nAFTER\r\nRun testGetItems\r\nBEFORE\r\nAFTER\r\nRun testUpdateItem\r\nAFTER\r\nAFTER<\/pre>\n<p>As you can see from the above console output, the tests are running alongside each other and thats why you see such a distributed console output.<\/p>\n<h2>Conclusion<\/h2>\n<p>We saw in the above example, how you can now run your tests in Parallel. Also when building your tests from build tools like Maven, the tests will run in Parallel. This is a big boost to scenarios where you have thousands of Unit Tests and they take minutes to run.<\/p>\n<p>EasyTest is working on a command line\/system parameter approach to enabling\/disabling of Parallel feature. Stay tuned.<br \/>\n&nbsp;<\/p>\n<div style=\"border: 1px solid #D8D8D8; background: #FAFAFA; width: 100%; padding-left: 5px;\"><b><i>Reference: <\/i><\/b><a href=\"http:\/\/www.kumaranuj.com\/2013\/07\/run-your-unit-tests-in-parallel.html\">Run your Unit Tests in Parallel<\/a> from our <a href=\"http:\/\/www.javacodegeeks.com\/jcg\">JCG partner<\/a> Anuj Kumar at the <a href=\"http:\/\/www.kumaranuj.com\/\">JavaWorld Blog<\/a> blog.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>It was about time when the developer of Unit Tests had the ability to run the tests in Parallel using annotations. In today&#8217;s blog post, we will look at how you can make your traditional Junit Tests to run in parallel using annotations provided by Easytest. EasyTest\u00a0 is a Testing Framework build on top of &hellip;<\/p>\n","protected":false},"author":447,"featured_media":176,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[816,274,273],"class_list":["post-15797","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-easytest","tag-junit","tag-testing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Run your Unit Tests in Parallel<\/title>\n<meta name=\"description\" content=\"It was about time when the developer of Unit Tests had the ability to run the tests in Parallel using annotations. In today&#039;s blog post, we will look at\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Run your Unit Tests in Parallel\" \/>\n<meta property=\"og:description\" content=\"It was about time when the developer of Unit Tests had the ability to run the tests in Parallel using annotations. In today&#039;s blog post, we will look at\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2013-07-25T13:00:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/junit-logo-e1426444701180.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Anuj Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/anujgandharv\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Anuj Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/07\\\/run-your-unit-tests-in-parallel.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/07\\\/run-your-unit-tests-in-parallel.html\"},\"author\":{\"name\":\"Anuj Kumar\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/a306dfda8e7fd0ad51892e367edd5730\"},\"headline\":\"Run your Unit Tests in Parallel\",\"datePublished\":\"2013-07-25T13:00:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/07\\\/run-your-unit-tests-in-parallel.html\"},\"wordCount\":496,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/07\\\/run-your-unit-tests-in-parallel.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/junit-logo-e1426444701180.jpg\",\"keywords\":[\"EasyTest\",\"JUnit\",\"Testing\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/07\\\/run-your-unit-tests-in-parallel.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/07\\\/run-your-unit-tests-in-parallel.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/07\\\/run-your-unit-tests-in-parallel.html\",\"name\":\"Run your Unit Tests in Parallel\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/07\\\/run-your-unit-tests-in-parallel.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/07\\\/run-your-unit-tests-in-parallel.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/junit-logo-e1426444701180.jpg\",\"datePublished\":\"2013-07-25T13:00:42+00:00\",\"description\":\"It was about time when the developer of Unit Tests had the ability to run the tests in Parallel using annotations. In today's blog post, we will look at\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/07\\\/run-your-unit-tests-in-parallel.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/07\\\/run-your-unit-tests-in-parallel.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/07\\\/run-your-unit-tests-in-parallel.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/junit-logo-e1426444701180.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/junit-logo-e1426444701180.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2013\\\/07\\\/run-your-unit-tests-in-parallel.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Run your Unit Tests in Parallel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/a306dfda8e7fd0ad51892e367edd5730\",\"name\":\"Anuj Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ba220380b26b6a5a1ae7c0468a6987dc8d667f5b5791054266132acfa3c0b8b2?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ba220380b26b6a5a1ae7c0468a6987dc8d667f5b5791054266132acfa3c0b8b2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ba220380b26b6a5a1ae7c0468a6987dc8d667f5b5791054266132acfa3c0b8b2?s=96&d=mm&r=g\",\"caption\":\"Anuj Kumar\"},\"description\":\"Anuj is working as a Senior S\\\/W Engineer in Netherlands. He is a Sun Certified Java Professional with experience in design and development of mid\\\/large scale Java applications. He is the creator of EasyTest Framework(https:\\\/\\\/github.com\\\/EaseTech) which is a Data Driven Testing Framework for Java.\",\"sameAs\":[\"http:\\\/\\\/www.kumaranuj.com\\\/\",\"http:\\\/\\\/nl.linkedin.com\\\/pub\\\/anuj-kumar\\\/9\\\/790\\\/77b\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/anujgandharv\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/anuj-kumar\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Run your Unit Tests in Parallel","description":"It was about time when the developer of Unit Tests had the ability to run the tests in Parallel using annotations. In today's blog post, we will look at","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html","og_locale":"en_US","og_type":"article","og_title":"Run your Unit Tests in Parallel","og_description":"It was about time when the developer of Unit Tests had the ability to run the tests in Parallel using annotations. In today's blog post, we will look at","og_url":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2013-07-25T13:00:42+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/junit-logo-e1426444701180.jpg","type":"image\/jpeg"}],"author":"Anuj Kumar","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/anujgandharv","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Anuj Kumar","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html"},"author":{"name":"Anuj Kumar","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/a306dfda8e7fd0ad51892e367edd5730"},"headline":"Run your Unit Tests in Parallel","datePublished":"2013-07-25T13:00:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html"},"wordCount":496,"commentCount":2,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/junit-logo-e1426444701180.jpg","keywords":["EasyTest","JUnit","Testing"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html","url":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html","name":"Run your Unit Tests in Parallel","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/junit-logo-e1426444701180.jpg","datePublished":"2013-07-25T13:00:42+00:00","description":"It was about time when the developer of Unit Tests had the ability to run the tests in Parallel using annotations. In today's blog post, we will look at","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/junit-logo-e1426444701180.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/junit-logo-e1426444701180.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2013\/07\/run-your-unit-tests-in-parallel.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"Run your Unit Tests in Parallel"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/a306dfda8e7fd0ad51892e367edd5730","name":"Anuj Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ba220380b26b6a5a1ae7c0468a6987dc8d667f5b5791054266132acfa3c0b8b2?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ba220380b26b6a5a1ae7c0468a6987dc8d667f5b5791054266132acfa3c0b8b2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ba220380b26b6a5a1ae7c0468a6987dc8d667f5b5791054266132acfa3c0b8b2?s=96&d=mm&r=g","caption":"Anuj Kumar"},"description":"Anuj is working as a Senior S\/W Engineer in Netherlands. He is a Sun Certified Java Professional with experience in design and development of mid\/large scale Java applications. He is the creator of EasyTest Framework(https:\/\/github.com\/EaseTech) which is a Data Driven Testing Framework for Java.","sameAs":["http:\/\/www.kumaranuj.com\/","http:\/\/nl.linkedin.com\/pub\/anuj-kumar\/9\/790\/77b","https:\/\/x.com\/https:\/\/twitter.com\/anujgandharv"],"url":"https:\/\/www.javacodegeeks.com\/author\/anuj-kumar"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/15797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/447"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=15797"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/15797\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/176"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=15797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=15797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=15797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}