All Projects → python-needle → Needle

python-needle / Needle

Licence: other
Automated tests for your CSS.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Needle

Surfboard
Surfboard is a delightful onboarding framework for iOS.
Stars: ✭ 434 (-23.19%)
Mutual labels:  screenshot
Painterro
Painterro - JavaScript painting plugin
Stars: ✭ 496 (-12.21%)
Mutual labels:  screenshot
Grim
Grab images from a Wayland compositor
Stars: ✭ 533 (-5.66%)
Mutual labels:  screenshot
Storycap
A Storybook Addon, Save the screenshot image of your stories 📷 via puppeteer.
Stars: ✭ 451 (-20.18%)
Mutual labels:  screenshot
Injectablegenericcamerasystem
This is a generic camera system to be used as the base for cameras for taking screenshots within games. The main purpose of the system is to hijack the in-game 3D camera by overwriting values in its camera structure with our own values so we can control where the camera is located, it's pitch/yaw/roll values, its FoV and the camera's look vector.
Stars: ✭ 492 (-12.92%)
Mutual labels:  screenshot
Ashot
WebDriver Screenshot utility. Take screenshots, crop, prettify, compare
Stars: ✭ 507 (-10.27%)
Mutual labels:  screenshot
Docker Puppeteer
docker image with Google Puppeteer installed
Stars: ✭ 415 (-26.55%)
Mutual labels:  screenshot
Html2canvas
Screenshots with JavaScript
Stars: ✭ 25,113 (+4344.78%)
Mutual labels:  screenshot
Url2img
HTTP server with API for capturing screenshots of websites
Stars: ✭ 495 (-12.39%)
Mutual labels:  screenshot
Nextcloud Notes
✎ Android client for Nextcloud Notes app.
Stars: ✭ 529 (-6.37%)
Mutual labels:  screenshot
Ffcast
Run command on rectangular screen regions
Stars: ✭ 478 (-15.4%)
Mutual labels:  screenshot
Artplayer
🎨 ArtPlayer.js is a modern and full featured HTML5 video player
Stars: ✭ 484 (-14.34%)
Mutual labels:  screenshot
React Screenshot Test
A dead simple library to screenshot test React components
Stars: ✭ 519 (-8.14%)
Mutual labels:  screenshot
Shotlooter
a recon tool that finds sensitive data inside the screenshots uploaded to prnt.sc
Stars: ✭ 451 (-20.18%)
Mutual labels:  screenshot
Screencloud
Screenshot sharing application for Windows, Mac and Linux.
Stars: ✭ 537 (-4.96%)
Mutual labels:  screenshot
Puppetron
Puppeteer (Headless Chrome Node API)-based rendering solution.
Stars: ✭ 429 (-24.07%)
Mutual labels:  screenshot
Deviceframe
📱 Put device frames around your mobile/web/progressive app screenshots.
Stars: ✭ 507 (-10.27%)
Mutual labels:  screenshot
Screenshot
Go library to capture desktop to image
Stars: ✭ 545 (-3.54%)
Mutual labels:  screenshot
Imgur Screenshot
Take screenshot selection, upload to imgur. + more cool things
Stars: ✭ 540 (-4.42%)
Mutual labels:  screenshot
Saint
👁 (s)AINT is a Spyware Generator for Windows systems written in Java. [Discontinued]
Stars: ✭ 522 (-7.61%)
Mutual labels:  screenshot

Needle

Build Status

Needle is a tool for testing visuals with Selenium and nose.

It checks that visuals (CSS/fonts/images/SVG/etc.) render correctly by taking screenshots of portions of a website and comparing them against known good screenshots. It also provides tools for testing calculated CSS values and the position of HTML elements.

Example

This is what a Needle test case looks like:

from needle.cases import NeedleTestCase

class BBCNewsTest(NeedleTestCase):
    def test_masthead(self):
        self.driver.get('http://www.bbc.co.uk/news/')
        self.assertScreenshot('#blq-mast', 'bbc-masthead')

This example checks for regressions in the appearance of the BBC's masthead.

Documentation

Full documentation available on Read the Docs.

If you'd like to build the documentation yourself, first install sphinx:

pip install sphinx

Then run:

cd docs
make html

The documentation will then be available browsable from docs/_build/index.html.

Running Needle's test suite

First install tox (usually via pip install tox). Then:

$ tox
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].