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

Using Docker For Unit Testing

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8
    • 0.9
    • build process
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: