-
Notifications
You must be signed in to change notification settings - Fork 55
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
ce05d2c
work on intro
1042780
complete first cut of intro
ea239ec
working on motivation
4b7cf34
work on motivation
b996874
continue developing motivation
1126909
complete draft of motivations
9ed1048
fix inconsistency in count_vowels docstring
37b5509
fix inconsistency in count_vowels docstring
26625d3
fix inconsistency between docstring and type-hint
fd6e029
add first example
f76dd1e
discuss asserts
af93863
minor wording changes
9407a00
Merge branch 'master' into testing-code
f398f88
minor formatting fix: italicized was broken
f89496c
finish section on count-vowels test
1e1e885
touch up working in first couple of sections
1932d55
complete section on assertions
94b494a
Add section on testing tests
a3c9ce3
add test suite to package structure
6812366
use consistent voice in testing tests
cbdd2b5
rearrange mateirals: testing tests goes before assertions
8155a13
move testing-code material to its own module
5801b68
fix rst delimiter length mismatch for module 5
8132f20
introduce merge-max-mappings
2fbd4e6
adding summary to basic test structure
42117d2
add test example for merge-max-dicts
8672564
Finish intro to testing
5378e3b
add initial pytest section
5a84be9
remove ipynb pairing
3acb67c
fix bad import in setuptools code snippet
d10ce3c
fix docstring formatting in numpy-broadcasting
fc2c7b1
progress on pytest section - basic project layout
38efd62
minor revision to wording in Install Your Own Package
10edfd2
complete section on installing your own source code
e946e47
add material for populating/running a test suite
30ebcf0
add module 6 to index.rst, and add add relevant md files to subsection
3f021e3
fix sub-bullet indentation
a847706
add centered image to Pytest; add warning about nosetest etc
762fa86
general text cleanup / typo fixes
dd6f4e5
add IDE images to _build/_images
af19faa
Add IDE images, links, and descritpions for testing
3c5fa9f
fix some wording
79c1b6b
fix some wording
0ba2d6d
Finish enriched assertions
5c9f55f
begin parameterization discussion
36399c5
finish discussion of parameterization
2be94ad
wording / typo fixes
1c18e0a
complete discussion of fixtures
ce7b392
fix wording and add fixture tests
4e4be51
conf.py -> conftest.py
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
a46350e
formalizing -> automating
a6ff50f
PNG -> png
fb2f548
add disable assertions
a95409f
add discussion of mutation testing
fe51dbf
foul swoop is not a phrase... it is fell swoop
9c8611d
add caveat about mutations
2832232
add comments to fixture
6355e4a
Peter edits
8059abb
improve wording to not say fail so many times
cb3d952
fix type: >? should be >=
8b02be7
Change module title to Testing OUR Code; add hypothesis section
34013dd
remove redundant content
22995ce
update meta description for pytest section
df038b9
working on hypothesis intro
c20c37a
add description of len size limit
10f572b
fix punctuation
61fab2f
Update Python/Module5_OddsAndEnds/Modules_and_Packages.md
rsokl 558c164
Merge branch 'testing-code' of mit:rsokl/Learning_Python into testing…
feccc6c
link to pytest site
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
d9a01f9
Merge branch 'master' into testing-code
ebeeddc
Adds discussion of given decorator
3e3a154
Finish discussion of core strats; add initial sub section
265cfff
fix formatting
a8ff23d
Zac edits: default conda channel and cpython docs
4d68755
add reading comprehension: improving tests with hypothesis
273d34b
Add discussion of: .map(), .filter(), st.data(), and @example()
0d1177f
fix some formatting
c4267ed
add some docs to example
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
fd703e1
add beginning of Writing Your Own Strategies
6d3875a
Merge branch 'master' into testing-code
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 …
25e25f4
remove distutils ref
407dc7d
Apply suggestions from code review
eb5f2a7
Merge branch 'testing-code' of github.com:rsokl/Learning_Python into …
0f74df1
Ease up on discussion of len esge case
56366e9
Update Python/Module6_Testing/Hypothesis.md
36262f7
Update Python/Module6_Testing/Hypothesis.md
0b1f2dc
Update Python/Module6_Testing/Hypothesis.md
2b0da48
Merge branch 'testing-code' of github.com:rsokl/Learning_Python into …
2baed1d
be more precise in description of st.text()
c97ee7a
Update Python/Module6_Testing/Hypothesis.md
b643bb3
Fix description of lambda, and make use of term 'strategy' consistent
a3cd86c
Merge branch 'testing-code' of github.com:rsokl/Learning_Python into …
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.