Using GitHub Actions To Add Continuous Integration (CI) To A Project (GitHub / Python)

A GitHub Actions job failure email

In this blog post I will be discussing Continuous Integration (CI) with GitHub Actions. Readers of previous blog entries may remember that I’ve tackled Continuous Integration (CI) with GitLab previously (see: https://geektechstuff.com/2021/04/05/python-unit-test-and-some-ci-via-gitlab-python/ ) and that last autumn (2021) I got into more testing (see: https://geektechstuff.com/2021/10/06/personal-update-django-and-mvc-mtv/ ).  Thankfully both have helped as the current module of my degree apprenticeship is … Continue reading Using GitHub Actions To Add Continuous Integration (CI) To A Project (GitHub / Python)

AttributeError: ‘FlaskClientTestCase’ object has no attribute ‘app_context’ – Unit Testing (Python)

Less of blog post and more of a reminder to myself. When using Flask and Unit Testing with Python, if either of the below errors occur (or something similar): AttributeError: 'FlaskClientTestCase' object has no attribute 'client' AttributeError: 'FlaskClientTestCase' object has no attribute 'app_context' Then it may be because the setUp function of the test class … Continue reading AttributeError: ‘FlaskClientTestCase’ object has no attribute ‘app_context’ – Unit Testing (Python)

Program Development Life Cycle (PDLC)

The Program Development Life Cycle (PDLC) consists of the following stages: Analyse the problemAnalyse and define the problem, check and understand that the problem is clearly defined. What are the inputs /outputs, process steps, logic, rules and requirements.Design the solution (program)Design the solution using tools such as flow charts and pseudo-code.Code the programUse appropriate tooling … Continue reading Program Development Life Cycle (PDLC)

What is Agile?

Agile makes me think of the agile attribute used in role playing or when discussing comic book characters (e.g. Spider-Man). Agile in Software Engineering, and business, terms is very similar in that it is a mindset that helps deliver small incremental changes quickly. Like Spider-Man using several small quick jumps / web swings to get … Continue reading What is Agile?

Statistics: Descriptive vs Inferential, Population vs Sample (Notes)

Continuing on with my Data Analytics learnings, with a jump into Descriptive Statistics vs Inferential Statistics and an attempt to clear up Population vs Sample from my last blog post. Descriptive Statistics Descriptive statistics takes a sample, e.g. a group and records data about that sample. The data is then presented in summary statistics and … Continue reading Statistics: Descriptive vs Inferential, Population vs Sample (Notes)