Skip to content

AlimulK/hypothesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup

First clone this repo.

Open the repo in the editor of your choice, I will be using VSCode.

Setup Virtual Environment

Create the Virtual Environment

Input into your terminal:

python -m venv env

Activating the Virtual Environment

Most of the time the environment will activate automatically (you may need to start a new terminal).

If it doesn't then type the following into the terminal:

env\Scripts\activate

You should have (env) before the command prompt.

Install the requirements

Input into your terminal:

pip install -r requirements_user.txt

Test that it works

Run helloworld.py

You should get a large output, the end of which should have:

UnboundLocalError: cannot access local variable 'character' where it is not associated with a value
Falsifying explicit example: test_decode_inverts_encode(
    s='',
)

About

Experimenting with the property-based testing library Hypothesis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages