junit5
FlatLaf
Our great sponsors
junit5 | FlatLaf | |
---|---|---|
13 | 25 | |
6,118 | 3,012 | |
1.2% | - | |
9.6 | 9.3 | |
5 days ago | 2 days ago | |
Java | Java | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
junit5
-
Refactoring Multi-Module Kotlin Project With Konsist
To make the above check work we need to wrap it in JUnit test:
-
CI/CD Pipeline Using GitHub Actions: Automate Software Delivery
Java / JUnit
-
TDD vs BDD - A Detailed Guide
Next, you need to install a testing framework that will be used for performing unit testing in your project. Several testing frameworks are available depending on the programming language used to create an application. For example, JUnit is commonly used for Java apps, pytest for Python apps, NUnit for .NET apps, Jest for JavaScript apps, and so on. We’ll use the Jest framework for this tutorial since we are using JavaScript.
-
Spring Cloud Gateway 4.0.0-RC2 native example with Testcontainers
This repository provides a BuildImageTest that uses the buildpack to create a native image. It then tests the native image, using Testcontainers and JUnit. Building the native image with AOT processing, as part of a test, takes minutes not seconds, and should not be part of normal "inner loop" development. So the BuildImageTest is in a separate sourceSet and can be executed independently. This is a very powerful pattern, that I'm just getting started with. I would love to hear your thoughts on this pattern or other alternatives to it.
-
Building Better Apps with Automated Tests
To get started with testing, search for a popular testing framework for your programming language. PHP has PHPUnit, for example. Java has JUnit. Flutter apps use Flutter Driver. No matter your language or framework, there is a testing framework that will work for your app.
-
Why does Rusts testing tools seem so much less polished compared to its other tooling?
Testing tools on the JVM stopped using reflection about twenty years ago, they all use annotations these days (e.g. https://testng.org, https://junit.org). Rust has annotations too, obviously.
-
Integration Testing Done Right
Testcontainers is a Java library that supports JUnit tests providing lightweight instances of anything that we can run in a Docker container.
-
What is unit testing?
There are unit testing frameworks for most popular programming languages. Some examples of popular unit test frameworks are Jest for Javascript, JUnit for Java, and NUnit for all .Net languages.
- Your cool open source libraries
FlatLaf
- online chess game made in Java
-
Win32 App Isolation
JVM UI isn't so bad. I've written some pretty modern looking UI with it. The sophisticated controls are all there.
Modern JavaFX theme: https://github.com/mkpaz/atlantafx
Modern Swing theme: https://github.com/JFormDesigner/FlatLaf
And these days Compose Multiplatform: https://www.jetbrains.com/lp/compose-multiplatform/
I tend to use Kotlin rather than Java but of course Java is perfectly fine too. You can also use Clojure.
If you use any of those frameworks you can distribute to Win/Mac/Linux in one command with Conveyor. It's free for open source apps and can do self-signing for Windows if you don't want to pay for the certificates or the Store (but the Store is super cheap these days, $19 one off payment for an individual). Also supports Electron and Flutter if you want to use those.
From those frameworks you can then access whatever parts of the Windows API you want. Flutter even has WinRT bindings these days! So it's not quite so bad.
-
FlatLaf 3.1 (and 3.0) - Swing Look and Feel
FlatLaf, a modern open-source cross-platform Look and Feel for Java Swing desktop applications, brings exciting new features in versions 3.0 and 3.1 🎉 😀
-
An Intellij IDEA plugin to inspect Swing components at runtime
Here’s the link to the “extras” subproject, and there you’ll find a section on the “UI Inspector” tool.
-
What do you use for building Desktop apps these days?
Swing with FlatLaf - https://github.com/JFormDesigner/FlatLaf
-
Show HN: Sierra, a DSL for building Java Swing applications
Take a look at FlatLAF:
https://github.com/JFormDesigner/FlatLaf
They have done a great job bringing a modern appearance to the Swing components.
- What's the best tool to use for making nice looking GUIs in Java .
-
Abandoning JavaFX was a mistake
Why would you want to create a custom look? What happened to the idea that apps should have standard looks so that they are easy to use? Anyway, if you want to have a custom look, there are a lot of open-source Swing look and feels, many of which are themeable. FlatLaf seems to be especially popular: https://github.com/JFormDesigner/FlatLaf
-
The Decline and Fall of Java on the Desktop Part 1 (1999-2005)
Some of the new LookAndFeels for Swing are really slick. Take a look, for instance, at FlatLaf:
-
Are we GUI Yet? The state of building user interfaces in Rust
If you are looking to use Java. This is very good
https://github.com/JFormDesigner/FlatLaf
There’s also Kotlin multi platform
What are some alternatives?
weblaf - WebLaF is a fully open-source Look & Feel and component library written in pure Java for cross-platform desktop Swing applications.
AssertJ - AssertJ is a library providing easy to use rich typed assertions
Windows UI Library - Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
scalatest-junit-runner - JUnit 5 runner for Scalatest
darklaf - Darklaf - A themeable swing Look and Feel based on Darcula-Laf
kotlin-native-gtk - GTK+ bindings for Kotlin Native
radiance - Building modern, elegant and fast Swing applications
equalsverifier - EqualsVerifier can be used in Java unit tests to verify whether the contract for the equals and hashCode methods is met.
tornadofx - Lightweight JavaFX Framework for Kotlin
castlemock - Castle Mock is a web application that provides the functionality to mock out RESTful APIs and SOAP web services.
javafx-gradle-plugin - Gradle plugin that makes it easy to work with JavaFX 11+
Minestom - 1.20.4 Lightweight Minecraft server