Introduction to Testing in Go (Golang)
Posted on 16 Sep 09:18 | by huayting | 7 views
Introduction to Testing in Go (Golang)
Published 09/2022
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 120 lectures (12h 15m) | Size: 4.3 GB
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
Requirements
A basic understanding of to use Go programming language
Description
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 jаvascript, 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
Homepage
https://anonymz.com/?
https://www.udemy.com/course/introduction-to-testing-in-go-golang/]https://anonymz.com/?
https://www.udemy.com/course/introduction-to-testing-in-go-golang/
PLEASE SUPPORT ME BY CLICK ONE OF MY LINKS IF YOU WANT BUYING OR EXTENDING YOUR ACCOUNT
https://nitroflare.com/view/C65E509A779C636/Introduction_to_Testing_in_Go_%28Golang%29.part1.rar
https://nitroflare.com/view/AF7BA4A219AF371/Introduction_to_Testing_in_Go_%28Golang%29.part2.rar
https://nitroflare.com/view/A4091E4DF25163C/Introduction_to_Testing_in_Go_%28Golang%29.part3.rar
https://nitroflare.com/view/F0CDF5748678804/Introduction_to_Testing_in_Go_%28Golang%29.part4.rar
https://nitroflare.com/view/3E37F03BEE58038/Introduction_to_Testing_in_Go_%28Golang%29.part5.rar
https://rapidgator.net/file/19f884f14eeacc568d3c0b07d4b3fd35/Introduction_to_Testing_in_Go_(Golang).part1.rar.html
https://rapidgator.net/file/a25a8c39751c1236ecea8496f51390b7/Introduction_to_Testing_in_Go_(Golang).part2.rar.html
https://rapidgator.net/file/07e3ed7398b6893ab118a583fa2df8b5/Introduction_to_Testing_in_Go_(Golang).part3.rar.html
https://rapidgator.net/file/ee9675a4abb7393f7a6ddefbe83f9d44/Introduction_to_Testing_in_Go_(Golang).part4.rar.html
https://rapidgator.net/file/b180b32a6a27edd53bd4b1d636a7e448/Introduction_to_Testing_in_Go_(Golang).part5.rar.html
https://uploadgig.com/file/download/3B490c56660d59b5/Introduction_to_Testing_in_Go_Golang.part1.rar
https://uploadgig.com/file/download/52fc1C1ebe5dBDab/Introduction_to_Testing_in_Go_Golang.part2.rar
https://uploadgig.com/file/download/7BB3E1d3F9170ded/Introduction_to_Testing_in_Go_Golang.part3.rar
https://uploadgig.com/file/download/167cff087514160e/Introduction_to_Testing_in_Go_Golang.part4.rar
https://uploadgig.com/file/download/7C6368d30614Da3e/Introduction_to_Testing_in_Go_Golang.part5.rar
Related News
System Comment
Information
Users of Visitor are not allowed to comment this publication.
Facebook Comment
Member Area
Top News