1/ RFC: I just released a rough cut of pytest-caprng. It captures the state of your random number generator before each test; saves it on failure; and, replays it *exactly* on the next run. If you write randomized algos or simulations, you'll like this.https://github.com/jbn/pytest-caprng …
-
Show this thread
-
This is my first
@pytestdotorg plugin. I just started using pytest two weeks ago after reading@brianokken's Python Testing with pytest (@pragprog). https://pragprog.com/book/bopytest/python-testing-with-pytest …1 reply 1 retweet 4 likesShow this thread -
💥 (wannabe) Ƀreaker of (the Bad) Loops 💫 Retweeted
Apparently, this pattern is common: https://twitter.com/jllorencetti/status/978077625833975808 …
💥 (wannabe) Ƀreaker of (the Bad) Loops 💫 added,
This Tweet is unavailable.1 reply 0 retweets 2 likesShow this thread -
In any case, I don't know pytest internals yet. I got a bit lucky and found a post by
@nicoddemus that lead me to a hook that could solve my problem right away. But, there's a lot in my (tiny!) implementation that smells to me. So, RFC. And, Please like and critique on github
1 reply 2 retweets 2 likesShow this thread
CC-ing CSS/ABM folks that I know because that was my itch:
@Aelkus @MrMeritology @JackieKazil @badnetworker @tozCSS @guerrero_oa @CWDillon @cheney @brentauble @reddy @ErnestoCarrella @chennacotla
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.