PrimeFaces
junit5
Our great sponsors
PrimeFaces | junit5 | |
---|---|---|
16 | 13 | |
1,719 | 6,118 | |
1.5% | 1.2% | |
9.9 | 9.6 | |
6 days ago | 5 days ago | |
Java | Java | |
MIT License | 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.
PrimeFaces
-
Shadcn: Beautifully designed components that you can copy-paste into your apps
> I use Quasar and Vue. This is my hammer for all nails, no matter the size of the nail.
Vue is great, especially with their Composition API (https://vuejs.org/guide/extras/composition-api-faq.html#why-...) and something like Pinia for state management, without the hassles of something like Redux: https://pinia.vuejs.org/
As for components, I really liked the idea behind PrimeVue/PrimeReact/PrimeNG/PrimeFaces (https://www.primefaces.org/) because I'm not aware of any other attempts of creating components that actually work similarly across different frameworks/libraries and it's really good because your skills carry over pretty well if you ever find yourself exploring a slightly different stack.
For what it's worth, the components also work decently (there's a whole list https://primevue.org/autocomplete/) and look okay (with various themes available, https://primevue.org/theming/), plus you can get examples (https://blocks.primevue.org/). Oh yeah, they also have their CSS utilities (a bit like Tailwind, https://primeflex.org/installation) and icons (https://primevue.org/icons).
I actually look forwards to the day where most of these concerns are less of an artisanal craft but rather a set of boring and well known things that just work well for quickly putting together a CRUD or whatever you need.
That said, I also explored VueRequest for handling network requests a bit more easily (https://www.attojs.org/guide/gettingStarted.html) and VueUse for stuff like LocalStorage (https://vueuse.org/guide/) and while it doesn't feel like I'm building a crappy alternative to Vuex and the complexity is reasonably manageable and the usability present, occasionally it all still feels a bit annoying to deal with - reactivity, ways to shuffle around data that I get from the back end, props, various bugs... so it's not all good, but still less complex than some of the things I've seen with React or Angular.
-
A design system for the federal government
> You're unlikely to build anything that's usable by everyone using React/Vue/Angular.
I wonder why so few actually try doing this. I mentioned this in another comment, but PrimeFaces is one of the few (only one?) sets of usable components, that have libraries available for Angular/React/Vue/Java (though using Java is a bit of a mess because of JSF, though some like it): https://www.primefaces.org/
It's immensely cool to be able to use similar components and such across different technologies, as opposed to wanting one of those component libraries and thus being pigeonholed into either using just React (or something else), or third party bindings of questionable quality.
It's probably never going to be truly 1:1, but getting close enough seems like a good thing to me, here's an example of a random component:
https://primereact.org/treetable/
https://primevue.org/treetable/
https://www.primefaces.org/showcase/ui/data/treetable/basic....
-
PrimeFaces v13.0.0 Released
Visit the changelog for the complete list of changes.
-
HTML with Superpowers: An Introduction to Web Components
> A UI library for React, Vue, Svelte, Solid, whatever... Imagine being able to have a component library that works with any of them (or none of them).
That seems to be a worthy goal, but I don't see that being usable in prod projects, at least not in the near future.
The closest I've seen is something like PrimeFaces, which has components for Angular, React and Vue, which is the majority of projects I've seen out there: https://www.primefaces.org (I've also used the Java JSF variety, it was... sometimes problematic)
If you need something that works the same (or as close as you can get) across multiple front end frameworks/libraries, while still having most of the components you could possibly want, I don't think there are many other options out there.
For example:
- Angular calendar: https://www.primefaces.org/primeng/calendar
- React calendar: https://www.primefaces.org/primereact/calendar/
- Vue calendar: https://www.primefaces.org/primevue/calendar
- ¿Qué tecnologías usarían para crear una web app de gestión?
-
is there any component packages like mudblazor but for javascript/react?
PrimeFaces for Java, Angular, React and Vue.
- Your cool open source libraries
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
What are some alternatives?
Vaadin - Vaadin 6, 7, 8 is a Java framework for modern Java web applications.
AssertJ - AssertJ is a library providing easy to use rich typed assertions
Spring Boot - Spring Boot
ZK - ZK is a highly productive Java framework for building amazing enterprise web and mobile applications
Apache Wicket - Apache Wicket - Component-based Java web framework
jwt - Java Web Toolkit
Spring - Spring Framework
scalatest-junit-runner - JUnit 5 runner for Scalatest
Grails - The Grails Web Application Framework
Google Web Toolkit - GWT Open Source Project
jhipster - DEPRECATED: use https://github.com/jhipster/jhipster-bom instead
equalsverifier - EqualsVerifier can be used in Java unit tests to verify whether the contract for the equals and hashCode methods is met.