While writing automated tests for Referer Modifier with Selenium, one tricky question to solve was: How do I automatically configure the freshly installed Firefox add-on?
Tag Archives: python
Testing Python log output
Imagine you have a module and want to make sure everything’s working, so you test. For functions the idea is usually pretty simple: Provide some inputs, see if the output looks as expected. But what the function is also supposed to write some log messages and you want to check if they look the wayContinue reading “Testing Python log output”
Instant minimal web server
Since quite some time I make sure to compile my system’s BusyBox with the included httpd to have a minimal web server available when I need it. A quick $ busybox httpd -p 8080 is enough to offer the current directory via HTTP on port 8080. This post describes an alternative which has the advantageContinue reading “Instant minimal web server”