Uploaded image for project: 'Comdev GSOC'
  1. Comdev GSOC
  2. GSOC-200

Apache ShardingSphere: Add unit test for example

    XMLWordPrintableJSON

Details

    Description

      Apache ShardingSphere

      Apache ShardingSphere is a distributed database middleware ecosystem, including 2 independent products, ShardingSphere JDBC and ShardingSphere Proxy presently. They all provide functions of data sharding, distributed transaction, and database orchestration.
      Page: https://shardingsphere.apache.org
      Github: https://github.com/apache/shardingsphere

      Background

      The examples of ShardingSphere do not have test cases.
      After mvn install, developer can know compiling success only, but the can not guarantee code correct, especially config for YAML, spring namespace and spring boot starter.

      Task

      This issue is to add auto test cases with JUnit to assert startup success and code logic correct.

      Notice, the code of current example may need to be refactor to make it easy for test.

      Relevant Skills

      1. Master JAVA language
      2. Be familiar with spring framework
      3. Have a basic understanding of JUnit

       

      Targets files

      Example repo: https://github.com/apache/shardingsphere/tree/master/examples

      Mentor
      Liang Zhang, PMC Chair of Apache ShardingSphere, zhangliang@apache.org

      Attachments

        Activity

          People

            Unassigned Unassigned
            zhangliang Liang Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: