From 7f5437862037a0a5653415ea7add344674567db0 Mon Sep 17 00:00:00 2001 From: Kevin Gilmore Date: Sun, 13 Mar 2016 23:23:33 -0500 Subject: [PATCH] README file for Spring Data Couchbase project --- spring-data-couchbase-2/README.md | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 spring-data-couchbase-2/README.md diff --git a/spring-data-couchbase-2/README.md b/spring-data-couchbase-2/README.md new file mode 100644 index 0000000000..e58e37e090 --- /dev/null +++ b/spring-data-couchbase-2/README.md @@ -0,0 +1,35 @@ +## Spring Data Couchbase Tutorial Project + +### Relevant Articles: +- [Spring Data Couchbase](http://www.baeldung.com/spring-data-couchbase) + +### Overview +This Maven project contains the Java code for Spring Data Couchbase +entities, repositories, and template-based services +as described in the tutorial, as well as a unit test +for each service implementation. + +### Working with the Code +The project was developed and tested using Java 7 nad 8 in the Eclipse-based +Spring Source Toolkit (STS) and therefore should run fine in any +recent version of Eclipse or another IDE of your choice +that supports Java 7 or later. + +### Building the Project +You can also build the project using Maven outside of any IDE: +``` +mvn clean install +``` + +### Running the tests +There are three test classes in src/test/java in the package +org.baeldung.spring.data.couchbase.service: +- PersonServiceTest (abstract) +- PersonRepositoryTest (concrete) +- PersonTemplateServiceTest (concrete) + +The latter two may be run as JUnit tests from your IDE +or using the Maven command line: +``` +mvn test +```