Skip to content

Instantly share code, notes, and snippets.

View svvitale's full-sized avatar

Scott Vitale svvitale

View GitHub Profile
@posener
posener / go-table-driven-tests-parallel.md
Last active September 16, 2024 16:35
Be Careful with Table Driven Tests and t.Parallel()

Be Careful with Table Driven Tests and t.Parallel()

We Gophers, love table-driven-tests, it makes our unittesting structured, and makes it easy to add different test cases with ease.

Let’s create our table driven test, for convenience, I chose to use t.Log as the test function. Notice that we don't have any assertion in this test, it is not needed to for the demonstration.

func TestTLog(t *testing.T) {
	t.Parallel()
@guillaumevincent
guillaumevincent / README.md
Last active August 6, 2024 08:30
Windows Service with Python 3.5 and pyinstaller
@soarez
soarez / ca.md
Last active September 17, 2024 19:26
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.