We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Integration tests are needed and simple by Piotr Przybyl
Integration tests are crucial for ensuring your code's reliability and safety. Learn how to write simple tests using Test Containers and technologies like Java, Go, and.NET, and why avoiding rewriting code is essential.
- The speaker emphasizes the importance of integration tests, stating that rewriting existing code is not the best approach.
- Tests should be written in the same technology used by the production code, for example, using Java test containers.
- Simple integration tests can be written using libraries like Test Containers.
- The speaker uses a smoke detector as an example of a device that should be tested thoroughly.
- He creates a simple gas detector using HTTP server and tests it with Test Containers.
- The speaker encourages the audience to provide feedback and test their code thoroughly.
- He also emphasizes the importance of using the same technology in tests as in production code.
- The presentation is humorous, with the speaker making jokes and playing on stereotypes.
- Test Containers can be used to test Java, Go, .NET, and other technologies.
- The speaker uses Docker and Test Containers to demonstrate how to test a simple smoke detector.
- He explains that well-designed tests are not just about testing the code, but also about safety and reliability.
- The presentation is interactive, with the speaker encouraging audience participation.