Truth
jbang
Our great sponsors
Truth | jbang | |
---|---|---|
4 | 12 | |
2,693 | 1,349 | |
0.4% | 1.7% | |
8.9 | 8.4 | |
7 days ago | 6 days ago | |
Java | Java | |
Apache License 2.0 | MIT License |
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.
Truth
-
Any resources for Unit Tests?
Truth or AssertJ for easier assertions in tests with better exceptions
-
Getting back into Java after 12-15 years away?
Truth is a nice unit testing assertion library
-
Gradle all the way down: Testing your Gradle plugin with Gradle TestKit
Configured the default test suite (named "test", i.e., the "unit tests") to use the JUnit5 (aka JUnit Jupiter) test framework, and to add Truth as a testImplementation dependency.
-
Truthish: A Google Truth inspired library written for Kotlin MPP
Hey all - I created a project for myself two years ago to experiment with MPP, based on Google Truth but rewritten in 100% Kotlin, which I called Truthish.
jbang
-
Java kernel for Jupyter - update
Its library made by maven folks that allows easy embedding of the resolver. Im about to move it it in jbang https://github.com/jbangdev/jbang/pull/1604
-
Show HN: Zero-dependency Java framework out of beta
Congratulations. I believe there is room for a micro framework that is smaller than Javalin or SparkJava.
That said, if you want to cash even more on minimalism, you may want to provide a single-file example using JBang[0].
[0]. https://jbang.dev/
-
Paving the on-ramp [Brian Goetz]
These would be awesome changes and fully in the spirit of what we managed to do already in jbang (https://jbang.dev). Having the verbosity removed would make it even better.
-
Getting back into Java after 12-15 years away?
big part of why I made jbang.dev so if you want to quickly play with all the suggested technologies in this thread without being a java build tool master do give it a go.
-
What is the thing that makes Java hard to get started ?
(jbang being https://jbang.dev)
-
Processing images in Java with OpenCV and Quarkus
Quarkus provides the option to create command line apps, and this is so kool, since you can also compile these into native. We are just going to make simple app for demo purpose in this blog. But if you are looking into creating some serious nirvana of cli apps take a look at this guide at quarkus.io using picocli or JBang
-
Need Guidance: How to compile an application so it can run as application without Java IDE on another computer. (Example: ./runWatchFolders )
https://jbang.dev provides a bunch of ways to build and distribute simple java apps.
- Show HN: Prig – like Awk, but uses Go for “scripting”
-
JBang can now be used to make java one-liners
See https://twitter.com/maxandersen/status/1494600204590501889?s=20 and release at https://github.com/jbangdev/jbang/releases/tag/v0.90.0
-
Spring Boot 2.6.2 on Raspberry Pi 4
~$ sudo apt -q install zip ~$ curl -s "https://get.sdkman.io" | bash ~$ source "$HOME/.sdkman/bin/sdkman-init.sh" ~$ sdk version ~$ ==== BROADCAST ================================================================= * 2022-01-06: connor 1.2.1 available on SDKMAN! https://github.com/helpermethod/connor/releases/tag/v1.2.1 * 2022-01-04: micronaut 3.2.4 available on SDKMAN! * 2022-01-02: jbang 0.86.0 available on SDKMAN! https://github.com/jbangdev/jbang/releases/tag/v0.86.0 ================================================================================ SDKMAN 5.13.1 ~$
What are some alternatives?
AssertJ - AssertJ is a library providing easy to use rich typed assertions
SDKMan - The SDKMAN! Command Line Interface
Hamcrest - Java (and original) version of Hamcrest
picocli - Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.
JUnit - A programmer-oriented testing framework for Java.
nio - Low Overhead Numerical/Native IO library & tools
Mockito - Most popular Mocking framework for unit tests written in Java
quarkus-opencv - OpenCV extension for Quarkus
S3Mock - A simple mock implementation of the AWS S3 API startable as Docker image, TestContainer, JUnit 4 rule, JUnit Jupiter extension or TestNG listener
Quarkus - Quarkus: Supersonic Subatomic Java.
Awaitility - Awaitility is a small Java DSL for synchronizing asynchronous operations
quarkus-opencv-examples - OpenCV examples with Quarkus