All Questions
5 questions
0
votes
1
answer
533
views
How can we better maintain a large amount of DbUnit datasets?
The project
I'm currently working on a Spring Boot project, and I have a question regarding testing against the database. Our testing tech is currently JUnit 4, Mockito and DbUnit, and we test ...
0
votes
2
answers
114
views
What to test when testing an API? [closed]
When testing an API (with, for example, Java), what parts should I actually be testing when calling methods of my Controller class (e.g. a Spring RestController)?
For example, lets say I've got a ...
-1
votes
1
answer
402
views
Given an implementation of a Service Layer and Repository layer, should you make tests of both?
Currently I have an entity called Product with the respective ProductRepository and ProductService.
For ProductService, I have tests for:
Read (Covering Create too)
Update
Delete
Besides achieving ...
0
votes
2
answers
640
views
Spring-MVC : Testing code by automatically running it in UI
I am working on a Spring-MVC application(config XML based, no Main class) in which I would like to do testing. I have known that there is a way to test code which is backend+frontend code. For that, I ...
4
votes
2
answers
398
views
How to add rigor to my testing?
I work on a small/medium sized Java application. Over time, I've tried to ensure that the tests which I write are "good" tests, and that there's plenty of them. Hence I've been looking into various, ...