[ https://issues.apache.org/jira/browse/BEAM-3985?focusedWorklogId=89544&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-89544 ]
ASF GitHub Bot logged work on BEAM-3985: ---------------------------------------- Author: ASF GitHub Bot Created on: 10/Apr/18 18:34 Start Date: 10/Apr/18 18:34 Worklog Time Spent: 10m Work Description: udim commented on a change in pull request #412: [BEAM-3985] Document Gradle commands for testing and linting. URL: https://github.com/apache/beam-site/pull/412#discussion_r180526084 ########## File path: src/contribute/contribution-guide.md ########## @@ -244,16 +244,28 @@ All code should have appropriate unit testing coverage. New code should have new tests in the same contribution. Bug fixes should include a regression test to prevent the issue from reoccurring. -#### Java SDK +The entire set of unit tests can be run with this command at the root of the +git repository. -For contributions to the Java code, run unit tests locally via Maven. + $ ./gradlew test - $ mvn clean verify +Run this command to test for lint errors. + + $ ./gradlew lint + +You can also limit tests to certain language SDKs. + + $ ./gradlew javaPreCommit Review comment: Okay, so what is the suggested gradle task to run java tests? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 89544) Time Spent: 2h (was: 1h 50m) > Update developer guide to reference new Python linting enviroments > ------------------------------------------------------------------ > > Key: BEAM-3985 > URL: https://issues.apache.org/jira/browse/BEAM-3985 > Project: Beam > Issue Type: Task > Components: sdk-py-core, website > Reporter: holdenk > Assignee: Udi Meiri > Priority: Minor > Time Spent: 2h > Remaining Estimate: 0h > > tox.ini changed, but [https://beam.apache.org/contribute/contribution-guide/] > still references the told envs. -- This message was sent by Atlassian JIRA (v7.6.3#76005)