<commit_before># pretty_face

HTML report for cucumber and rspec.  You can customize the report by editing an erb file.

The current release is very basic but you can expect a lot more over the next month or so.  If you wish to use this formatter you can simply add the following to your command-line or cucumber.yml profile:

    --format PrettyFace::Formatter::Html --out index.html
    
## Customizing the report

Starting with version 0.3 of the gem you can customize some elements on the report.  You will do this by first creating a directory named `pretty_face` in the `features/support` directory.  Customization files should be placed in this directory.

### Changing the image on all pages

To replace the image that appears at the top of all pages you simply need to place a file in the customization directory named `logo.png`.  The extention can be png, gif, jpg, or jpeg but the filename must be logo in all lower case.  The image will look best if it is around 220 X 220 pixels.

### Replacing the header on the main landing page

To replace the header that appears at the top of the main landing page you simply need to create a file in the customization directory that contains the html you wish to display.  The file must be named `_suite_header.erb`.

### Replacing the header on the feature pages

To replace the header that appears on all of the pages with details about features you simply need to create a file in the customization directory that contains the html you wish to display.  The file must be named `_feature_header.erb`.<commit_msg>Removed Rspec from README. It is not currently supported.<commit_after># pretty_face

HTML report for cucumber.  You can customize the report by editing an erb file.

The current release is very basic but you can expect a lot more over the next month or so.  If you wish to use this formatter you can simply add the following to your command-line or cucumber.yml profile:

    --format PrettyFace::Formatter::Html --out index.html
    
## Customizing the report

Starting with version 0.3 of the gem you can customize some elements on the report.  You will do this by first creating a directory named `pretty_face` in the `features/support` directory.  Customization files should be placed in this directory.

### Changing the image on all pages

To replace the image that appears at the top of all pages you simply need to place a file in the customization directory named `logo.png`.  The extention can be png, gif, jpg, or jpeg but the filename must be logo in all lower case.  The image will look best if it is around 220 X 220 pixels.

### Replacing the header on the main landing page

To replace the header that appears at the top of the main landing page you simply need to create a file in the customization directory that contains the html you wish to display.  The file must be named `_suite_header.erb`.

### Replacing the header on the feature pages

To replace the header that appears on all of the pages with details about features you simply need to create a file in the customization directory that contains the html you wish to display.  The file must be named `_feature_header.erb`.
{'fraction_non_alphanumeric': 0.037247474747474744, 'fraction_numerical': 0.005050505050505051, 'mean_word_length': 3.9905511811023624, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5225563', 'n_tokens_mistral': 800, 'n_tokens_neox': 761, 'n_words': 521}