Why this is failing

com.crio.warmup.stock.portfolio.PortfolioManagerTest > calculateExtrapolatedAnnualizedReturn() FAILED
org.opentest4j.AssertionFailedError at PortfolioManagerTest.java:110

Your code is not returning the expected output for the given test case.

how can i check what my code is returning in this case?

You can use the debugger to add breakpoint before the return statement and check the value. Compare that with the expected output.

Use the output option which at the second left from terminal Button.

output tab is showing nothing

But debbuger is not running it is showing

Error: No delegateCommandHandler for vscode.java.checkProjectSettings

Check this out.

Put breakpoints in function during the test where you think the error may occur and use the debugging option and see variables and returning value.

BreakPoint is not stopping

Put it on the right file.

Did you try hard refresh of workspace and then tried?

yaa now i am able to debug

Could you mark it as solution then and close the ticket?

But the mentioned error is coming

Yeah that’s is because you need to correct your code. See where it’s wrong. That’s not something we can help much in since it’s against guidelines to give answers.