Skip to content

Instantly share code, notes, and snippets.

@gabsprates
Last active January 8, 2022 21:59
Show Gist options
  • Save gabsprates/5ec661f2e6645251ca3a2e2725cd4e59 to your computer and use it in GitHub Desktop.
Save gabsprates/5ec661f2e6645251ca3a2e2725cd4e59 to your computer and use it in GitHub Desktop.
Testes

Testes

Teoria de testes

Entendendo Testes de Software
https://willianjusten.com.br/entendendo-testes-de-software/

Testes Automatizados – Hipsters #51
https://hipsters.tech/testes-automatizados-hipsters-51/

Testes de Software e Inteligência Artificial – Hipsters #154
https://hipsters.tech/testes-de-software-e-inteligencia-artificial-hipsters-154/

Você Testa Se O Teste Do Código Testado É Testável?
https://zofe.com.br/voce-testa-se-o-teste-do-codigo-testado-testavel

Lambda3 Podcast 18 - Testes
https://www.lambda3.com.br/2016/11/podcast-18-testes/

Lambda3 Podcast #186 – Vamos falar sobre testes
https://www.lambda3.com.br/2020/03/lambda3-podcast-186-vamos-falar-sobre-testes/


Escrever um bom teste

How to write good tests
https://github.com/mockito/mockito/wiki/How-to-write-good-tests

Test-to-Pass and Test-to-Fail
https://flylib.com/books/en/4.223.1.45/1/

How to Write Good Test Cases?
http://www.softwaretestingclass.com/how-to-write-good-test-cases/

Unit Tests, How to Write Testable Code and Why it Matters
https://www.toptal.com/qa/how-to-write-testable-code-and-why-it-matters

Testing to Pass vs. Testing to Fail
https://www.betabreakers.com/testing-to-pass-vs-testing-to-fail/

JavaScript Testing Best Practices
https://github.com/goldbergyoni/javascript-testing-best-practices


React Testing

React Testing Library

Test React apps with React Testing Library
https://thomlom.dev/test-react-testing-library/

How To Do the Basics in React Testing Library
https://medium.com/better-programming/how-to-do-the-basics-in-react-testing-library-c52cdb3a7726

Increase Code Maintainability with React Integration Testing
https://www.toptal.com/react/react-testing-library-tutorial

Testing React Applications with react-testing-library
https://blog.bitsrc.io/testing-react-applications-with-react-testing-library-da66aaef740a

Introduction to the React Testing Library
https://www.leighhalliday.com/introduction-react-testing-library

React Test Renderer

TDD with React Test Renderer
https://blog.logrocket.com/tdd-with-react-test-renderer/


Test Double

Difference Between Stub, Mock, and Spy in the Spock Framework
https://www.baeldung.com/spock-stub-mock-spy

Best Practices for Spies, Stubs and Mocks in Sinon.js
https://semaphoreci.com/community/tutorials/best-practices-for-spies-stubs-and-mocks-in-sinon-js

Mocks Aren't Stubs
https://martinfowler.com/articles/mocksArentStubs.html

Testes em Javascript: Diferença entre Fake, Spy, Stub e Mock
https://walde.co/2017/02/05/testes-e-javascript-diferenca-entre-fake-spy-stub-e-mock/

Unit Testing: Mocks, Stubs and Spies - What are they for?
https://gaboesquivel.com/blog/2014/unit-testing-mocks-stubs-and-spies/

Testes Unitários 101: Mocks, Stubs, Spies e todas essas palavras difíceis
https://medium.com/trainingcenter/testes-unit%C3%A1rios-mocks-stubs-spies-e-todas-essas-palavras-dif%C3%ADceis-f2765ac87cc8


TDD (Test-Driven Development)

You Don’t Know TDD
https://itnext.io/you-dont-know-tdd-691efe670094

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment