Unit testing for Go developers
Learn how to test your Go code with real world examples
Lo que serás capaz de hacer
In this course, you will learn how Go developers are testing their Go code in the companies. We will use only real world problems and we will show all the examples using code. You will learn the concepts of unit testing , the Go testing package and Testify , the most used library for tests in Go . If you came from another languages. I'm sure you are trying to figure out how to apply the same concepts using Golang , in this course we will answer all your questions. And if Go is your first language or you don't know much about unit testing, don't worry, we will cover everything, from the basic to advanced.
- Learn the concepts of unit testing
- Learn the Go testing package
- Learn Testify, the most used teste library in Go
- Learn using real world examples
Temario
UNIDAD 1 - Introduction and Basic concepts · 4 leccionesUNIDAD 1 - Introduction and Basic concepts
UNIDAD 1 - Introduction and Basic concepts
- Welcome!
- The structure of a Software Test
- Our first test using Golang
- Arrange, Act and Assert
UNIDAD 2 - Golang Testing Essentials · 10 leccionesUNIDAD 2 - Golang Testing Essentials
UNIDAD 2 - Golang Testing Essentials
- Course resources
- The go test command and test caching
- Improving your Test Failure Messages
- Table Driven Tests, avoid repeated test code
- Improving our tests with Sub Tests
- Avoiding inconsistent tests with Fatal method
- Mocking dependencies
- Unit and Integration Tests, difference explained
- Integration and Unit test difference exercices
- Mocking exercices
UNIDAD 3 - Testify, taking our tests to the next level · 2 leccionesUNIDAD 3 - Testify, taking our tests to the next level
UNIDAD 3 - Testify, taking our tests to the next level
- Idiomatic Assertions
- Mocking made easy with mock.Mock
UNIDAD 4 - Mastering the most used Mocking types (Test Doubles) · 3 leccionesUNIDAD 4 - Mastering the most used Mocking types (Test Doubles)
UNIDAD 4 - Mastering the most used Mocking types (Test Doubles)
- Stubs: User registration example
- Mocks: Asserting method calls
- Mock and Dummy Object: Credit card fraud prevention example
UNIDAD 5 - Conclusion · 1 leccionesUNIDAD 5 - Conclusion
UNIDAD 5 - Conclusion
- Thank you!
Tu certificado lo emite la SEP, no solo una plataforma
Al demostrar la competencia recibes un certificado emitido por la Secretaría de Educación Pública a través del Gobierno del Estado de México: un documento oficial que puedes presentar con confianza ante cualquier empleador o institución.
Tu certificado con INEC
- Lo emite la Secretaría de Educación Pública (SEP), a través del Gobierno del Estado de México
- Documento oficial con folio verificable en línea
- Lo otorga la Universidad Tecnológica Fidel Velázquez
Otras plataformas en línea
- Constancia privada emitida por la misma plataforma
- Solo acredita horas cursadas o asistencia
- Sin respaldo de una autoridad educativa
Tu itinerario, de la inscripción al certificado
- 1
Inscripción con pago único
Pagas $2,800 MXN una sola vez y entras de inmediato al curso.
- 2
Estudias a tu ritmo
5 unidades con videos, lecturas y actividades, disponibles 24/7 durante 12 meses.
- 3
Cuestionarios por unidad
2 cuestionarios para comprobar lo aprendido.
- 4
Certificado
Emitido por la SEP a través del Gobierno del Estado de México, con folio verificable.
Un certificado oficial de la SEP
- Emitido por la Secretaría de Educación Pública (SEP), a través del Gobierno del Estado de México. No es una constancia privada: es un documento oficial, y ese respaldo marca la diferencia frente a otras plataformas en línea.
- Contenido impartido por Vinicius Silva.
- Folio y QR verificables para compartirlo con quien te contrate.
Empieza hoy, a tu ritmo
Un solo pago y acceso inmediato al curso completo durante 12 meses.
- 5 unidades · 20 lecciones · 30 h
- 12 meses de acceso
- 2 cuestionarios de evaluación
- Certificado emitido por la SEP (Gob. del Estado de México) con folio verificable
Sobre tu inscripción
¿Cómo es el pago?
Un solo pago de $2,800 MXN. No hay mensualidades ni cargos recurrentes.
¿Cuánto tiempo tengo acceso?
12 meses desde tu inscripción, 24/7, para avanzar a tu ritmo.
¿Quién imparte el contenido?
El curso es impartido por Vinicius Silva; INEC gestiona tu inscripción, evaluación y certificado.
¿Qué pasa cuando vence mi acceso?
Puedes renovar tu cuenta tú mismo desde la plataforma, sin trámites ni esperas.


