Skip to content
loading...

Hobby Project: Adding CI

github logo ・1 min read  

#ci

Dev.to Auto Publication (10 Part Series)

1) Hobby Project: Dev.to API 2) Hobby Project: Dev.to API Issues 3 ... 8 3) Hobby Project: Adding CI 4) Hobby Project: Save Dev Articles 5) Hobby Project: Reference Content File in Meta Data 6) Hobby Project: Documentation 7) Hobby Project: Generator for Testing 8) Hobby Project: Filter for Newest Articles 9) Hobby Project: Moving to a Range of Articles 10) Hobby Project: Pull All Your Dev.to Articles

This next session was to get some tests up and running. As it is 2020 this means adding a CI system (which is not continuous integration).

First thing I did was to refactor the query method so I can verify parsing out the data I am interested in. I don't really view this as a valuable test, but I now have a helper method to hide the deserialization in.

I created merge request 1 which includes steps for unittesting and build. Which has already paid dividends as I forgot files and parts of files. This allows me to work through desired changes.

Next I expect I'll be building out how I want to write out the articles and their Metadata.

twitter logo DISCUSS
Classic DEV Post from Feb 16

What Do You Find Difficult about SQL and Databases?

What Do You Find Difficult about SQL and Databases?

Jesse Phillips profile image
Long time solo programmer. Building CI/CD and having the opportunity to improve collaboration.