All Questions
4 questions
1
vote
1
answer
92
views
What to test on a rest API?
I created a rest controller with Spring Boot, I am trying to learn what I should write on my tests, right now I only check status codes and keys existence. I am planning to build an API to showcase at ...
14
votes
4
answers
3k
views
Unit testing Video Service class
I wrote my first unit testing code on a service class using Mockito. The code looks like this:
...
1
vote
1
answer
396
views
Testing a service that makes database calls, without a database
I'm working on a new service, for the past year I haven't needed to write tests from scratch. I've either been bug fixing, or adding features that require modification of tests, but not writing ...
2
votes
0
answers
349
views
Unit/Integration Tests for Maven plugin that creates Skipper packages
I am writing an extension to a maven mojo (spring-cloud-skipper-maven-plugin) and I am now writing tests that interact with a skipper server.
However, getting the ...