Loom in the Java Ecosystem - Inside Java Newscast #34#videoAmong other things, Java 19 ships with virtual threads, structured concurrency APIs, sealed types, and pattern matching in
switch- all of them as previews, but still very cool! I'm using these features here to create a GitHub crawler.
Sorting A React App Into Java's Folder Structure#postHow to use react-app-rewired to sort a React app into a Java folder structure with
package.jsonat the root, and sources in
JUnit 5 Architecture or "What's Jupiter?"#postThe JUnit 5 architecture promotes a better separation of concerns than JUnit 4 did. It also provides clear APIs for testers (Jupiter) and tools (Platform).
JUnit 5 Basics:The Basics of JUnit 5: How to use
@Test, Lifecycle, Assertions, Assumptions, And More#post
@AfterAll, assertions, and assumptions. How to disable, name, and tag tests.
JUnit 5 Conditions:A detailed look at JUnit 5's
@DisabledOnJre, etc. and how to create custom conditions to flexibly disable test methods.
JUnit 5 - Dynamic Tests#postWith JUnit 5's dynamic tests, we can create tests at run time, for example to parameterize tests, create hierarchical test plans, or define tests with lambdas.
JUnit 5 Extension Model: How To Create Your Own Extensions#postThe JUnit 5 extension model enables detailed, flexible, and powerful additions to JUnit 5's core features. For that it provides specific extension points.
JUnit 5 - Parameterized Tests#postThorough introduction to parameterized tests in JUnit 5 with @ParameterizedTest, argument sources (eg @MethodSource, @CsvSource), and argument converters.
JUnit 5 Setup in IntelliJ, Eclipse, Maven, and Gradle#postHow to set up JUnit 5 so tests run in IntelliJ, Eclipse, Maven, Gradle or, if all else fails, via JUnit 4 or on the command line.
JUnit Lambda - The Prototype#postJUnit Lambda will eventually bring us JUnit 5. This is a discussion of the recent prototype, its features, core principles and compatibility considerations.