lhotari commented on code in PR #23565:
URL: https://github.com/apache/pulsar/pull/23565#discussion_r1908385125


##########
pip/pip-390.md:
##########
@@ -0,0 +1,79 @@
+# PIP-390: Improve the reusability of Pulsar test code and best practices for 
unit and integration tests in Pulsar
+
+## Background
+
+- Pulsar integration tests are located in the `tests` module, which run on 
[testcontainers](https://github.com/testcontainers).
+- Pulsar unit tests are located in each module under the test scope, with many 
tests running on mocked (in-memory) Pulsar clusters. 
+- Currently, Pulsar tests run on the `testng` framework.

Review Comment:
   > So is Pulsar's testing going to switch to using JUnit 5 and remove testng?
   
   @falser101 Perhaps eventually, but that will take a very long time. Instead 
of having the goal of converting from TestNG to JUnit5, I believe that it would 
be more valuable to first provide ways to create JUnit5 tests. There's not much 
value in doing a 1-to-1 mapping from TestNG to JUnit5.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to