Skip to content

Integration test cases Improvement Project #316

Open
@AlbumenJ

Description

@AlbumenJ

Background

Integration testing is mainly based on Dubbo Samples repo use cases for completion.

Each time GitHub Actions is run, the integration test code will be automatically pulled, and the IT test cases under the test package will be run independently.

The Dubbo Samples warehouse use cases are tested using Junit4 to be compatible with Spring 4 + Springboot 1.x testing.

How to know what needs to be completed

  • By comparing with the examples listed on the official website https://dubbo.apache.org/en/docs/v2.7/user/examples/, add missing use cases
  • You can learn about the functions provided by Dubbo in the process of supplementing the main warehouse unit test cases (some are optional functions that can be enabled based on a switch), and add them to the verification of the integration test
  • There have been useful examples and some are just for simple verification, you can try to improve coverage
  • Add the boundary conditions that you think you may encounter or encountered in production into the integration test. Please submit them under dubbo-samples-boundary-test module.
  • A Readme.md file is required for each sub-project except for the test-only use exception, which briefly describes the role of the use case and how to use it.

How To

  • Submit your PR which contains the test cases directly to apache/dubbo.
  • Leave a comment under this Issue so that we can track this project. You can just simply comment like @AlbumenJ have submit a PR #xxxx(replaced with the PR number) about NacosRegistry(replaced with the related feature) to improve test coverage.

For Newcomer

Notice

  • Integration testing needs to rely on the use of test tools, please read the relevant documentation first
  • The new sub-module submitted needs to contain the relevant configuration files of the test framework and the standardized pom file

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions