Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

RedHatQE/pulp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose: This project is created to automate testing for pulp.

Dependencies:
	properly installed pulp (refer to the pulp wiki: https://fedorahosted.org/pulp/wiki/Install)
        gradle is installed (refer to http://www.gradle.org/docs/current/userguide/installation.html)

Compile:
	Type the following command in the terminal:
	gradle compileGroovy

Running Tests:
	1. Run the following command in the same directory as this folder: mkdir .ssh & ssh-keygen -f .ssh/id_auto_dsa
	2. Enter a password for the ssh key.
	3. Run the following command: ssh-copy-id -i .ssh/id_auto_dsa.pub root@{PULP_SERVER_HOSTNAME}
	4. Copy resource folder to an apache host so that {PULP_SERVER_HOSTNAME} can access the content. 
	5. Edit conf/pulp_automation.conf
	6. Type the following command in the terminal:
		CLI Automation:
			gradle runTestng -Dtestng.suites=cli/tests/testng.xml -Dautomation.propertiesfile=./conf/pulp_automation.conf --info --stacktrace
		V2 CLI Automation:
			gradle runTestng -Dtestng.suites=v2_cli/tests/testng.xml -Dautomation.propertiesfile=./conf/pulp_automation.conf --info --stacktrace
		API Automation:
			gradle runTestng -Dtestng.suites=api/tests/testng.xml -Dautomation.propertiesfile=./conf/pulp_automation.conf --info --stacktrace
		Perf Automation:
			gradle runTestng -Dtestng.suites=perf/tests/testng.xml -Dautomation.propertiesfile=./conf/pulp_automation.conf --info --stacktrace

Output: 
	Test outputs are located by default in ./testing-output folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published