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
To avoid confusion, it has been locked. Please response to the other copy of this post.
Some people, when well-known sources tell them that fire will burn them, don't put their hands in the fire.
Some people, being skeptical, will put their hands in the fire, get burned, and learn not to put their hands in the fire.
And some people, believing that they know better than well-known sources, will claim it's a lie, put their hands in the fire, and continue to scream it's a lie even as their hands burn down to charred stumps.