quackajack.wordpress.com
Testing coverage | SysPython
https://quackajack.wordpress.com/2017/01/03/testing-coverage
Python already has a unittest. Module based on the Java JUnit library. You can create a series of tests by creating a class that inherits from unittest. TestCase – each method in this class then becomes a test. You can check a condition is true using the standard assert command. To run the tests just call the. Straight forward but this gets difficult to manage when the tests are split over multiple files. To help with this there is the nose module. As a simple demonstration I have created this repository.
crisewing.com
Latest Plone Posts — CrisEwing.com
http://www.crisewing.com/cover/++contextportlets++ContentWellPortlets.BelowPortletManager2/latest-plone-posts/full_feed
Only in current section. Google Summer of Code 2016 Wrap Up. By Vikas Parashar from Planet Plone. Published on Aug 20, 2016. Welcome to the last GSoC report. Try-except versus if-else in Python 3.5. By encolpe from Planet Plone. Published on Aug 17, 2016. Today I ran again in the question why to use if-else when try-except is shorter? When UnicodeDecodeError become irrational check $LANG. By encolpe from Planet Plone. Published on Aug 17, 2016. By ross from Planet Plone. Published on Aug 12, 2016. In ein...
jhshi.me
Python Testing Using pytest, Tox, Travis-CI and Coveralls - Pearls in Life
http://jhshi.me/2016/10/04/python-testing-using-pytest-tox-travis-ci-and-coverall/index.html
Python Testing Using pytest, Tox, Travis-CI and Coveralls. Tue 04 October 2016. This post explains the automatic testing setup for the WlTrace. Project. You can see a live demo for all tools described in this post at the WlTrace Github repo. It maybe a bit confusing at first with all those tools which serve subtly different purposes. Next, I'll first explain the purpose of the tool, and then show the particular setup in the WlTrace project. Pytest: Micro Testing The Code. E241 # multiple spaces after ,.
reinout.vanrees.org
Reinout van Rees’ weblog - Reinout van Rees
http://reinout.vanrees.org/weblog
You are here: Home. Rarr; Reinout van Rees’ weblog. Reinout van Rees’ weblog. Collective.recipe.sphinxbuilder buildout recipe works on python 3 now. I wanted to do a few small tweaks on collective.recipe.sphinxbuilder. Because it failed to install on python 3. I ended up as maintainer :-) It is now at https:/ github.com/reinout/collective.recipe.sphinxbuilder. The only change needed was to tweak the way the readme was read in the. And do a new release. Since then Thomas Khyn added windows support. A nice...
gyford.com
Writing (Phil Gyford’s website)
http://www.gyford.com/phil/writing
Phil Gyford’s website. Django Ditto and archiving your stuff. I recently made a collection of apps for the Django web framework, called Django Ditto. It’s for grabbing your photos from Flickr, tweets from Twitter, bookmarks from Pinboard, mirroring them all on your own website. It can save data about:. Hopefully it’ll do more in the future. To original video files, only a stream. You can go and look at:. An example of Django Ditto’s public pages. The code at GitHub. Why did I make this? The first was to ...