Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-481

Using Docker For Unit Testing

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.9
    • Component/s: build process
    • Labels:
      None

      Description

      I have implemented couchdb datastore on my repo . I want to add test class. So, I must start couchdb server programmatically. But couchdb doesn't support that to start couchdb server programmatically using java. Situations like it may occur in the other datastore implementations. So If docker is used, the datastore starts for testing.

      TestContainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases that can run in a Docker container.

      So, GORA should support Test Containers
      There is a docker container of couchdb here

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cguzel Cihad Guzel
                Reporter:
                cguzel Cihad Guzel
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: