I have tried to get my SpringJPA to work but to no avail.
So, I am thinking of using @DataJpaTest to check if there is any part that is not working but I am not sure if @DataJpaTest is the way to do it.
Furthermore, when I right-click JUnittest, there isn't anything appear in the console, I am wondering if it is running via JUnit test or what.
Here's the code :
So, I'm trying to make sure that the order cannot be saved but I am not sure what is the assert to use
And how do I perform a test like this ?
Serious I wonder how other people can meet the deadline whereas I am like constantly facing all sorts of problems to resolve...I wonder if this is a indication I am not suitable