[ChiPy-announce] ChiPy April 2024 __Main__ Meeting
Joe Jasinski
joe.jasinski at gmail.com
Tue Apr 9 09:58:14 EDT 2024
Hey ChiPy,
We have a great meeting planned that is just around the corner. If you
haven't already, please RSVP. See you there!
Thank you to Slalom Build for hosting us this month!
*RSVP HERE*
https://www.chipy.org/meetings/247/
*When*: April 11, 2024, 6 p.m.
6:00 pm *- *doors open; food
6:30 pm - talks start
*Where*: Slalom Build
200 E Randolph St, Suite 3800 Chicago, IL 60601
*Topics*
- *Intro to Property-Based Testing with Hypothesis*
By: Paul Zuradzki
One shortfall of example-based unit tests is that they only test known
examples. Property-based testing lets you test against randomized inputs if
you can specify properties that must be true of the code's behavior
("invariants"). You also test your function against extreme-values (aka,
fuzzing).
In this talk, I will review some examples of property-based tests using
the Hypothesis library. We will demo automated test generation
("ghostwriting" tests) to make writing tests easier. We will demo stateful
testing to confirm that all possible states are valid in a program.
Lastly, we will end with parting thoughts on how to specify properties.
Often, the tricky part with PBT is knowing what to test! Since we are using
randomized input, we need to specify properties that should hold true
across all outputs.
- *Exploring Cellular Automata in Python using Golly*
By: Joshua Herman
Golly is an open source, multiplatform tool for exploring various
cellular automata (such as the game of life) that allows Python scripts to
study and interact with the cellular automata. First we will look at the
very basic operation of the rule by studying the game of life and also
inputting new initial conditions such as gliders, still lifes and
spaceships. Then we will switch over to study my cellular automata I
created which I call https://conwaylife.com/wiki/OCA:SnowLife and use
Python scripts to analyze my cellular automata.
Thank you very much to our sponsors including
*Gold Sponsors:* SpotHero
*Silver Sponsors:* Braintree, JFrog, and Zoro
*Bronze Sponsors*: Foxtrot
Please be aware of our code of conduct http://www.chipy.org/pages/conduct/
Engage with ChiPy
Website: https://www.chipy.org/
Slack: https://joinchipyslack.herokuapp.com/
Meetup: https://www.meetup.com/_ChiPy_/
Github: https://github.com/chicagopython/chipy.org
Twitter: https://twitter.com/chicagopython
YouTube: https://www.youtube.com/channel/UCT372EAC1orBOSUd2fsA8WA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/chipy-announce/attachments/20240409/084d5898/attachment.html>
More information about the ChiPy-announce
mailing list