golangindia / StudyGroup

A virtual study group for Gophers conducted twice a month.
57 stars 3 forks source link

Beginner: Talk: Testing in Go #15

Closed pshirali closed 5 years ago

pshirali commented 5 years ago

Type: Talk

Level: Beginner

Duration (minutes, includes Q&A): 60 min

Abstract:

This is a beginner level talk on how to get started with writing tests in Golang. The talk covers some common patterns on how to write simple tests, and then scale them to cater to a wider range of test parameters.

PS: I gave this talk at Golang Bangalore Meetup 36 on Sept 8th 2018. This is a repeat of the same. The contents of this talk will be broken into two parts. I'll only cover half the presentation in this talk to allow for more Q&A.

Links:

Testing in Go

Intended Audience

This talk is intended for people who have written some Go code, but are new to writing unittests in Go.

Prerequisites (optional)

  1. You are familiar with writing Go code which involves the use of interfaces.
  2. You are familiar with unittest terminology, or have experience writing unittests in other languages.

Recommended Learning (optional)

  1. https://golang.org/pkg/testing/

Speaker Bio

Name: Praveen G Shirali

I am a QA engineer. I have been using Go for around ~3 yrs.

https://github.com/pshirali https://in.linkedin.com/in/praveenshirali


Self Declaration:

Please replace the blank space within the square bracket with an x to tick the box.

Proposed Dates:

Dec 20th 2018