Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trying this in my proj which is based on cucumber testNG - 0 tests run #3

Open
p00rni opened this issue Sep 1, 2021 · 0 comments
Open

Comments

@p00rni
Copy link

p00rni commented Sep 1, 2021

I implemented this in my proj which is based n cucumber and TestNG

o tests run - o failures - 0 passes
Exception in thread "TestNG-test=Edge-1" java.lang.NullPointerException: Cannot invoke "com.aventstack.extentreports.ExtentTest.addScreenCaptureFromBase64String(String)" because the return value of "com.snoop.utils.extentReports.ExtentTestManager.getTest()" is null

i get this above exception

runner class has :
@RunWith(Cucumber.class)
@CucumberOptions(
features = "src/test/resources/features",

	glue = {"com.snoop.stepDefs" }, 
	monochrome = true, 
	tags =  "@yourMoney", 
	publish = true,
	plugin = {  "com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:" 
	 })

report gets generated with no results as no tests are run. kindly help with this.

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant