Java articles
237 subscribers
245 links
Channel providing you with the Java and software development industry related content
Download Telegram
Improve the quality of your testing with this catalogue of high-level testing anti-patterns that are technology agnostic.
Do you recognize some of these anti-patterns yet?
#testing #architecture #patterns #junior #middle
http://blog.codepipes.com/testing/software-testing-antipatterns.html
Chaos Engineering is the discipline of experimenting on a distributed system in order to build confidence in the system’s capability to withstand turbulent conditions in production. Chaos Monkey will automatically scan your Spring Components simulating Latency, Exception and AppKiller assaults.
#spring #springboot #testing #senior
https://codecentric.github.io/chaos-monkey-spring-boot/
TestContainers are just awesome, they provide you a very convenient way to start up and cleanly tear down docker containers in JUnit tests. This feature is very useful for integration testing of applications against real databases and any other resource for which a docker image is available.
#java #testing #springboot #middle
http://www.java-allandsundry.com/2018/05/testcontainers-and-spring-boot.html
This article presents a way to structure a Spring Boot application in vertical modules and horizontal layers and shows you how to test the verticals and layers with the testing features provided by Spring Boot.
#java #testing #spring #springboot #junior #middle #senior
https://reflectoring.io/testing-verticals-and-layers-spring-boot/
It’s declarative. It allows the user to test APIs with no code. It is a robust, specification-based framework to test REST and GraphQL (or any HTTP-based) APIs. It is Just-API. Learn how to use it to create test suites for services.
#java #graphql #rest #testing #middle #senior
https://dzone.com/articles/testing-rest-graphql-services
Another amazing article covering JUnit 5. It is time getting to know the test lifecycle, assertions, and assumptions as well as some more advanced features like test interfaces, disabled, tagged, nested, and parameterized tests. Don't miss it!
#java #testing #junit #middle
https://blog.codefx.org/libraries/junit-5-basics/
Although the concept of the Test Pyramid has been around for a while, teams still struggle to put it into practice properly. This article revisits the original concept of the Test Pyramid and shows how you can put this into practice. Check it out!
#testing #architecture #middle #senior
https://martinfowler.com/articles/practical-test-pyramid.html
Unit Testing with JUnit - Tutorial
This tutorial explains unit testing with JUnit 4.x and JUnit5. It also covers the creation of JUnit tests. Running them automatically helps to identify software regressions introduced by changes in the source code. Having a high test coverage of your code allows you to continue developing features without having to perform lots of manual tests. If you want to learn more, this article is a very good choice. Unit testing is always necessary.
#java #testing #junior #middle
https://www.vogella.com/tutorials/JUnit/article.html
Microservices for Java Developers: Performance and Load Testing
These days numerous frameworks and libraries make it is pretty easy to get from literally nothing to a full-fledged running application or service in a matter of hours. However, the decisions which frameworks make on your behalf (often called “sensitive defaults”) are far from being optimal (or even sufficient) in the context of the specific application or service.
In this tutorial you will get a great overview about performance and load testing, focusing on the tools to help you with achieving your goals and also highlight the typical areas of the application to tune.
#performance #testing #microservices #architecture #tools #middle #senior
https://www.javacodegeeks.com/2019/02/microservices-for-java-developers-performance-and-load-testing.html