Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cordova Wiki" for 
change notification.

The "ContributorWorkflow" page has been changed by MarcelKinard:
https://wiki.apache.org/cordova/ContributorWorkflow?action=diff&rev1=23&rev2=24

Comment:
added verbage about test expectations

  Note that the first line does two things: (1) it is less than 50 characters. 
Subsequent lines after the first may exceed 50 characters. (2) it references a 
Jira issue by its id (CB-1234). Commonly, there should be a Jira issue open for 
defects and new features, and it is good practice for commits to point to the 
Jira issue they are addressing. And vice versa, you should add a comment to the 
Jira issue referencing the commit id(s) that contain your work. By adding the 
Jira number in square brackets in the commit message, you can take care of both 
in one step: there will be an 
[[http://www.apache.org/dev/svngit2jira.html|automatic comment]] added to the 
Jira item with the commit id, and of course the Jira item id will be in the git 
commit message.
  
  Long commit messages are not necessary, especially if there is a reference to 
a Jira item. More good advice on this topic is in the 
[[http://git-scm.com/book/ch5-2.html#Commit-Guidelines|Git book]].
+ 
+ === Test Your Changes ===
+ 
+ The contributor is responsible to test their changes and correct any problems 
with their changes before a pull request is submitted. The testing includes 
both verifying the function they added/touched, plus running the test suites to 
verify there are no regressions.
+ 
+ When we say "run the test suites" this includes all automated tests in 
mobile-spec, manual tests in mobile-spec that might be affected by the change, 
and any platform-specific unit tests (i.e., cordova-android/test, 
cordova-ios/CordovaLibTests, etc.)
+ 
+ It is recommended that you add a comment in Jira about what testing you did 
with your change, so a committer can understand what testing was done before 
they merge your change. It is also recommended that where reasonably feasible, 
you add automated tests to mobile-spec to validate your change and catch any 
future regressions.
   
  === Commit More File Changes ===
  

Reply via email to