Skip to content

robsonagapito/visual-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Versions

  • Python Version - Python 3.7.0
  • Pip Version - pip 19.3.1

Install

Pip

Selenium

pip install selenium

Needle

pip install needle

Nose

pip install nose

PerceptualDiff

  • Download the latest version of PerceptualDiff. Include the PerceptualDiff folder in your PATH environment variable.

https://sourceforge.net/projects/pdiff/files/

Selenium Drivers

If your driver is not compatible with your browser, the testing automation will not be to work.

Obs:For windows, you need to have FreeImage.dll to working correctly

Running

  • Create baseline:

nosetests testing/example01.py --with-save-baseline

  • Run with cleanup files on success:

nosetests testing/example01.py --with-needle-cleanup-on-success

  • Simple Run:

nosetests testing/example01.py

Extras

  • Github - Python Needle

https://github.com/python-needle/needle

About

Visual testing with Python, Needle and Nose.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published