-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added unit test, updated build script and ivy
- Loading branch information
Showing
28 changed files
with
1,606 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> | ||
<classpathentry kind="src" path="test/src"/> | ||
<classpathentry kind="con" path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=QAFOSS&ivyXmlPath=ivy.xml&confs=*"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/Java SE 7 [1.7.0_75]"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
/build/ | ||
/repository/ | ||
/.settings | ||
/test-output/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/test-results/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> | ||
<!-- QMetry Automation Framework provides a powerful and versatile platform | ||
to author Automated Test Cases in Behavior Driven, Keyword Driven or Code | ||
Driven approach Copyright 2016 Infostretch Corporation This program is free | ||
software: you can redistribute it and/or modify it under the terms of the | ||
GNU General Public License as published by the Free Software Foundation, | ||
either version 3 of the License, or any later version. This program is distributed | ||
in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even | ||
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
See the GNU General Public License for more details. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF | ||
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE | ||
You should have received a copy of the GNU General Public License along with | ||
this program in the name of LICENSE.txt in the root folder of the distribution. | ||
If not, see https://opensource.org/licenses/gpl-3.0.html See the NOTICE.TXT | ||
file in root folder of this source files distribution for additional information | ||
regarding copyright ownership and licenses of other open source software | ||
/ files used by QMetry Automation Framework. For any inquiry or need additional | ||
information, please contact [email protected] --> | ||
|
||
<suite name="QAF Tests" verbose="0"> | ||
|
||
<test name="Scenario"> | ||
<packages> | ||
<package name="com.qmetry.qaf.automation.scenario" /> | ||
</packages> | ||
</test> | ||
<test name="TestStep"> | ||
<packages> | ||
<package name="com.qmetry.qaf.automation.step" /> | ||
</packages> | ||
</test> | ||
<test name="Utils"> | ||
<packages> | ||
<package name="com.qmetry.qaf.automation.utils" /> | ||
</packages> | ||
</test> | ||
<test name="TestData"> | ||
<packages> | ||
<package name="com.qmetry.qaf.automation.data" /> | ||
</packages> | ||
</test> | ||
|
||
</suite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
#****************************************************************************************** | ||
# QMetry Automation Framework provides a powerful and versatile platform to author Test Cases in | ||
# Behavior Driven, Keyword Driven or Code Driven approach | ||
# | ||
# Copyright 2016 Infostretch Corporation | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# any later version. | ||
# | ||
# See the NOTICE file in root folder of distributed with this work for | ||
# additional information regarding copyright ownership | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program in the name of LICENSE. | ||
# | ||
# It is located at the root folder of the distribution. | ||
# If not, see https://opensource.org/licenses/gpl-3.0.html | ||
# | ||
#****************************************************************************************** | ||
# Set root category priority to INFO and its only appender to CONSOLE. | ||
#log4j.rootCategory=INFO, CONSOLE | ||
|
||
|
||
log4j.rootCategory=DEBUG, CONSOLE, LOGFILE | ||
log4j.appender.console.Follow=true | ||
#log4j.logger.com.qmetry.qaf=CONSOLE, LOGFILE | ||
# Set the enterprise logger category to FATAL and its only appender to CONSOLE. | ||
log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE | ||
|
||
# CONSOLE is set to be a ConsoleAppender using a PatternLayout. | ||
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender | ||
log4j.appender.CONSOLE.Threshold=INFO | ||
#log4j.appender.CONSOLE.Follow=true | ||
|
||
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.CONSOLE.layout.ConversionPattern=[%c{1}] - %m%n | ||
|
||
# LOGFILE is set to be a File appender using a PatternLayout. | ||
log4j.appender.LOGFILE=org.apache.log4j.FileAppender | ||
log4j.appender.LOGFILE.File=${outputDir}/isfw.log | ||
log4j.appender.LOGFILE.Append=true | ||
log4j.appender.LOGFILE.Threshold=DEBUG | ||
log4j.appender.LOGFILE.Follow=true | ||
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.LOGFILE.layout.ConversionPattern=[%t] %d{HH:mm:ss,SSS} %-5p [%c] %m%n | ||
#%-4r [%t] %-5p %c %x - %m%n | ||
|
||
log4j.logger.com.qmetry.qaf.automation.integration=resultUpdationLog | ||
|
||
# LOGFILE is set to be a File appender using a PatternLayout. | ||
log4j.appender.resultUpdationLog=org.apache.log4j.FileAppender | ||
log4j.appender.resultUpdationLog.File=resultUpdation.log | ||
log4j.appender.resultUpdationLog.Append=true | ||
log4j.appender.resultUpdationLog.Threshold=INFO | ||
log4j.appender.resultUpdationLog.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.resultUpdationLog.layout.ConversionPattern=%-6r [%t] %-5p %c %x - %m%n | ||
|
||
log4j.additivity.com.qmetry.qaf.automation.step=false | ||
log4j.logger.com.qmetry.qaf.automation.step=DEBUG, SCENARIOLOGFILE | ||
log4j.appender.SCENARIOLOGFILE=org.apache.log4j.RollingFileAppender | ||
log4j.appender.SCENARIOLOGFILE.File=${outputDir}/scenario.log | ||
log4j.appender.SCENARIOLOGFILE.Append=true | ||
log4j.appender.SCENARIOLOGFILE.Threshold=DEBUG | ||
log4j.appender.SCENARIOLOGFILE.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.SCENARIOLOGFILE.layout.ConversionPattern=%d{HH:mm:ss} %m%n | ||
|
||
log4j.logger.ws_rest=DEBUG, file | ||
log4j.appender.file=org.apache.log4j.RollingFileAppender | ||
log4j.appender.file.file=${outputDir}/ws.log | ||
log4j.appender.file.MaxFileSize=1GB | ||
log4j.appender.file.MaxBackupIndex=10 | ||
log4j.appender.file.layout=org.apache.log4j.PatternLayout | ||
log4j.appender.file.layout.conversionPattern=%d{[dd.MM.yyyy] [HH:mm:ss]} %p [%t] %c (%F:%L) - %m%n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#******************************************************************************* | ||
# QMetry Automation Framework provides a powerful and versatile platform to author | ||
# Automated Test Cases in Behavior Driven, Keyword Driven or Code Driven approach | ||
# | ||
# Copyright 2016 Infostretch Corporation | ||
# | ||
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | ||
# | ||
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT | ||
# OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE | ||
# | ||
# You should have received a copy of the GNU General Public License along with this program in the name of LICENSE.txt in the root folder of the distribution. If not, see https://opensource.org/licenses/gpl-3.0.html | ||
# | ||
# See the NOTICE.TXT file in root folder of this source files distribution | ||
# for additional information regarding copyright ownership and licenses | ||
# of other open source software / files used by QMetry Automation Framework. | ||
# | ||
# For any inquiry or need additional information, please contact [email protected] | ||
#****************************************************************************** | ||
|
||
env.resources=resources | ||
resources.load.subdirs=1 | ||
|
Oops, something went wrong.