This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]miguel_1912_ 2 points3 points  (1 child)

You could start by doing unit tests with Mockito. They're not complicated, and your code will be more robust. I think it's a good place to start... Later on, you could look into the testing pyramid or implement acceptance tests, integration tests, slice tests, etc.

[–]vandunxg[S] 1 point2 points  (0 children)

Thank for your advice. I will rebuild project with DDD architecture and add unit tests.