Introduction to Testing in Go (Golang) | Udemy


Introduction to Testing in Go (Golang) | Udemy
English | Size: 4.26 GB
Genre: eLearning

Learn how to write effective unit and integration tests in Go, for web applications and REST APIs

What you’ll learn
Learn how to write unit tests in Go
Learn how to write integration tests in Go, and simplify them using Docker
Learn how to create test suites in Go
Learn how to create a simple web application and test handlers, middleware, database, and more
Learn how to create a simple REST API in Go and test its endpoints
Learn to to authenticate using JWT Tokens (and refresh tokens) and completely test all functionality
Learn how to write tests that cover multiple scenarios with table tests

Writing unit tests and integration tests is one of the most-neglected aspects of software development. All too often, a developer will find him or herself say “but it works on my computer!” when a project is presumed finished, only to discover that once taken out of the development environment, things don’t work as expected.

Well written unit tests and integration tests help to solve this problem, and in fact almost without exception will reduce overall development time, rather than adding to it. In addition, well-tested code almost always requires less maintenance, and the end product will have less down time.

This course is focused on writing unit and integration tests in Go, a modern, type safe, compiled, and extremely fast programming language. It it is ideally suited for building safe, scalable, incredibly fast web applications, and it has powerful testing tools built right in.

In this course, we will build four simple applications, and thoroughly test them:

A command line application (CLI) that tries to determine if a user-entered number is prime or not;

A simple web application that allows a user to log in and upload a profile picture;

A simple REST API built on the same code base as the web application which allows users to authenticate using JWT tokens and perform operations against a Postgres database. We’ll go through the entire authentication process, including using refresh tokens, and thoroughly test all aspects of the code.

A simple Single Page Web Application (SPA), written in Vanilla JavaScript, that demonstrates how to use JWT and Refresh Tokens with a SPA, and how to test that functionality.

For each of these projects, we will learn how to write unit tests for all functionality. We will learn how to test (among other things):

Application routes

Application handlers

How to test multiple scenarios by writing and using table tests

Database operations (using the Repository pattern)

Application middleware

User authentication (with sessions)

User authentication (with JWT tokens)

JWT token generation and validation

Refresh token generation and validation

Testing user input

Writing to the terminal

Adding cookies to a request

Reading cookies from a response

By the end of this course, you will have a solid understanding of how to write effective tests, and how to write testable code.

Who this course is for:
Developers working in Go who want to level up their testing skills

nitroflare.com/view/3E352931534EE73/Introduction-to-Testing-in-Go-Golang.part1.rar
nitroflare.com/view/3303D9954CAAD30/Introduction-to-Testing-in-Go-Golang.part2.rar
nitroflare.com/view/1BC98DE1531CFEE/Introduction-to-Testing-in-Go-Golang.part3.rar
nitroflare.com/view/9B9D1C0F47F143A/Introduction-to-Testing-in-Go-Golang.part4.rar
nitroflare.com/view/3E50E2CABAFB10D/Introduction-to-Testing-in-Go-Golang.part5.rar

rapidgator.net/file/af11147d3f14c20a21a88cc6b21b8362/Introduction-to-Testing-in-Go-Golang.part1.rar.html
rapidgator.net/file/b3882ca5992142817d3963dd66df034d/Introduction-to-Testing-in-Go-Golang.part2.rar.html
rapidgator.net/file/14cb70929e940ac48e2c51b8f740fe69/Introduction-to-Testing-in-Go-Golang.part3.rar.html
rapidgator.net/file/096231874a6c7ca2234b55bd121f7a53/Introduction-to-Testing-in-Go-Golang.part4.rar.html
rapidgator.net/file/3fb8c80a6dfd890bdd16ae468e954b9d/Introduction-to-Testing-in-Go-Golang.part5.rar.html

If any links die or problem unrar, send request to
forms.gle/e557HbjJ5vatekDV9

About WoW Team

I'm WoW Team , I love to share all the video tutorials. If you have a video tutorial, please send me, I'll post on my website. Because knowledge is not limited to, irrespective of qualifications, people join hands to help me.

Speak Your Mind

This site uses Akismet to reduce spam. Learn how your comment data is processed.