サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
衆院選
www.petrikainulainen.net
Because the standard project layout of a Java project defines only one test directory (src/test), we have no standard way to add integration tests to our Gradle build. If we want to use the standard project layout, we can add integration tests to our Gradle build by using one of the following options: We can add our integration tests to the same directory than our unit tests. This is an awful idea
Integration Testing of Spring MVC Applications: REST API, Part One This is the fourth part of my spring-test-mvc tutorial and it describes how we can write integration tests for a REST API that is implemented by using Spring MVC 3.1. During this tutorial we write integration tests for a simple REST API that provides CRUD functions for todo entries. This blog entry concentrates on three controller
This blog post is outdated! If you want to learn how you can write unit tests for Spring MVC controllers, you should take a look at my updated Spring MVC Test tutorial. It describes how you can write unit tests for Spring MVC controllers with JUnit 5. Writing unit tests for Spring MVC controllers has traditionally been both simple and problematic. Although it is pretty simple to write unit tests w
Getting Started With Gradle: Creating a Web Application Project This blog post describes how we can create a web application project with Gradle. To be more specific, we want to create a web application project that uses Java, package our web application into a WAR file, and run our web application in a development environment. Let’s find out how we can fulfil these requirements. Additional Readin
Creating repositories that use the Java Persistence API is a cumbersome process that takes a lot of time and requires a lot of boilerplate code. We can remove some boilerplate code by creating an abstract base repository class that provides CRUD operations for our entities. This means that we can create concrete repositories by extending that base repository class. In other words, we have to write
This blog post is outdated! If you want to learn how you can write unit tests for Spring MVC controllers, you should take a look at my updated Spring MVC Test tutorial. It describes how you can write unit tests for Spring MVC controllers with JUnit 5. The first part of this tutorial described how we can configure our unit tests which use the Spring MVC Test framework. Now it is time to get our han
Last updated: April 22, 2024 I started to write a new version of my Spring MVC Test tutorial. When this tutorial is finished, it describes how you can write both unit and integration tests for Spring MVC controllers by using the Spring MVC Test framework (aka Spring MockMvc) and JUnit 5. At the moment, my new Spring MVC Test tutorial consists of these blog posts: Introduction and Unit Testing Intr
このページを最初にブックマークしてみませんか?
『www.petrikainulainen.net』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く