-
Notifications
You must be signed in to change notification settings - Fork 54
Adds Module 6: Testing Code #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
rsokl
wants to merge
161
commits into
master
Choose a base branch
from
testing-code
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
161 commits
Select commit
Hold shift + click to select a range
26865b2
Begin section on testing code
rsokl ce05d2c
work on intro
rsokl 1042780
complete first cut of intro
rsokl ea239ec
working on motivation
rsokl 4b7cf34
work on motivation
rsokl b996874
continue developing motivation
rsokl 1126909
complete draft of motivations
rsokl 9ed1048
fix inconsistency in count_vowels docstring
rsokl 37b5509
fix inconsistency in count_vowels docstring
rsokl 26625d3
fix inconsistency between docstring and type-hint
rsokl fd6e029
add first example
rsokl f76dd1e
discuss asserts
rsokl af93863
minor wording changes
rsokl 9407a00
Merge branch 'master' into testing-code
rsokl f398f88
minor formatting fix: italicized was broken
rsokl f89496c
finish section on count-vowels test
rsokl 1e1e885
touch up working in first couple of sections
rsokl 1932d55
complete section on assertions
rsokl 94b494a
Add section on testing tests
rsokl a3c9ce3
add test suite to package structure
rsokl 6812366
use consistent voice in testing tests
rsokl cbdd2b5
rearrange mateirals: testing tests goes before assertions
rsokl 8155a13
move testing-code material to its own module
rsokl 5801b68
fix rst delimiter length mismatch for module 5
rsokl 8132f20
introduce merge-max-mappings
rsokl 2fbd4e6
adding summary to basic test structure
rsokl 42117d2
add test example for merge-max-dicts
rsokl 8672564
Finish intro to testing
rsokl 5378e3b
add initial pytest section
rsokl 5a84be9
remove ipynb pairing
rsokl 3acb67c
fix bad import in setuptools code snippet
rsokl d10ce3c
fix docstring formatting in numpy-broadcasting
rsokl fc2c7b1
progress on pytest section - basic project layout
rsokl 38efd62
minor revision to wording in Install Your Own Package
rsokl 10edfd2
complete section on installing your own source code
rsokl e946e47
add material for populating/running a test suite
rsokl 30ebcf0
add module 6 to index.rst, and add add relevant md files to subsection
rsokl 3f021e3
fix sub-bullet indentation
rsokl a847706
add centered image to Pytest; add warning about nosetest etc
rsokl 762fa86
general text cleanup / typo fixes
rsokl dd6f4e5
add IDE images to _build/_images
rsokl af19faa
Add IDE images, links, and descritpions for testing
rsokl 3c5fa9f
fix some wording
rsokl 79c1b6b
fix some wording
rsokl 0ba2d6d
Finish enriched assertions
rsokl 5c9f55f
begin parameterization discussion
rsokl 36399c5
finish discussion of parameterization
rsokl 2be94ad
wording / typo fixes
rsokl 1c18e0a
complete discussion of fixtures
rsokl ce7b392
fix wording and add fixture tests
rsokl 4e4be51
conf.py -> conftest.py
rsokl 9f02917
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 25f8a82
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl d34a21b
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 4d932e6
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl f11eddb
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 9e1704d
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl e041c1d
Update Python/Module6_Testing/Pytest.md
rsokl 5815248
Update Python/Module6_Testing/Pytest.md
rsokl 63ccf3a
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 4b2f2c4
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl bf8363b
Update Python/Module6_Testing/Pytest.md
rsokl 398f566
Update Python/Module6_Testing/Pytest.md
rsokl 9bf072f
Update Python/Module6_Testing/Pytest.md
rsokl 06882ef
Update Python/Module6_Testing/Pytest.md
rsokl 2b6f6a6
Update Python/Module6_Testing/Pytest.md
rsokl 0f3e5a1
Update Python/Module6_Testing/Pytest.md
rsokl 8dfda2d
Update Python/Module5_OddsAndEnds/Modules_and_Packages.md
rsokl 871ba15
add python_requires and change setup.py commands to pip
rsokl a46350e
formalizing -> automating
rsokl a6ff50f
PNG -> png
rsokl fb2f548
add disable assertions
rsokl a95409f
add discussion of mutation testing
rsokl fe51dbf
foul swoop is not a phrase... it is fell swoop
rsokl 9c8611d
add caveat about mutations
rsokl 2832232
add comments to fixture
rsokl 6355e4a
Peter edits
rsokl 8059abb
improve wording to not say fail so many times
rsokl cb3d952
fix type: >? should be >=
rsokl 8b02be7
Change module title to Testing OUR Code; add hypothesis section
rsokl 34013dd
remove redundant content
rsokl 22995ce
update meta description for pytest section
rsokl df038b9
working on hypothesis intro
rsokl c20c37a
add description of len size limit
rsokl 10f572b
fix punctuation
rsokl 61fab2f
Update Python/Module5_OddsAndEnds/Modules_and_Packages.md
rsokl 558c164
Merge branch 'testing-code' of mit:rsokl/Learning_Python into testing…
rsokl feccc6c
link to pytest site
rsokl 7c043cf
Update Python/Module5_OddsAndEnds/Modules_and_Packages.md
rsokl 0b7d559
Update Python/Module5_OddsAndEnds/Modules_and_Packages.md
rsokl c0ebc83
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 9adde9e
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 3649d3a
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 7f9c0fb
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 125b2df
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 3b17250
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl d7c8fca
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 7f717bb
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 446fe1d
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 96b3b04
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 79f418c
Update Python/Module6_Testing/Intro_to_Testing.md
rsokl 3d66b48
Update Python/Module6_Testing/Pytest.md
rsokl b32ab37
Update Python/Module6_Testing/Pytest.md
rsokl 1841a84
Update Python/Module6_Testing/Pytest.md
rsokl cd78e8c
Update Python/Module6_Testing/Pytest.md
rsokl f7107ed
Update Python/Module6_Testing/Pytest.md
rsokl 5de8830
Update Python/Module6_Testing/Pytest.md
rsokl da824f0
Update Python/Module6_Testing/Pytest.md
rsokl 35bd28e
Update Python/Module6_Testing/Pytest.md
rsokl 6efb684
Update Python/Module6_Testing/Hypothesis.md
rsokl 149aa78
Update Python/Module6_Testing/Hypothesis.md
rsokl 72c0fc1
Update Python/Module6_Testing/Hypothesis.md
rsokl 3c8f49d
Update Python/Module6_Testing/Hypothesis.md
rsokl a5a027f
clean up sentence
rsokl d9a01f9
Merge branch 'master' into testing-code
rsokl ebeeddc
Adds discussion of given decorator
rsokl 3e3a154
Finish discussion of core strats; add initial sub section
rsokl 265cfff
fix formatting
rsokl a8ff23d
Zac edits: default conda channel and cpython docs
rsokl 4d68755
add reading comprehension: improving tests with hypothesis
rsokl 273d34b
Add discussion of: .map(), .filter(), st.data(), and @example()
rsokl 0d1177f
fix some formatting
rsokl c4267ed
add some docs to example
rsokl 6d4a94a
Update Python/Module6_Testing/Hypothesis.md
rsokl 0b3e4c0
Update Python/Module6_Testing/Hypothesis.md
rsokl 6821619
Update Python/Module6_Testing/Hypothesis.md
rsokl 5588f16
Update Python/Module6_Testing/Hypothesis.md
rsokl ea4207e
Update Python/Module6_Testing/Hypothesis.md
rsokl bd88886
Update Python/Module6_Testing/Hypothesis.md
rsokl 40c7161
Update Python/Module6_Testing/Hypothesis.md
rsokl de0a696
Update Python/Module6_Testing/Hypothesis.md
rsokl 97d6e73
Update Python/Module6_Testing/Hypothesis.md
rsokl ea9d6ab
Update Python/Module6_Testing/Hypothesis.md
rsokl 88eacf1
Update Python/Module6_Testing/Hypothesis.md
rsokl 3667ffc
Update Python/Module6_Testing/Hypothesis.md
rsokl 3936c71
Update Python/Module6_Testing/Hypothesis.md
rsokl bf61b1b
Update Python/Module6_Testing/Hypothesis.md
rsokl 6633bb8
add hypothesis practice exercises
rsokl fd703e1
add beginning of Writing Your Own Strategies
rsokl 6d3875a
Merge branch 'master' into testing-code
rsokl 674361a
Update Python/Module6_Testing/Hypothesis_Practice_Exercises.md
rsokl 3be2da0
fix merge conflicts
rsokl 20f2bf8
fix header level
rsokl 9157db1
fix kernel info
rsokl cd38087
Reformat decorator aside and fix clunky wording
rsokl 590e2cb
Introduction to Testing -> The Basics of Writing Tests for Python Code
rsokl 624ca60
Fix meta descriptions
rsokl 4bded9e
Add hypothesis practice exercises
rsokl 5a9567c
Merge branch 'testing-code' of github.com:rsokl/Learning_Python into …
rsokl 25e25f4
remove distutils ref
rsokl 407dc7d
Apply suggestions from code review
rsokl eb5f2a7
Merge branch 'testing-code' of github.com:rsokl/Learning_Python into …
rsokl 0f74df1
Ease up on discussion of len esge case
rsokl 56366e9
Update Python/Module6_Testing/Hypothesis.md
rsokl 36262f7
Update Python/Module6_Testing/Hypothesis.md
rsokl 0b1f2dc
Update Python/Module6_Testing/Hypothesis.md
rsokl 2b0da48
Merge branch 'testing-code' of github.com:rsokl/Learning_Python into …
rsokl 2baed1d
be more precise in description of st.text()
rsokl c97ee7a
Update Python/Module6_Testing/Hypothesis.md
rsokl b643bb3
Fix description of lambda, and make use of term 'strategy' consistent
rsokl a3cd86c
Merge branch 'testing-code' of github.com:rsokl/Learning_Python into …
rsokl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.