Pearls in Life
  • Home
  • Blog
  • Archives

Python Testing Using pytest, Tox, Travis-CI and Coveralls

Date Tue 04 October 2016 Category python Tags pytest / tox / travis / coverage / coverall / testing

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.

more ...

Tox and Travis Setup for Python Project Using PyPy

Date Mon 03 October 2016 Category "python" Tags "tox" / "travis" / "pypy"

Recently I was in development of a Python project that supports both the regular Python 2.7 and also the PyPy environment. Here is how to setup the automatic testing environment using Tox and Travis-CI.

more ...

Handle KeyboardInterrupt in Python MultiProcessing

Date Sun 27 December 2015 Category python Tags multiprocessing / keyboardinterrupt / process

multiprocessing is a convenient library to take the advantage of multiple cores easily found in modern processes. The typical pattern is to spawn a bunch of worker processes, and let them consume the data from a queue. However, when debugging, I usually found myself attempting to terminate the script using Ctrl-C yet to find it has no effect.

more ...

  • 0 Hits

  • Popular Posts

    • Python Testing Using pytest, Tox, Travis-CI and Coveralls
    • Tox and Travis Setup for Python Project Using PyPy
    • Handle KeyboardInterrupt in Python MultiProcessing
  • Recent Posts

    • Python Testing Using pytest, Tox, Travis-CI and Coveralls
    • Tox and Travis Setup for Python Project Using PyPy
    • Handle KeyboardInterrupt in Python MultiProcessing
  • Categories

    • os161 [27]
    • linux [24]
    • android [20]
    • errors [14]
    • network [11]
  • Tags

    • AOSP
    • backup
    • beamer
    • blog
    • c
    • gdb
    • hammerhead
    • jekyll
    • mac
    • ns2
    • OTA
    • plugin
    • python
    • ruby
    • ssh
    • synchronization
    • syscall
    • travis
    • ubuntu
    • vm
  • Social

    • github
    • stack-overflow
  • GitHub Repos

    Status updating...

    @jhshi on GitHub
  • Links

    • blue Systems Group
    • University at Buffalo

© 2016 Jinghao Shi · Updated on 2020-04-02 · Powered by pelican-bootstrap3, Pelican, Bootstrap

Back to top