<commit_before># catinabox - Intro to Testing and Test Automation in Python
[![Build Status](https://travis-ci.org/keeppythonweird/catinabox.svg?branch=master)](https://travis-ci.org/keeppythonweird/catinabox)

Coverage status:
* Master (test stubs only): [![Coverage Status (Pre tests)](https://coveralls.io/repos/keeppythonweird/catinabox/badge.svg?branch=master&service=github)](https://coveralls.io/github/keeppythonweird/catinabox?branch=master)
* [Solutions branch](https://github.com/keeppythonweird/catinabox/tree/solutions) (all tests added): [![Coverage Status (Post tests)](https://coveralls.io/repos/keeppythonweird/catinabox/badge.svg?branch=solutions&service=github)](https://coveralls.io/github/keeppythonweird/catinabox?branch=solutions)

Accompanies the [Intro to Testing and Test Automation in Python slide deck](https://docs.google.com/presentation/d/11j8t75M6lOSZdDv2vJyDKxrk7n5K0GqcX2inx8mzi-M/edit?usp=sharing). Aesthetic inspired by [@sailorhg](https://twitter.com/sailorhg).

![catinabox](pics/catinabox.png)

This repo holds a tutorial which will walk you through adding unit tests,
exploring these features of unit testing in general and pytest in particular:
- Basic unit testing
- Observing test success and coverage using
  [Travis CI](https://travis-ci.org/) and [coveralls](https://coveralls.io/).

# Requirements
<commit_msg>Link to latest presentation slides<commit_after># catinabox - Intro to Testing and Test Automation in Python
[![Build Status](https://travis-ci.org/keeppythonweird/catinabox.svg?branch=master)](https://travis-ci.org/keeppythonweird/catinabox)

Coverage status:
* Master (test stubs only): [![Coverage Status (Pre tests)](https://coveralls.io/repos/keeppythonweird/catinabox/badge.svg?branch=master&service=github)](https://coveralls.io/github/keeppythonweird/catinabox?branch=master)
* [Solutions branch](https://github.com/keeppythonweird/catinabox/tree/solutions) (all tests added): [![Coverage Status (Post tests)](https://coveralls.io/repos/keeppythonweird/catinabox/badge.svg?branch=solutions&service=github)](https://coveralls.io/github/keeppythonweird/catinabox?branch=solutions)

Accompanies the [Intro to Testing and Test Automation in Python slide deck](https://docs.google.com/presentation/d/1cNgZdkw2cik4i4Mc1Ka7frPAdZky3hwpq0vycBDMufE/edit). Aesthetic inspired by [@sailorhg](https://twitter.com/sailorhg).

![catinabox](pics/catinabox.png)

This repo holds a tutorial which will walk you through adding unit tests,
exploring these features of unit testing in general and pytest in particular:
- Basic unit testing
- Observing test success and coverage using
  [Travis CI](https://travis-ci.org/) and [coveralls](https://coveralls.io/).

# Requirements

{'fraction_non_alphanumeric': 0.12963643040763864, 'fraction_numerical': 0.007344840249724568, 'mean_word_length': 6.566666666666666, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 22, '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': '3557508', 'n_tokens_mistral': 967, 'n_tokens_neox': 916, 'n_words': 178}