* Cantinho Satkeys

Refresh History
  • bruno mirandela: boa noite todos boa semana
    10 de Fevereiro de 2026, 21:42
  • FELISCUNHA: cereal killa  Boa noite amigo , eu percebi , aquele abraço  101041
    10 de Fevereiro de 2026, 20:48
  • cereal killa: boas feliscunha  49E09B4F, t5r76 so dava mais jeito  p0i8l p0i8l
    10 de Fevereiro de 2026, 19:04
  • FELISCUNHA: cereal killa   Já mudaste de clube ???   535reqef34
    10 de Fevereiro de 2026, 11:41
  • FELISCUNHA: Bom dia pessoal  49E09B4F
    10 de Fevereiro de 2026, 11:39
  • cereal killa: try65hytr raio da chuva nao acaba  3w45r  9Scp0 9Scp0
    09 de Fevereiro de 2026, 20:18
  • worrierblack: 4tj97u<z
    09 de Fevereiro de 2026, 03:09
  • worrierblack: hello
    09 de Fevereiro de 2026, 03:09
  • worrierblack: hello
    09 de Fevereiro de 2026, 03:09
  • FELISCUNHA: Votos de um santo domingo para todo o auditório  4tj97u<z
    08 de Fevereiro de 2026, 11:39
  • j.s.: tenham um bom fim de semana,   49E09B4F 49E09B4F
    07 de Fevereiro de 2026, 14:31
  • j.s.: dgtgtr a todos  49E09B4F
    07 de Fevereiro de 2026, 14:30
  • FELISCUNHA: ghyt74  pessoall 49E09B4F
    06 de Fevereiro de 2026, 12:00
  • JPratas: try65hytr A Todos  4tj97u<z  2dgh8i k7y8j0 classic
    06 de Fevereiro de 2026, 05:17
  • joca34: ola amigos alguem tem este cd Ti Maria da Peida -  Mãe negra
    05 de Fevereiro de 2026, 16:09
  • FELISCUNHA: ghyt74  pessoal   49E09B4F
    03 de Fevereiro de 2026, 11:46
  • Robi80g: CIAO A TUTTI
    03 de Fevereiro de 2026, 10:53
  • Robi80g: THE SWAP FILM WALT DISNEY
    03 de Fevereiro de 2026, 10:50
  • Robi80g: SWAP
    03 de Fevereiro de 2026, 10:50
  • j.s.: dgtgtr a todos  49E09B4F
    02 de Fevereiro de 2026, 16:50

Autor Tópico: Unit Testing With Rust And Tokio  (Lida 213 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline mitsumi

  • Sub-Administrador
  • ****
  • Mensagens: 129146
  • Karma: +0/-0
Unit Testing With Rust And Tokio
« em: 25 de Maio de 2023, 15:57 »

Unit Testing With Rust And Tokio
Published 5/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 822.48 MB | Duration: 1h 34m

Build Fully Mocked Unit Tests Using Techniques and Tools

What you'll learn
Unit Testing in Rust
Rust and Tokio features to help setup tests
Rust language features to help structure tests
Crates that can help with testing
Requirements
Basic knowledge of Rust and prior experience with Unit Testing
Description
Programming with Rust is challenging. Even after spending substantial time learning and building apps with Rust, creating fully Mocked Unit Tests can be quite difficult.A real Unit Test should have its calls Mocked and only allow the Unit Under Test to run real code. But how does one do this with Rust? Dependency Injection is kind of doable, but dealing with Traits and their usage constraints can sometimes feel like a wrestling match.Although Rust has its own form of Interface, Rust is not an Object Oriented Programming language and does not have inheritance--which can make it unclear as to how to use Traits to perform patterns like Dependency Injection and creation of test Mocks. In addition the usage of async functions through the Tokio Runtime adds additional complexity to our tests. How do I force my tests to wait until certain variables are set? How do I share fixtures that are set globally across individual tests?In this course we'll learn about various design patterns we can use to help build Rust based Unit Tests that are truly Mocked, and not Integration Tests masquerading as Unit Tests. We'll also learn about several crates that can help with things like pre-setting global variables to be used by our tests before the tests are run, mocking crates that can help us Mock out services, and utilities that can help set random values to add robustness to our tests.
Overview
Section 1: Introduction
Lecture 1 Introduction and Tips
Section 2: Prerequisites
Lecture 2 Section Intro
Lecture 3 Rust Modules
Lecture 4 Brief Overview of SQLX
Lecture 5 Intro to lazy_static
Lecture 6 Overview of Necessary Crates
Section 3: Let's Create Our Unit Tests
Lecture 7 Section Intro
Lecture 8 Simple Version of Test Patterns
Lecture 9 Bringing it All Together
Intermediate Rust Developers


Download link

rapidgator.net:
Citar
https://rapidgator.net/file/979d2ac76300a6d4e3d8b62db3abe2b8/uvwmi.Unit.Testing.With.Rust.And.Tokio.rar.html

uploadgig.com:
Citar
https://uploadgig.com/file/download/abC4766c193Af39b/uvwmi.Unit.Testing.With.Rust.And.Tokio.rar

nitroflare.com:
Citar
https://nitroflare.com/view/445986C457316A9/uvwmi.Unit.Testing.With.Rust.And.Tokio.rar

1dl.net:
Citar
https://1dl.net/c5nnrl7teqbh/uvwmi.Unit.Testing.With.Rust.And.Tokio.rar