- For simplicity, our example application only sends JSON back and forth, but the application should be architectured in such a way that you can easily change the format of the data, to tailor for different clients or user preferences.
Sunday, June 24, 2018
rest api
Saturday, June 23, 2018
mockito
- https://medium.com/@gustavo.ponce.ch/spring-boot-restful-junit-mockito-hamcrest-eclemma-5add7f725d4e
- can we use same mock in two different test methods? what would be its implications ie. pros and cons?
- what layer is best suitable for being tested through mockito? controller or service? or both?
- https://dzone.com/articles/spring-boot-unit-testing-and-mocking-with-mockito
- @Mock vs @InjectMocks?
error-selection-does-not-contain-a-main-type
- https://stackoverflow.com/questions/31250359/git-repository-how-to-recover-deleted-files
- check the folder structure
- do you have src/main/java structure and inside it do you have Main class?
Subscribe to:
Posts (Atom)