Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Activiti
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<hr /> <h1>Continuous Integration</h1> <p>Activiti Hudson: <a href="http://178.77.67.242:8080/">http://178.77.67.242:8080/</a></p> <p>Activiti Bamboo on Codehaus (deprecated): <a href="http://bamboo.ci.codehaus.org/browse/ACT">http://bamboo.ci.codehaus.org/browse/ACT</a></p> <p>All activiti developers have permission to start a new build manually.</p> <h1><span style="color: rgb(0,51,102);"><strong>Running the database tests</strong></span></h1> <p>Goal: run the test suite against a specific database.</p> <p>Specify properties in command line:</p> <table class="wysiwyg-macro" data-macro-name="noformat" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e25vZm9ybWF0fQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>mvn -Pcheck clean install -Ddatabase=mysql -Djdbc.driver=com.mysql.jdbc.Driver -Djdbc.url=jdbc:mysql://localhost:3309/activiti -Djdbc.username=activiti -Djdbc.password=activiti</pre></td></tr></table> <p>Alternatively, you can specify the properties in a local file. This information goes into a file called 'mysql.properties'. Please create the following folder structure:</p> <table class="wysiwyg-macro" data-macro-name="noformat" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e25vZm9ybWF0fQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>/{user_home}/.activiti/jdbc</pre></td></tr></table> <p><span style="color: rgb(0,0,0);">Within this directoy create a new file mysql.properties like this:</span></p> <table class="wysiwyg-macro" data-macro-name="noformat" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e25vZm9ybWF0fQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> jdbc.driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://<hostname>:<port>/activiti jdbc.username=qa jdbc.password=qa </pre></td></tr></table> <p><span style="color: rgb(0,51,102);"><strong>Running the upgrade tests</strong></span></p> <h1>Running the server tests</h1> <h1>Running QA tests</h1> <p><span style="color: rgb(0,0,0);">Tested database systems so far are:</span></p> <ul> <li>H2</li> <li>MySQL 5.1</li> </ul> <h2>Setup / Configuration</h2> <p><span style="color: rgb(0,0,0);">The following lines will guide you through running the test suite. For this example we will use MySQL 5.1 as database environment. If you would like to run the test suite against a yet unsupported database environment, consult the</span><span style="color: rgb(0,51,102);">[</span><span style="color: rgb(0,51,102);">Developer Guide - Adding support for new database systems</span>|ACT:Developers Guide].</p> <ul> <li><strong>Checkout activiti project from SVN</strong> <br /> Before you can run the test suite, you need to <span style="color: rgb(0,51,102);">[</span><span style="color: rgb(0,51,102);">checkout activiti</span>|http://docs.codehaus.org/display/ACT/Developers+Guide#DevelopersGuide-Buildingadistribution]. The qa tests are located in the projects 'activiti-engine' and in 'activiti-engine-examples', but you do not need to start them from there separately. You will start the tests from the quality assurance project. But before we have to create a new database schema and user.<br /> * <strong>Create a new schema and user</strong> <br /> First we need to create a new schema and a new user for the database connection. We set the schema name to 'activiti'.The users name and password are 'qa'! If you need guidance on how to create a new schema and user for MySQL, please consult their [documentation|http://dev.mysql.com/doc/]. Now we need to make sure that the test suite gets a database connection.<br /> * <strong>Create a database connection file</strong> <span style="color: rgb(0,51,102);"><strong>Run the test suite</strong></span></li> </ul> <p><span style="color: rgb(0,0,0);">Now we are ready to run the qa script. Navigate to /activiti/trunk/qa/ci and run the script that is suitable for your operating system like this:</span></p> <table class="wysiwyg-macro" data-macro-name="noformat" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e25vZm9ybWF0fQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> run-test-db-standalone mysql </pre></td></tr></table> <p><span style="color: rgb(0,0,0);">If you would like to run the qa script against H2, then you need to execute this command:</span></p> <table class="wysiwyg-macro" data-macro-name="noformat" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e25vZm9ybWF0fQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> run-test-db-standalone h2 </pre></td></tr></table> <hr />
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced