VirtualTam's bookmarks
15 bookmarks found
Page 1 of 1
-
The XY Problem
2023-08-25 The XY problem is asking about your attempted solution rather than your actual problem. This leads to enormous amounts of wasted time and energy, both on the part of people asking for help, and on the part of those providing help.
-
Open questions, potential solutions or workarounds:
- Loki does not support out-of-order message ingestion
- There is not Java client for Loki
- The Wiced MQTT queue might be limited depending on the volume of logs
-
Jenkins Pipeline and Google Cloud Registry
2018-09-20 -
Docker - Command output formatting
2018-06-18 -
-
See answer https://stackoverflow.com/a/41837196 for an elegant solution using the file module
-
Python unit testing frameworks: Nose, Pytest
2015-02-13 Python's built-in unittest module is quite cool, but a bit limited and way too verbose (read: it's quite not easy to incite developers to write unit tests)
I'm currently looking for more dev-friendly solutions, the key points being:
- writing test code should be easy and straight-forward -keep the focus on "what to test" instead of "how to transcribe a process to a test"
- parallelization! -we, spoiled developers, should make good use of our way-too-many-cores build machines...
- complete feature set!
- we don't want to just run tests...
- coverage reports (find dead/weak/untested code sections)
- output formatting (JUnit-XML seems to be quite a common format out there)
There seem to be 3 solutions in Python:
- stock unittest + project-dependent customizations / test helpers
- nosetests
- py.test
And 2 ways of gettings things done:
- keeping things stock: no external dependency, project-specific implementation...
- using a test framework: one more module in your (test) virtualenv, more concise tests, more features (// run, code coverage, etc.)
Some links:
-
Community โ SaltStack
2014-05-15 Infrastructure management solution
-
xkcd: Wisdom of the Ancients
2014-04-23
Page 1 of 1