Skip to content

bobpozun/python-webdriver-nose-test-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Automation

Dependencies

  • Install Python
  • Install pip: easy_install pip or upgrade pip install --upgrade pip
  • Install dependencies: pip install -r requirements.txt

Notes

Run Example

All Selenium Tests:

nosetests -v --with-xunit --tc-file=cfg/google-com.cfg

To run a Specific Selenium Test File:

nosetests -v --with-xunit --tc-file=cfg/google-com.cfg test.py

To run a subset of tests based on a test @attr like smoke or regression:

--attr=smoke

  • Example
    • nosetests -v --with-xunit --tc-file=cfg/google-com.cfg test.py --attr=smoke

To run a Class of Selenium Tests:

nosetests -v --with-xunit --tc-file=cfg/google-com.cfg test.py:Basic

To run a single Selenium Test:

nosetests -v --with-xunit --tc-file=cfg/google-com.cfg test.py:Basic.open_page

About

A basic skeleton for getting started with webdriver using nose and testconfig

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages