prime-mvc
kotlinx-kover | prime-mvc | |
---|---|---|
4 | 2 | |
1,235 | 4 | |
3.6% | - | |
8.1 | 8.2 | |
6 days ago | 7 days ago | |
Kotlin | Java | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
kotlinx-kover
-
Apache Maven JaCoCo Configuration
The tool to measure code coverage in Java is JaCoCo, but that is not the only one. There are existing things like OpenClover or in Kotlin things like Kover and so on (just to mention some).
-
Kover is a Gradle plugin for Kotlin code coverage tools (by Jetbrains IntelliJ). Does anyone try it? Is it ready for production in Android development?
Kover is still lacking basic Android support and in our Android projects we were not able to replace Jacoco yet (due to errors): https://github.com/Kotlin/kotlinx-kover/issues/18
-
Did anyone find a way to exclude compose previews from Jacoco code coverage?
Kover 0.6.1 now supports this: https://github.com/Kotlin/kotlinx-kover/issues/121
-
Ask HN: What is a modern Java environment?
- Language: Java 17 or Kotlin
- API Layer: For tiny projects, Vert.x API directly, for larger projects Quarkus
- DB: Postgres, in-memory H2 for simple stuff
- Testing: JUnit 5, Testcontainers to automatically start + stop DB Docker containers with tests, Mockito or Mockk (Kotlin) for mocks
- Dependency Injection: CDI (built into Quarkus, for Vert.x you can initalize Weld when the app starts)
- Build tool: Gradle with Kotlin DSL
- Other tools:
Kover: automatic code-coverage reports from JaCoCo/IntelliJ (https://github.com/Kotlin/kotlinx-kover)
prime-mvc
-
Grails VS prime-mvc - a user suggested alternative
2 projects | 25 May 2023
Prime MVC is a Model View Controller written in Java and licensed under the Apache License 2.0.
-
Ask HN: What is a modern Java environment?
My company's product is primarily written in Java. It's a web based auth system, fwiw.
I don't write too much code nowadays, but read a lot. From what I can see, here's the stack:
* intellij for an ide (with tons of plugins)
* prime MVC (https://github.com/prime-framework/prime-mvc) for the framework
* mybatis for SQL/queries
* java 17
I've also used dropwizard and spring. If it was a greenfield development with emphasis on developer productivity, I'd go with spring any day. Big dev community, tons of doco, a solution for any problem if you can find it.
What are some alternatives?
ktlint - An anti-bikeshedding Kotlin linter with built-in formatter
adoptium
kotlin - The Kotlin Programming Language.
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
SDKMan - The SDKMAN! Command Line Interface
Async Http Client - Asynchronous Http and WebSocket Client library for Java
example-jacoco - Example Project to setup JaCoCo
intellij-plugins - Open-source plugins included in the distribution of IntelliJ IDEA Ultimate and other IDEs based on the IntelliJ Platform
Quarkus - Quarkus: Supersonic Subatomic Java.
orm16 - Code generation-based approach to ORM for Java 17, focusing on records as persistent data model
Micronaut - Micronaut Application Framework
hattery - Java library for making HTTP requests with a fluent, immutable API