<commit_before>robotframework-needle
=====================

CSS Automated tests lib used with Robot Framework<commit_msg>more details on install and doc<commit_after>robotframework-needle
=====================

CSS Automated tests lib used with Robot Framework.
Quick demonstration of how Needle can be called from Robot Framework tests.

1) install Selenium and Needle library
See [needle documentation](http://needle.readthedocs.org/en/latest/)

2) launch test first time to initialize baseline image
```
pybot --test needle_visual_test_first_time test-example.robot
```
=> screenshot is created in screenshots/baseline

3) launch again a test to check visual regression
```
pybot --test needle_visual_test_next_times test-example.robot
```
{'fraction_non_alphanumeric': 0.12129380053908356, 'fraction_numerical': 0.004043126684636119, 'mean_word_length': 6.009433962264151, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1386311', 'n_tokens_mistral': 215, 'n_tokens_neox': 194, 'n_words': 74}