{"action":"created","issue":{"url":"https://api.github.com/repos/virenv/ParallelTestNg/issues/1","labels_url":"https://api.github.com/repos/virenv/ParallelTestNg/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/virenv/ParallelTestNg/issues/1/comments","events_url":"https://api.github.com/repos/virenv/ParallelTestNg/issues/1/events","html_url":"https://github.com/virenv/ParallelTestNg/issues/1","id":117224587,"number":1,"title":"Not able to run the tests when extented to ExtentReports","user":{"login":"saikrishna321","id":4045041,"avatar_url":"https://avatars.githubusercontent.com/u/4045041?v=3","gravatar_id":"","url":"https://api.github.com/users/saikrishna321","html_url":"https://github.com/saikrishna321","followers_url":"https://api.github.com/users/saikrishna321/followers","following_url":"https://api.github.com/users/saikrishna321/following{/other_user}","gists_url":"https://api.github.com/users/saikrishna321/gists{/gist_id}","starred_url":"https://api.github.com/users/saikrishna321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saikrishna321/subscriptions","organizations_url":"https://api.github.com/users/saikrishna321/orgs","repos_url":"https://api.github.com/users/saikrishna321/repos","events_url":"https://api.github.com/users/saikrishna321/events{/privacy}","received_events_url":"https://api.github.com/users/saikrishna321/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-16T21:41:59Z","updated_at":"2015-11-17T21:38:42Z","closed_at":null,"body":"@virenv i was trying to run this sample test extending it to ExtentReports i get the below error \r\n\r\nListener com.test.basetest.BaseTest must be one of ITestListener, ISuiteListener, IReporter,  IAnnotationTransformer, IMethodInterceptor or IInvokedMethodListener\r\nUsage: <main class> [options] The XML suite files to run\r\n  Options:\r\n    -configfailurepolicy\r\n       Configuration failure policy (skip or continue)\r\n    -d\r\n       Output directory\r\n    -dataproviderthreadcount\r\n       Number of threads to use when running data providers\r\n    -excludegroups\r\n       Comma-separated list of group names to  exclude\r\n    -groups\r\n       Comma-separated list of group names to be run\r\n    -junit\r\n       JUnit mode\r\n       Default: false\r\n    -listener\r\n       List of .class files or list of class names implementing ITestListener or\r\n       ISuiteListener\r\n    -methods\r\n       Comma separated of test methods\r\n       Default: []\r\n    -methodselectors\r\n       List of .class files or list of class names implementing IMethodSelector\r\n    -mixed\r\n       Mixed mode - autodetect the type of current test and run it with\r\n       appropriate runner\r\n       Default: false\r\n    -objectfactory\r\n       List of .class files or list of class names implementing\r\n       ITestRunnerFactory\r\n    -parallel\r\n       Parallel mode (methods, tests or classes)\r\n    -port\r\n       The port\r\n    -reporter\r\n       Extended configuration for custom report listener\r\n    -suitename\r\n       Default name of test suite, if not specified in suite definition file or\r\n       source code\r\n    -suitethreadpoolsize\r\n       Size of the thread pool to use to run suites\r\n       Default: 1\r\n    -testclass\r\n       The list of test classes\r\n    -testjar\r\n       A jar file containing the tests\r\n    -testname\r\n       Default name of test, if not specified in suitedefinition file or source\r\n       code\r\n    -testnames\r\n       The list of test names to run\r\n    -testrunfactory, -testRunFactory\r\n       The factory used to create tests\r\n    -threadcount\r\n       Number of threads to use when running tests in parallel\r\n    -usedefaultlisteners\r\n       Whether to use the default listeners\r\n       Default: true\r\n    -log, -verbose\r\n       Level of verbosity\r\n    -xmlpathinjar\r\n       The full path to the xml file inside the jar file (only valid if -testjar\r\n       was specified)\r\n       Default: testng.xml\r\n\r\n\r\n\r\ni referred your parallelusage as sample to run the extent_reports"},"comment":{"url":"https://api.github.com/repos/virenv/ParallelTestNg/issues/comments/157516690","html_url":"https://github.com/virenv/ParallelTestNg/issues/1#issuecomment-157516690","issue_url":"https://api.github.com/repos/virenv/ParallelTestNg/issues/1","id":157516690,"user":{"login":"virenv","id":6619269,"avatar_url":"https://avatars.githubusercontent.com/u/6619269?v=3","gravatar_id":"","url":"https://api.github.com/users/virenv","html_url":"https://github.com/virenv","followers_url":"https://api.github.com/users/virenv/followers","following_url":"https://api.github.com/users/virenv/following{/other_user}","gists_url":"https://api.github.com/users/virenv/gists{/gist_id}","starred_url":"https://api.github.com/users/virenv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virenv/subscriptions","organizations_url":"https://api.github.com/users/virenv/orgs","repos_url":"https://api.github.com/users/virenv/repos","events_url":"https://api.github.com/users/virenv/events{/privacy}","received_events_url":"https://api.github.com/users/virenv/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T21:38:41Z","updated_at":"2015-11-17T21:38:41Z","body":"On second thought Runner.java should be just fine because ComplexReportFactory maintains only one instance of ExtentReporter so we should be good there."}}