| 01 - Introduction | |||
| 001 Introduction.mp4 | 37.21 MB | ||
| 001 Introduction.srt | 8.22 KB | ||
| 002 About me.mp4 | 19.06 MB | ||
| 002 About me.srt | 1.61 KB | ||
| 003 Asking for help.mp4 | 5.59 MB | ||
| 003 Asking for help.srt | 2.24 KB | ||
| 004 Mistakes we all make them.mp4 | 1.11 MB | ||
| 004 Mistakes we all make them.srt | 1.89 KB | ||
| 02 - Setting up our Development Environment | |||
| 001 What we'll cover in this section.mp4 | 1.34 MB | ||
| 001 What we'll cover in this section.srt | 869 B | ||
| 002 Go.url | 38 B | ||
| 002 Installing Go.mp4 | 5.95 MB | ||
| 002 Installing Go.srt | 2.31 KB | ||
| 003 Download-VS-Code.url | 62 B | ||
| 003 Installing an IDE.mp4 | 8.78 MB | ||
| 003 Installing an IDE.srt | 5.18 KB | ||
| 004 Docker.url | 47 B | ||
| 004 Installing Docker.mp4 | 1.86 MB | ||
| 004 Installing Docker.srt | 1.36 KB | ||
| external-links.txt | 129 B | ||
| 03 - Simple Testing | |||
| 001 What we'll cover in this section.mp4 | 5.83 MB | ||
| 001 What we'll cover in this section.srt | 1.58 KB | ||
| 002 Creating a simple command line application.mp4 | 24.04 MB | ||
| 002 Creating a simple command line application.srt | 8.76 KB | ||
| 002 primeapp.zip | 907 B | ||
| 003 Writing a our first test for the isPrime() function.mp4 | 14.22 MB | ||
| 003 Writing a our first test for the isPrime() function.srt | 10.25 KB | ||
| 003 primeapp.zip | 1.3 KB | ||
| 004 Improving our test with table tests.mp4 | 13.73 MB | ||
| 004 Improving our test with table tests.srt | 9.52 KB | ||
| 004 primeapp.zip | 1.38 KB | ||
| 005 Checking test coverage.mp4 | 5.09 MB | ||
| 005 Checking test coverage.srt | 3.26 KB | ||
| 006 Completing our table tests.mp4 | 6.7 MB | ||
| 006 Completing our table tests.srt | 3.64 KB | ||
| 006 primeapp.zip | 2.06 KB | ||
| 007 Improving our program to allow for user entered information.mp4 | 24.76 MB | ||
| 007 Improving our program to allow for user entered information.srt | 15.28 KB | ||
| 007 primeapp.zip | 2.53 KB | ||
| 008 Writing a test for the prompt() function.mp4 | 13.53 MB | ||
| 008 Writing a test for the prompt() function.srt | 9.21 KB | ||
| 008 primeapp.zip | 3.14 KB | ||
| 009 Writing a test for the intro() function.mp4 | 5.54 MB | ||
| 009 Writing a test for the intro() function.srt | 3.07 KB | ||
| 009 primeapp.zip | 3.2 KB | ||
| 010 Testing user input - writing a test for the checkNumbers() function.mp4 | 37.35 MB | ||
| 010 Testing user input - writing a test for the checkNumbers() function.srt | 17.3 KB | ||
| 010 primeapp.zip | 3.46 KB | ||
| 011 Updating readUserInput to make it testable, and then testing it.mp4 | 14.66 MB | ||
| 011 Updating readUserInput to make it testable, and then testing it.srt | 7.62 KB | ||
| 011 primeapp.zip | 3.62 KB | ||
| 04 - An Aside Running individual tests & Test Suites | |||
| 001 What we'll cover in this section.mp4 | 1.94 MB | ||
| 001 What we'll cover in this section.srt | 1.04 KB | ||
| 002 Running a single test.mp4 | 6.04 MB | ||
| 002 Running a single test.srt | 2.52 KB | ||
| 003 Running groups of tests (test suites).mp4 | 6.7 MB | ||
| 003 Running groups of tests (test suites).srt | 2.69 KB | ||
| 05 - Testing Web Applications | |||
| 001 What we'll cover in this section.mp4 | 1.92 MB | ||
| 001 What we'll cover in this section.srt | 1012 B | ||
| 002 Creating a simple web app.mp4 | 32.22 MB | ||
| 002 Creating a simple web app.srt | 14.78 KB | ||
| 002 webapp.zip | 1.86 KB | ||
| 003 Setting up a route and handler for the home page.mp4 | 25.23 MB | ||
| 003 Setting up a route and handler for the home page.srt | 16.91 KB | ||
| 003 webapp.zip | 3.2 KB | ||
| 004 Testing our application routes.mp4 | 23.01 MB | ||
| 004 Testing our application routes.srt | 15.78 KB | ||
| 004 webapp.zip | 4.06 KB | ||
| 005 Testing Handlers the Home handler.mp4 | 20.75 MB | ||
| 005 Testing Handlers the Home handler.srt | 13.58 KB | ||
| 005 webapp.zip | 4.7 KB | ||
| 006 Setting up some simple middleware.mp4 | 25.03 MB | ||
| 006 Setting up some simple middleware.srt | 16.7 KB | ||
| 006 webapp.zip | 5.46 KB | ||
| 007 Trying out our new addIPToContext middleware.mp4 | 6.34 MB | ||
| 007 Trying out our new addIPToContext middleware.srt | 3.72 KB | ||
| 007 webapp.zip | 5.52 KB | ||
| 008 Testing our middleware.mp4 | 30.79 MB | ||
| 008 Testing our middleware.srt | 16.01 KB | ||
| 008 webapp.zip | 7.09 KB | ||
| 009 Testing ipFromContext.mp4 | 10.31 MB | ||
| 009 Testing ipFromContext.srt | 5.82 KB | ||
| 009 webapp.zip | 7.25 KB | ||
| 010 Creating a login form.mp4 | 10.53 MB | ||
| 010 Creating a login form.srt | 4.28 KB | ||
| 010 webapp.zip | 7.4 KB | ||
| 011 Setting up a route and stub handler for the login form.mp4 | 12.78 MB | ||
| 011 Setting up a route and stub handler for the login form.srt | 6.87 KB | ||
| 011 webapp.zip | 7.51 KB | ||
| 06 - Testing Validation | |||
| 001 What we'll cover in this section.mp4 | 1.55 MB | ||
| 001 What we'll cover in this section.srt | 800 B | ||
| 002 Setting up validation logic.mp4 | 18.32 MB | ||
| 002 Setting up validation logic.srt | 13.35 KB | ||
| 002 webapp.zip | 8.12 KB | ||
| 003 Testing validation logic.mp4 | 21.98 MB | ||
| 003 Testing validation logic.srt | 10.62 KB | ||
| 003 webapp.zip | 9.06 KB | ||
| 004 Completing the tests for our validation logic.mp4 | 32.83 MB | ||
| 004 Completing the tests for our validation logic.srt | 6.67 KB | ||
| 004 webapp.zip | 9.19 KB | ||
| 005 Trying out validation with our login form.mp4 | 7.4 MB | ||
| 005 Trying out validation with our login form.srt | 4.55 KB | ||
| 005 webapp.zip | 9.27 KB | ||
| 07 - Testing Sessions | |||
| 001 What we'll cover in this section.mp4 | 2.5 MB | ||
| 001 What we'll cover in this section.srt | 1.27 KB | ||
| 002 Setting up a test enviroment with testing.M.mp4 | 13.9 MB | ||
| 002 Setting up a test enviroment with testing.M.srt | 6.26 KB | ||
| 002 webapp.zip | 9.54 KB | ||
| 003 Simplifying our templates using a layout.mp4 | 10.58 MB | ||
| 003 Simplifying our templates using a layout.srt | 5.74 KB | ||
| 003 webapp.zip | 9.87 KB | ||
| 004 Installing a sessions package.mp4 | 6.94 MB | ||
| 004 Installing a sessions package.srt | 3.13 KB | ||
| 004 scs-on-GitHub.url | 58 B | ||
| 004 webapp.zip | 9.99 KB | ||
| 005 Adding session to App config, and creating a SessionManager.mp4 | 9.09 MB | ||
| 005 Adding session to App config, and creating a SessionManager.srt | 6.13 KB | ||
| 005 webapp.zip | 10.46 KB | ||
| 006 Trying out our sessions.mp4 | 35.68 MB | ||
| 006 Trying out our sessions.srt | 10.58 KB | ||
| 006 webapp.zip | 10.59 KB | ||
| 007 Updating our tests.mp4 | 49.5 MB | ||
| 007 Updating our tests.srt | 15.75 KB | ||
| 007 webapp.zip | 10.98 KB | ||
| 008 Improving our test for the Home handler.mp4 | 19.11 MB | ||
| 008 Improving our test for the Home handler.srt | 9.04 KB | ||
| 008 webapp.zip | 11.22 KB | ||
| 009 Testing the render function with a bad template.mp4 | 41.87 MB | ||
| 009 Testing the render function with a bad template.srt | 9.72 KB | ||
| 009 webapp.zip | 12.59 KB | ||
| external-links.txt | 57 B | ||
| 08 - Testing POST handlers | |||
| 001 What we'll cover in this section.mp4 | 3.26 MB | ||
| 001 What we'll cover in this section.srt | 1.89 KB | ||
| 002 Beekeeper-Studio.url | 55 B | ||
| 002 Installing postgres with Docker.mp4 | 17.48 MB | ||
| 002 Installing postgres with Docker.srt | 8.71 KB | ||
| 002 docker.zip | 1.72 KB | ||
| 003 Setting up a database connection.mp4 | 41.98 MB | ||
| 003 Setting up a database connection.srt | 13.93 KB | ||
| 003 jack-pgx.url | 52 B | ||
| 003 webapp.zip | 21.98 KB | ||
| 004 Adding the data package for models and db package for database access.mp4 | 27.79 MB | ||
| 004 Adding the data package for models and db package for database access.srt | 5.83 KB | ||
| 004 pkg.zip | 4.1 KB | ||
| 004 webapp.zip | 26.82 KB | ||
| 005 Making sure our web app can connect to our database.mp4 | 16.4 MB | ||
| 005 Making sure our web app can connect to our database.srt | 4.42 KB | ||
| 005 webapp.zip | 26.88 KB | ||
| 006 Closing our database pool gracefully, and resetting template path in tests.mp4 | 5.47 MB | ||
| 006 Closing our database pool gracefully, and resetting template path in tests.srt | 2.92 KB | ||
| 006 webapp.zip | 26.9 KB | ||
| 007 Creating a stub profile page.mp4 | 30.44 MB | ||
| 007 Creating a stub profile page.srt | 11.33 KB | ||
| 007 webapp.zip | 27.43 KB | ||
| 008 Adding messages to our template data and template files.mp4 | 16.57 MB | ||
| 008 Adding messages to our template data and template files.srt | 9.87 KB | ||
| 008 webapp.zip | 27.58 KB | ||
| 009 Adding true authentication to the Login handler.mp4 | 12.94 MB | ||
| 009 Adding true authentication to the Login handler.srt | 7.75 KB | ||
| 009 webapp.zip | 27.66 KB | ||
| 010 Testing the Login handler.mp4 | 84.35 MB | ||
| 010 Testing the Login handler.srt | 25.16 KB | ||
| 010 webapp.zip | 28.31 KB | ||
| 011 Adding Auth middleware.mp4 | 16.87 MB | ||
| 011 Adding Auth middleware.srt | 5.61 KB | ||
| 011 webapp.zip | 28.43 KB | ||
| 012 Testing Auth middleware.mp4 | 17.74 MB | ||
| 012 Testing Auth middleware.srt | 8.12 KB | ||
| 012 webapp.zip | 28.66 KB | ||
| 013 Updating routes & end-to-end tests.mp4 | 24.68 MB | ||
| 013 Updating routes & end-to-end tests.srt | 12.26 KB | ||
| 013 webapp.zip | 28.88 KB | ||
| 014 Problems with our Login handler test.mp4 | 4.71 MB | ||
| 014 Problems with our Login handler test.srt | 2.65 KB | ||
| 014 webapp.zip | 29.08 KB | ||
| external-links.txt | 103 B | ||
| 09 - The Repository Pattern | |||
| 001 What we'll cover in this section.mp4 | 5.94 MB | ||
| 001 What we'll cover in this section.srt | 3.26 KB | ||
| 002 Defining an interface type for our repository.mp4 | 11.64 MB | ||
| 002 Defining an interface type for our repository.srt | 4.53 KB | ||
| 002 webapp.zip | 29.71 KB | ||
| 003 Moving our database functions into a repository.mp4 | 25.44 MB | ||
| 003 Moving our database functions into a repository.srt | 6.71 KB | ||
| 003 webapp.zip | 31.34 KB | ||
| 004 Updating application config to use the database repository.mp4 | 8.21 MB | ||
| 004 Updating application config to use the database repository.srt | 3 KB | ||
| 004 webapp.zip | 31.36 KB | ||
| 005 Creating a testdb repository.mp4 | 29.48 MB | ||
| 005 Creating a testdb repository.srt | 7.31 KB | ||
| 005 webapp.zip | 32.06 KB | ||
| 006 Updating setup_test.go to use the test repository.mp4 | 4.92 MB | ||
| 006 Updating setup_test.go to use the test repository.srt | 2.54 KB | ||
| 006 webapp.zip | 31.94 KB | ||
| 007 Updating our tests to use the testdb repository.mp4 | 13.09 MB | ||
| 007 Updating our tests to use the testdb repository.srt | 5.92 KB | ||
| 007 webapp.zip | 32.17 KB | ||
| 10 - Testing the database with Integration tests | |||
| 001 What we'll cover in this section.mp4 | 3.69 MB | ||
| 001 What we'll cover in this section.srt | 2.16 KB | ||
| 002 Getting started with testing our database.mp4 | 35.14 MB | ||
| 002 Getting started with testing our database.srt | 10.87 KB | ||
| 002 dockertest-on-GitHub.url | 57 B | ||
| 002 webapp.zip | 35.99 KB | ||
| 003 Getting our tests to spin up a docker image with Postgres.mp4 | 36.05 MB | ||
| 003 Getting our tests to spin up a docker image with Postgres.srt | 13.21 KB | ||
| 003 webapp.zip | 36.51 KB | ||
| 004 Populating our test database with empty tables.mp4 | 55.86 MB | ||
| 004 Populating our test database with empty tables.srt | 12.41 KB | ||
| 004 webapp.zip | 38.62 KB | ||
| 005 Testing InsertUser.mp4 | 16.9 MB | ||
| 005 Testing InsertUser.srt | 8.09 KB | ||
| 005 webapp.zip | 39.01 KB | ||
| 006 Testing AllUsers.mp4 | 15.92 MB | ||
| 006 Testing AllUsers.srt | 4.95 KB | ||
| 006 webapp.zip | 39.11 KB | ||
| 007 Testing GetUser and GetUserByEmail.mp4 | 11.79 MB | ||
| 007 Testing GetUser and GetUserByEmail.srt | 5.97 KB | ||
| 007 webapp.zip | 39.25 KB | ||
| 008 Testing UpdateUser.mp4 | 9.98 MB | ||
| 008 Testing UpdateUser.srt | 4.68 KB | ||
| 008 webapp.zip | 39.38 KB | ||
| 009 Testing DeleteUser.mp4 | 11 MB | ||
| 009 Testing DeleteUser.srt | 3 KB | ||
| 009 webapp.zip | 39.43 KB | ||
| 010 Testing ResetUserPassword.mp4 | 14.4 MB | ||
| 010 Testing ResetUserPassword.srt | 5.14 KB | ||
| 010 webapp.zip | 39.51 KB | ||
| 011 Testing InsertUserImage.mp4 | 16.96 MB | ||
| 011 Testing InsertUserImage.srt | 8.3 KB | ||
| 011 webapp.zip | 39.65 KB | ||
| 012 Using build tags to separate our integration tests.mp4 | 7.47 MB | ||
| 012 Using build tags to separate our integration tests.srt | 4.01 KB | ||
| 012 webapp.zip | 39.67 KB | ||
| external-links.txt | 63 B | ||
| 11 - Testing File Uploads | |||
| 001 What we'll cover in this section.mp4 | 2.53 MB | ||
| 001 What we'll cover in this section.srt | 1.21 KB | ||
| 002 Adding a form to the Profile page.mp4 | 10.12 MB | ||
| 002 Adding a form to the Profile page.srt | 7.63 KB | ||
| 002 webapp.zip | 39.88 KB | ||
| 003 Adding the UserImage type to the User type.mp4 | 19.4 MB | ||
| 003 Adding the UserImage type to the User type.srt | 7.44 KB | ||
| 003 webapp.zip | 39.97 KB | ||
| 004 Updating the profile.page.gohtml file to look for a profile image.mp4 | 19.8 MB | ||
| 004 Updating the profile.page.gohtml file to look for a profile image.srt | 8.82 KB | ||
| 004 webapp.zip | 40.06 KB | ||
| 005 Writing a stub handler and a function to process profile image uploads.mp4 | 43.22 MB | ||
| 005 Writing a stub handler and a function to process profile image uploads.srt | 17.27 KB | ||
| 005 webapp.zip | 40.6 KB | ||
| 006 Implementing the UploadProfilePic handler.mp4 | 17.27 MB | ||
| 006 Implementing the UploadProfilePic handler.srt | 6.13 KB | ||
| 006 webapp.zip | 40.88 KB | ||
| 007 Trying things out.mp4 | 11.76 MB | ||
| 007 Trying things out.srt | 6.44 KB | ||
| 007 webapp.zip | 41.57 KB | ||
| 008 Testing image uploads.mp4 | 46.05 MB | ||
| 008 Testing image uploads.srt | 19.23 KB | ||
| 008 img.png.zip | 319 B | ||
| 008 webapp.zip | 84.39 KB | ||
| 009 Testing our upload handler, with an alternative approach.mp4 | 52.99 MB | ||
| 009 Testing our upload handler, with an alternative approach.srt | 11.82 KB | ||
| 009 webapp.zip | 84.65 KB | ||
| 12 - Testing REST APIs | |||
| 001 What we'll cover in this section.mp4 | 4.01 MB | ||
| 001 What we'll cover in this section.srt | 2.15 KB | ||
| 002 Setting up an api with our existing code base.mp4 | 22.85 MB | ||
| 002 Setting up an api with our existing code base.srt | 12.38 KB | ||
| 002 webapp.zip | 86.42 KB | ||
| 003 Adding stub handlers (endpoints) for our API.mp4 | 13.54 MB | ||
| 003 Adding stub handlers (endpoints) for our API.srt | 7.36 KB | ||
| 003 webapp.zip | 86.89 KB | ||
| 004 Trying out our REST API to make sure things work.mp4 | 14.98 MB | ||
| 004 Trying out our REST API to make sure things work.srt | 7.62 KB | ||
| 004 utilities.go.zip | 968 B | ||
| 004 webapp.zip | 87.98 KB | ||
| 005 Getting started with JWT Authentication.mp4 | 51.23 MB | ||
| 005 Getting started with JWT Authentication.srt | 24.25 KB | ||
| 005 webapp.zip | 89.25 KB | ||
| 006 Generating token pairs.mp4 | 32.56 MB | ||
| 006 Generating token pairs.srt | 12.21 KB | ||
| 006 webapp.zip | 89.61 KB | ||
| 007 Implementing the authenticate handler.mp4 | 22.56 MB | ||
| 007 Implementing the authenticate handler.srt | 5.49 KB | ||
| 007 webapp.zip | 89.88 KB | ||
| 008 Trying out the authentication handler.mp4 | 15.36 MB | ||
| 008 Trying out the authentication handler.srt | 6.14 KB | ||
| 008 curl-command.txt.zip | 633 B | ||
| 009 Testing our authentication handler.mp4 | 32.35 MB | ||
| 009 Testing our authentication handler.srt | 13.87 KB | ||
| 009 webapp.zip | 91.84 KB | ||
| 010 Setting up a simple program to generate tokens for testing.mp4 | 7.31 MB | ||
| 010 Setting up a simple program to generate tokens for testing.srt | 3.74 KB | ||
| 010 main.go.zip | 933 B | ||
| 010 webapp.zip | 93.75 KB | ||
| 011 Testing generating and validating tokens.mp4 | 51.16 MB | ||
| 011 Testing generating and validating tokens.srt | 19.74 KB | ||
| 011 webapp.zip | 94.6 KB | ||
| 012 Setting up our application middleware.mp4 | 20.23 MB | ||
| 012 Setting up our application middleware.srt | 8.08 KB | ||
| 012 webapp.zip | 95.22 KB | ||
| 013 Testing our CORS middleware.mp4 | 41.15 MB | ||
| 013 Testing our CORS middleware.srt | 9.15 KB | ||
| 013 webapp.zip | 95.93 KB | ||
| 014 Testing our authRequired middleware.mp4 | 23.33 MB | ||
| 014 Testing our authRequired middleware.srt | 10.53 KB | ||
| 014 webapp.zip | 96.28 KB | ||
| 015 Add middleware to routes.mp4 | 6.53 MB | ||
| 015 Add middleware to routes.srt | 3.29 KB | ||
| 015 webapp.zip | 96.16 KB | ||
| 016 Testing API routes.mp4 | 10.81 MB | ||
| 016 Testing API routes.srt | 4.93 KB | ||
| 016 webapp.zip | 96.85 KB | ||
| 017 Implementing the handler to refresh tokens.mp4 | 23.31 MB | ||
| 017 Implementing the handler to refresh tokens.srt | 12.08 KB | ||
| 017 webapp.zip | 97.27 KB | ||
| 018 Testing refreshing tokens.mp4 | 59.64 MB | ||
| 018 Testing refreshing tokens.srt | 18.21 KB | ||
| 018 webapp.zip | 97.78 KB | ||
| 019 Completing the handlers that interact with the User type.mp4 | 20.49 MB | ||
| 019 Completing the handlers that interact with the User type.srt | 9.68 KB | ||
| 019 webapp.zip | 97.92 KB | ||
| 020 Testing the handlers that interact with the User type.mp4 | 35.7 MB | ||
| 020 Testing the handlers that interact with the User type.srt | 14.32 KB | ||
| 020 webapp.zip | 98.55 KB | ||
| 021 Finishing up testing handlers that interact with the data.User type.mp4 | 26.78 MB | ||
| 021 Finishing up testing handlers that interact with the data.User type.srt | 10.89 KB | ||
| 021 webapp.zip | 98.9 KB | ||
| 13 - Testing an API for a Single Page Application (SPA) | |||
| 001 What we'll cover in this section.mp4 | 3.65 MB | ||
| 001 What we'll cover in this section.srt | 2 KB | ||
| 002 Serving HTML for our SPA.mp4 | 11.98 MB | ||
| 002 Serving HTML for our SPA.srt | 7.34 KB | ||
| 002 index.html.zip | 1.04 KB | ||
| 002 webapp.zip | 100.77 KB | ||
| 003 Authenticating users with our SPA.mp4 | 47.03 MB | ||
| 003 Authenticating users with our SPA.srt | 20.79 KB | ||
| 003 webapp.zip | 101.4 KB | ||
| 004 Setting a refresh token cookie when authenticating.mp4 | 44.26 MB | ||
| 004 Setting a refresh token cookie when authenticating.srt | 11.3 KB | ||
| 004 webapp.zip | 101.62 KB | ||
| 005 Allowing users to refresh tokens using a cookie.mp4 | 34.37 MB | ||
| 005 Allowing users to refresh tokens using a cookie.srt | 8.42 KB | ||
| 005 webapp.zip | 101.8 KB | ||
| 006 Automatically refreshing tokens while the user is logged in.mp4 | 19.73 MB | ||
| 006 Automatically refreshing tokens while the user is logged in.srt | 7.91 KB | ||
| 006 webapp.zip | 101.99 KB | ||
| 007 Getting a user from our simple SPA with the Get User button.mp4 | 16.34 MB | ||
| 007 Getting a user from our simple SPA with the Get User button.srt | 5.89 KB | ||
| 007 webapp.zip | 102.1 KB | ||
| 008 Logging web users out.mp4 | 13.93 MB | ||
| 008 Logging web users out.srt | 7.65 KB | ||
| 008 webapp.zip | 102.22 KB | ||
| 009 Testing refreshing tokens for Single Page Apps.mp4 | 46.32 MB | ||
| 009 Testing refreshing tokens for Single Page Apps.srt | 10.57 KB | ||
| 009 webapp.zip | 102.62 KB | ||
| 010 Testing logging users out of our SPA.mp4 | 13.74 MB | ||
| 010 Testing logging users out of our SPA.srt | 8.22 KB | ||
| 010 webapp.zip | 102.79 KB |
Обучающие видео » Компьютерные видеоуроки и обучающие интерактивные DVD » Программирование (видеоуроки)
Introduction to Testing in Go (Golang)
Год выпуска: 6/2024
Производитель: Udemy
Сайт производителя: https://www.udemy.com/course/introduction-to-testing-in-go-golang/
Автор: Trevor Sawler
Продолжительность: 12h 18m 38s
Тип раздаваемого материала: Видеоурок
Язык: Английский
Субтитры: Английский
Описание:
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 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.
[spoiler="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
[/spoiler]
By the end of this course, you will have a solid understanding of how to write effective tests, and how to write testable code.
Please note that this course requires you to download Docker Desktop from Docker. If you are a Udemy Business user, please check with your employer before downloading software.
Who this course is for: Developers working in Go who want to level up their testing skills Формат видео: MP4
Видео: avc, 1280x720, 16:9, 30.000 к/с, 307 кб/с
Аудио: aac lc sbr, 44.1 кгц, 62.8 кб/с, 2 аудио
[spoiler="Изменения/Changes"]
Version 2024/6 compared to 2022/9 has increased the duration of 2 minutes. English subtitles have also been added to the course.
[/spoiler]
[spoiler="MediaInfo"]
General
Complete name : D:\2_2\Udemy - Introduction to Testing in Go (Golang) (6.2024)\06 - Testing Validation\001 What we'll cover in this section.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 1.55 MiB
Duration : 34 s 598 ms
Overall bit rate : 375 kb/s
Frame rate : 30.000 FPS
Movie name : 001 What we'll cover in this section
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Format settings, GOP : M=4, N=60
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 34 s 434 ms
Bit rate : 307 kb/s
Nominal bit rate : 400 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.011
Stream size : 1.26 MiB (81%)
Writing library : x264 core 148
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=umh / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=22 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=60 / keyint_min=6 / scenecut=0 / intra_refresh=0 / rc_lookahead=60 / rc=cbr / mbtree=1 / bitrate=400 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=400 / vbv_bufsize=800 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Codec configuration box : avcC
Audio
ID : 2
Format : AAC LC SBR
Format/Info : Advanced Audio Codec Low Complexity with Spectral Band Replication
Commercial name : HE-AAC
Format settings : Explicit
Codec ID : mp4a-40-2
Duration : 34 s 598 ms
Bit rate mode : Constant
Bit rate : 62.8 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 21.533 FPS (2048 SPF)
Compression mode : Lossy
Stream size : 265 KiB (17%)
Default : Yes
Alternate group : 1
[/spoiler]
[spoiler="Скриншоты"]
![]()
[/spoiler]
| torrent name | size | uploader | age | seed | leech |
|---|---|---|---|---|---|
| 631.4 MB | freecoursewb | 1 month | 5 | 1 | |
| 10.81 GB | EducationForAll | 2 months | 13 | 11 | |
| 9.04 GB | EducationForAll | 2 months | 14 | 12 | |
|
Complete Introduction to Environment Art Tutorial Course [2023, ENG] Posted by
DukeNukem2005 in Other
|
46.97 GB | DukeNukem2005 | 3 months | 6 | 0 |
|
Peterson Academy - Introduction to Music Theory - Samuel Andreyev EDU4U Posted by
EducationForAll in Other
|
6.9 GB | EducationForAll | 3 months | 10 | 3 |
All Comments