Thoughts on reusing the IT cases. #3706
Replies: 4 comments 3 replies
-
Can you give some examples? |
Beta Was this translation helpful? Give feedback.
-
BTW, as discussed in https://lists.apache.org/thread.html/r435eda40eb6b0c73cafeaae4f6d4f83a4957918c767de439cc1861c5%40%3Cdev.iotdb.apache.org%3E For technical discussion, we'd better to post the discussion on Apache mailing list. (AT LEAST, we should write an email to dev@iotdb.apache.org saying, "hey, I start a discussion about xxxxx on github, the link is http://..... ") |
Beta Was this translation helpful? Give feedback.
-
This is exactly the type of discussion that should take place on the mailinglist and not here ... github discussions should only be used for user support. |
Beta Was this translation helpful? Give feedback.
-
I already move this discussion to Jira, the link is here. Thanks for all relay. |
Beta Was this translation helpful? Give feedback.
-
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.
Hope to get some reply.
Beta Was this translation helpful? Give feedback.
All reactions