You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
Is your feature request related to a problem? Please describe.
Make easy to test using spanner
Describe the solution you'd like
Looking into 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
Describe alternatives you've considered
Add documentation related to it
Provide an AbstractSpanner class
The text was updated successfully, but these errors were encountered:
this is what we currently should do in order to test the repositories.
With the @SpannerTest or @DataSpannerTest we can provide the right auto-configurations via spring.factories and drop the config to detect repositories. However, the properties need to be set.
I am wondering how the amazing work #2357 can also help this approach. I am also thinking about testing the emulator not only against localhost but also include testcontainers.
Is your feature request related to a problem? Please describe.
Make easy to test using spanner
Describe the solution you'd like
Looking into testing-code-that-uses-cloud-spanner I think the project can provide the infrastructure with
@DataSpannerTest
annotation. There are similar annotation forneo4j
,jdbc
,jpa
and so on in the spring-boot projectDescribe alternatives you've considered
AbstractSpanner
classThe text was updated successfully, but these errors were encountered: