Rene Dudfield: Draft 2 of, ^Let's write a unit test!^

So, I started writing this for people who want to ‘contribute’ to Community projects, and also Free Libre or Open source projects. Maybe you’d like to get involved, but are unsure of where to begin? Follow along with this tutorial, and peek at the end in the “what is a git for?” section for explanations of what some of the words mean. Draft 1, 2018/07/18 – initial draft.Draft 2, 2019/11/04 – two full unit test examples, assertions, making a pull request, use python 3 unittest substring search, “good first issue”…

Read More

How to Unit Test Your Annotation Processor using jOOR

Annotation processors can be useful as a hacky workaround to get some language feature into the Java language. jOOQ also has an annotation processor that helps validate SQL syntax for: Plain SQL usage (SQL injection risk) SQL dialect support (prevent using an Oracle only feature on MySQL) You can read about it more in detail here. Unit testing annotation processors Unit testing annotation processors is a bit more tricky than using them. Your processor hooks into the Java compiler and manipulates the compiled AST (or does other things). If you…

Read More

Fat tails and the t test

Suppose you want to test whether something you’re doing is having any effect. You take a few measurements and you compute the average. The average is different than what it would be if what you’re doing had no effect, but is the difference significant? That is, how likely is it that you might see the same change in the average, or even a greater change, if what you’re doing actually had no effect and the difference is due to random effects? The most common way to address this question is…

Read More
MatLab 

4 Python test frameworks to crush your bugs

Enterprise software needs tests the way buildings need fire and safety inspections. If you know certain electrical conditions or structural issues could lead to catastrophe, you look for them not just once but again and again. Likewise, if you want to guard against certain problems or conditions in your software application, writing tests for them ensures that they won’t ever escape into production. To read this article in full, please click here (Insider Story)

Read More

Test and Code: 89: Improving Programming Education – Nicholas Tollervey

Nicholas Tollervey is working toward better ways of teaching programming. His projects include the Mu Editor, PyperCard, and CodeGrades. Many of us talk about problems with software education. Nicholas is doing something about it. Special Guest: Nicholas Tollervey. Sponsored By: Azure Pipelines: Automate your builds and deployments with pipelines so you spend less time with the nuts and bolts and more time being creative. Many organizations and open source projects are using Azure Pipelines already. Get started for free at azure.com/pipelines Support Test & Code – Python Testing & Development…

Read More