GoogleCloudPlatform / GoogleCloudPlatform/spring-cloud-gcp

Add data test annotations for datastore, firestore and spanner

Open
#1,245 6 comments 1 reaction 0 assignees View on GitHub
priority: p3 testing type: enhancement
Dominant language
Java
Stars
551
Forks
349
Avg merge
1d 13h
Merged PRs (30d)
14

Description

**Is your feature request related to a problem? Please describe.**
Make easy to slice test using datastore, firestoee and spanner

**Describe the solution you'd like**
Looking into [testing-code-that-uses-cloud-spanner](https://github.com/googleapis/google-cloud-java/blob/master/TESTING.md#testing-code-that-uses-cloud-spanner) I think the project can provide the infrastructure with @DataSpannerTest annotation. There are similar annotation for neo4j, jdbc, jpa and so on in the spring-boot project

See this [draft](https://github.com/spring-attic/spring-cloud-gcp/pull/2416)

**Describe alternatives you've considered**

**Additional context**

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked TESTING.md section on testing code that uses Cloud Spanner and the referenced spring-cloud-gcp draft pull request. Compare the proposed annotation approach for datastore, Firestore, and Spanner with the existing Spring Boot annotations. Done means the project provides and documents usable data-test annotations for the requested datastores.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
databases, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.