You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Irvine (Jira)" <ji...@apache.org> on 2021/11/30 13:01:00 UTC

[jira] [Commented] (IOTDB-1559) Refactor the IT framework

    [ https://issues.apache.org/jira/browse/IOTDB-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451111#comment-17451111 ] 

Irvine commented on IOTDB-1559:
-------------------------------

As catching up with the master branch is continuous and massive, all refactor work can be split into two temporary phases.

Phase 1,
 * This PR should be reviewed.
 * All tests should be annotated with the LocalStandaloneTest category.
 * All these LocalStandaloneTest should be passed.
 * No-brain tutorials should be done.

The milestone of phase 1 is the PR of [GitHub Pull Request #4371|https://github.com/apache/iotdb/pull/4371] is merged.

Phase 2,
 * All tests should be appropriately annotated with the ClusterTest category.
 * All these ClusterTest should be passed.
 * New IT should be followed by No-brain tutorials.

The milestone of phase 2 is all ITs are passed.

The above is already mentioned in the #integration-test channel of slack in Chinese. I will sync the progress in slack.

> Refactor the IT framework
> -------------------------
>
>                 Key: IOTDB-1559
>                 URL: https://issues.apache.org/jira/browse/IOTDB-1559
>             Project: Apache IoTDB
>          Issue Type: Improvement
>            Reporter: Irvine
>            Assignee: Irvine
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: master branch
>
>
> - Background
> Today iotdb has many IT cases, some are in the server module, some are in the cluster module, and some cluster test cases are in the testcontainer module.
> The test case structure causes developers to sometimes write test cases repeatedly to ensure running correctly of the single-node mode and the cluster mode.
>  - Suggestion
> At present, the test cases of single-node mode and cluster mode are separated, but they have intersections, and they can be classified for reuse by using JUnit's category annotation.
> In the testcontainer module, test cases are based on the test environment, but the test environment is relatively fixed, we can use maven to configure multiple environments to test the classified test cases.
>  - User Guide
> [https://github.com/apache/iotdb/blob/master/integration/README.md]
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)