| Title: Section IV - Instructions to regression test Fortress and ApacheDS |
| NavPrev: section-III.html |
| NavPrevText: Section III - Instructions to configure ApacheDS and load with seed data |
| NavUp: apacheds.html |
| NavUpText: Quickstart ApacheDS - Table of contents |
| NavNext: section-V.html |
| NavNextText: Section V - Instructions to install Commander Web UI Demo |
| Notice: Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| . |
| http://www.apache.org/licenses/LICENSE-2.0 |
| . |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| ## Section IV - Instructions to regression test Fortress and ApacheDS on target machine (optional) |
| |
| ### Step 1 |
| |
| From FORTRESS_HOME root folder, enter the following command from a system prompt: |
| |
| ./b.sh test-full |
| |
| <CENTER> |
| <IMG src="../../images/Screenshot10-ant-test-init.png" alt="Screenshot"/> |
| </CENTER> |
| |
| Note: The Fortress regression tests will run for around 3 minutes. |
| |
| ### Step 2 |
| |
| Verify these tests ran with no ERRORS. |
| |
| BUILD SUCCESSFUL |
| |
| <CENTER> |
| <IMG src="../../images/Screenshot11-ant-test-success.png" alt="Screenshot" width="766" height="59"/> |
| </CENTER> |
| |
| ### Step 3 |
| |
| To re-run these tests: |
| |
| ./b.sh test-full |
| |
| <DIV class="note" markdown="1"> |
| WARNING messages in test output are good as these are negative tests in action. |
| </DIV> |
| |
| <CENTER> |
| <IMG src="../../images/Screenshot12-junit-warn.png" alt="Screenshot"/> |
| </CENTER> |
| |
| <DIV class="note" markdown="1"> |
| If you made it this far without junit or ant ERRORS, the Fortress and ApacheDS IAM system are certified to run on your machine. |
| </DIV> |
| |
| <DIV class="note" markdown="1"> |
| These tests load tens of thousands of records into your newly installed directory. The 'init-apacheds' and 'test-full' targets may be re-run as often as necessary. After regressions testing has completed, you may run the 'init-apacheds' target to remove all test data from the directory. |
| </DIV> |