vgosain-psg commented on code in PR #1146:
URL: https://github.com/apache/tomcat/pull/1146#discussion_r4591211984
##########
test-profiles.properties.default:
##########
@@ -43,9 +43,9 @@ org/apache/catalina/servlets/TestDefaultServlet.java,\
org/apache/catalina/servlets/TestDefaultServletOptions.java,\
org/apache/catalina/servlets/TestWebdavServletOptionsFile.java,\
org/apache/catalina/startup/TestContextConfig.java,\
-org/apache/catalina/startup/TestHostConfigAutomaticDeploymentA.java,\
-org/apache/catalina/startup/TestHostConfigAutomaticDeploymentB.java,\
-org/apache/catalina/startup/TestHostConfigAutomaticDeploymentC.java,\
+org/apache/catalina/startup/TestHostConfigAutomaticDeploymentDir.java,\
+org/apache/catalina/startup/TestHostConfigAutomaticDeploymentWar.java,\
+org/apache/catalina/startup/TestHostConfigAutomaticDeploymentXml.java,\
Review Comment:
Done — split into a separate commit (the first of two on this branch).
##########
BUILDING.txt:
##########
@@ -603,7 +603,49 @@ NOTE: Cobertura is licensed under GPL v2 with parts of it
being under
test.verbose=false
-(7.5) Running httpd integration tests
+(7.5) Running tests by profile
+
+Tomcat provides named test profiles for running curated subsets of tests
+without specifying file patterns manually.
+
+Available profiles:
+
+ smoke - Core smoke tests covering key subsystems
+ catalina - All Catalina servlet container tests
+ coyote - All Coyote protocol/connector tests
+ tribes - All Tribes clustering tests
+ performance - Performance benchmark tests (excluded by default)
+ buildutil - Build utility tests (excluded by default)
+ integration - httpd integration tests (excluded by default)
+
+Usage:
+
+ ant test -Dtest.profile=smoke
+ ant test -Dtest.profile=catalina
+
+Profile patterns are defined in test-profiles.properties.default and can
+be overridden by creating a test-profiles.properties file at the project root.
+
+(7.5.1) Running smoke tests via JUnit @Category (proof of concept)
Review Comment:
Removed — no longer mentions proof of concept.
##########
webapps/docs/changelog.xml:
##########
@@ -1708,6 +1694,14 @@
<update>
Update Tomcat Native to 2.0.17. (markt)
</update>
+ <add>
+ Introduce JUnit <code>@Category</code>-based smoke test suite as a
+ proof of concept. Annotate smoke tests with
Review Comment:
Removed — the changelog entry now just describes what the change does.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]