Spock
Grails
Spock | Grails | |
---|---|---|
11 | 10 | |
3,489 | 2,759 | |
0.1% | 0.1% | |
9.4 | 9.5 | |
8 days ago | 7 days ago | |
Java | HTML | |
Apache License 2.0 | 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.
Spock
-
Mastering Spring Cloud Gateway Testing: Predicates (part 1)
I love using the Spock framework for its simplicity, readability, and maintainability. That's why we use Spock to drive our integration tests.
-
Helidon Níma is the first Java microservices framework based on virtual threads
Well I care a lot that it exists. And many other people I know do as well. Just because you don't seem to like it, you shouldn't imagine everyone else is like you.
Maybe Grails is no longer used as much (like Rails itself), but Groovy found other usages since then, like https://spockframework.org/ and Jenkins pipelines (https://www.jenkins.io/doc/book/pipeline/syntax/). It's not going anywhere, and I see no reason for anyone to be upset about it.
-
Ask HN: What's your favorite software testing framework and why?
In my opinion it is Spock for Java/Groovy [1]. The amount of functionality and readability you can squeeze from Groovy's DSLesque is absurd. Is basically a full fledged new test language with Java sprinkled as the test contents code
[1]: https://spockframework.org/
- 7 Awesome Libraries for Java Unit & Integration Testing
- There is framework for everything.
-
Are there languages that allow to extend its syntax ?
Groovy allows you to perform transforms on it's AST. If you look at the Spock framework, they used AST transforms to pull off a lot of the DSL.
-
Using Cucumber and Spock for API test Automation — What Benefits Can You Expect?
Spock and Cucumber exemplify the philosophy of behavior-driven development (BDD). The principle behind BDD is that you must first define the desired result of the added feature in a subject-oriented language before writing any tests. The developers are then given the final documentation.
- A linguagem de programação Groovy - Radar da itexto
- Gradle 7.0 Released
-
HTTPS Client Certificate Authentication With Java
As a quick demonstration, the following (Spock) test asserts that the client JVM code fails to create an SSL connection with the service. Note that I chose to use Vert.x Web Client to handle interacting with the service, but don't let this decision distract from the core content of this post. Nevertheless, if you haven't used Vert.x, I encourage you to try it out -- especially for building server-side network applications.
Grails
-
Grails VS prime-mvc - a user suggested alternative
2 projects | 25 May 2023
- Grails 5.3.0 Release
-
RIFE2 web framework under development
And frameworks like Grails build conventions and helpers on top of Spring.
-
Web app in Java with Template Engine
I don't have any direct experience and am only suggesting it because you mentioned RoR...But Grails (https://grails.org/) is basically the JVM version of RoR (Groovy on Rails -> Grails).
- Interview Question: What are your favorite Spring Boot libraries?
-
Libraries other than Spring Boot for creating web APIs
Grails - Spring under the hood. Much less boilerplate. Opinionated, which helps keep things consistent. Uses Spring-Security plugin for authentication.
- Why We’re Sticking with Ruby on Rails at GitLab
-
"get-it-done" MVC web framework like Django in Java?
Also, Grails, which a Rails like framework build on Groovy, a JVM scripting language.
- A linguagem de programação Groovy - Radar da itexto
-
How to Build Java Applications Today: April 5, 2021
Any JVM language to the rescue here? There’s one, but it’s not the one you’re thinking about. In a sign that this index may not accurately reflect our project reality, Groovy saw a meteoric rise of 0.86% to 1.04% last year! That was good for place 17. Yep, Groovy! Are people writing Gradle plugins in Groovy? Or is Grails having a resurgence? I’m as baffled as you are.
What are some alternatives?
Cucumber - Cucumber for the JVM
Spring Boot - Spring Boot
REST Assured - Java DSL for easy testing of REST services
PrimeFaces - Ultimate Component Suite for JavaServer Faces
AssertJ - AssertJ is a library providing easy to use rich typed assertions
Ratpack - Lean & powerful HTTP apps
Awaitility - Awaitility is a small Java DSL for synchronizing asynchronous operations
Ninja - Ninja is a full stack web framework for Java. Rock solid, fast and super productive.
Mockito - Most popular Mocking framework for unit tests written in Java
Apache PDFBox - Mirror of Apache PDFBox
ArchUnit - A Java architecture test library, to specify and assert architecture rules in plain Java
Apache Wicket - Apache Wicket - Component-based Java web framework