String functionNameFromTestFileInStackTrace ;
String lineNumberFromTestFileInStackTrace ;
From where we have to get the values for these arguments and what is this stack trace ?.
String functionNameFromTestFileInStackTrace ;
String lineNumberFromTestFileInStackTrace ;
From where we have to get the values for these arguments and what is this stack trace ?.
You will get the hint from the second TODO in the PortfolioManagerApplication.java
Do we have to include the garbage number received for the Object Mapper .But they are changing everytime I am finding their values.
Yes include the garbage value.
Does the stack trace means call stack panel in debug window?
Yes I took it from there only. It worked for me.
When I run ./gradlew test --tests PortfolioManagerApplicationTest.testDebugValues .It shows build suucessful but when I try to submit the module for assesment it shows 2 test case failure and these are due to this .What can be the reason for it?
try building using ā./gradlew buildā and see if it is successful.
These both shows succesful on execution.
Try interpreting unitTesting.log. You will get to know where your test is failing.
2020-02-23 07:19:54,123 unitTesting INFO Running gradle test
2020-02-23 07:20:14,285 unitTesting INFO Gradle test run complete
2020-02-23 07:20:14,313 unitTesting INFO Build failed
The unitTesting.log file shows this.
Your build is failing. Try ā./gradlew buildā to see for errors.
What is the content of unitTesting this time ?
Still same build failed
Are you getting the expected output using './gradlew run --args=ātrades.jsonā ā
If yes, check again for all the variable values.
Try again after resetting the workspace.
I am getting correct output after running './gradlew run --args=ātrades.json
Whatās your output. Match it with expected output.
Refer This