junit-pioneer
turbine
Our great sponsors
junit-pioneer | turbine | |
---|---|---|
4 | 8 | |
507 | 2,324 | |
2.8% | 2.0% | |
7.4 | 8.2 | |
5 days ago | 17 days ago | |
Java | Kotlin | |
Eclipse Public 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.
junit-pioneer
- Junit5 Extension Pack
-
28 Hours of Java (Live Stream - Now!)
Schedule (all times UTC): // hosts: ๐ฆ Ana, ๐ค Nicolai, ๐ง๐พโ๐ซ Shar // topics: ๐ป live code/exploration, ๐ฃ talk, ๐ฌ conversation, ๐ฎ game: ๐ค๐ป 04:00 working on JUnit Pioneer - https://junit-pioneer.org/ ๐ค๐ฃ 07:00 "Data-Oriented Programming in Java (21)" ๐ค๐ฌ 08:00 Gavin Bierman: pattern matching ๐ค๐ป 09:00 exploring JEPs on disallowing dynamic agents (451) and platform integrity (draft 8305968) ๐ค๐ฌ 10:00 Ron Pressler: platform integrity and the on-ramp ๐ค๐ป 11:00 exploring structured concurrency ๐ฆ๐ฃ 12:00 "Growing up with Java" ๐ฆ๐ฎ 13:30 Byte Legend - https://bytelegend.com/ ๐ง๐พโ๐ซ๐ฃ 16:00 "Java State of the Union" & "Why Community Matters" ๐ง๐พโ๐ซ๐ฌ 17:00 Pratik Patel, Mohammed Aboullaite, Venkat Subramaniam, Andres Almiray, Ixchel Ruiz, Vincent Mayers ๐ค๐ฌ 19:00 Brian Goetz ๐ค๐ฌ 20:00 Gunnar Morling ๐ค๐ฃ 21:00 "Java Next" ๐ค๐ป 22:00 investigating the state of Valhalla ๐ค๐ป 23:00 experimenting with string templates ๐ค๐ฃ 00:00 talk: "Why don't they just... ?!" ๐ค๐ฎ 01:00 Slay the Spire (written in Java!) ๐ค๐ป 02:00 modding Slay the Spire ๐ค๐ฃ 05:00 "The SolutionFactory To Java's Problems" ๐ค๐ฃ 06:00 "From Idea to IDE" ๐ค๐ฌ 07:00 just chatting / AMA ๐ค๐๏ธ 08:00 end
-
JUnit 5: link tests with task tracker issues
There is a cool library called JUnit Pioneer. It's an extension pack that includes some features that vanilla JUnit lacks. These are cartesian product tests, JSON argument parameterized source, retrying tests and many others. But I'm particularly interested in Issue annotation. Look at the code example below:
-
JVM Testing Newsletter | July 2021
junit-pioneer
turbine
-
Best practices for Unit Testing Android Apps with Mockk, Kotest and others
Much of this is now available in Mockito. Even more - naturally Kotlin doesnโt have static methods, and itโs a good practice not to create them. Ideal code is code that follows the SOLID and Clean Architecture principles, which means it can be easily mocked and tested. Therefore, we, Android developers, donโt need PowerMockโs special features but itโs important to remember that such frameworks exist. Another Mockitoโs limitation concerns work with coroutines and flows. In such cases, once again, mockito-kotlin as well as third-party libraries like turbine will help you out. This being said, Iโd like to tell you about another alternative to Mockito, which is Mockk.
-
As an Android dev - which of these topics do you feel like youโre struggling the most with? What skills would you like to improve?
All you need: https://github.com/cashapp/turbine
-
Testing Kotlin Flows on Coroutines 1.6
You've essentially converged on what Turbine does.
- I'm getting an error that 'child jobs have not finished yet' while executing this test case. But i'm making sure that my child coroutine finishes before asserting the result. Any ideas?
-
Updating my tech stack: RxJava vs Flow
Turbine is an excellent library for testing flows and is pretty much required imo. But overall Rx is much easier to test; debugging works much more consistently and the built in testing functions are great.
-
JVM Testing Newsletter | July 2021
turbine release 0.6.0
-
Testing StateFlow
This issue on how StateFlows should be tested is probably also worth reading: https://github.com/cashapp/turbine/issues/19
-
From RxJava to Kotlin Flow: Testing
Use https://github.com/cashapp/turbine
What are some alternatives?
playwright-demo - Quick project to test Playwright features + Allure report integration + Junit 5
Reaktive - Kotlin multi-platform implementation of Reactive Extensions
Javassist - Java bytecode engineering toolkit
mockk - mocking library for Kotlin
junit-pioneer-frontiers-pushed - JUnit Pioneer - Frontiers Pushed
kotlinx.coroutines - Library support for Kotlin coroutines
junit-dataprovider - A TestNG like dataprovider runner for JUnit with many additional features
spek - A specification framework for Kotlin
ByteLegend - Enjoy programming while playing a game.
compose-multiplatform - Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
junit-pioneer-issue-doc-generation-example
Kotest - Powerful, elegant and flexible test framework for Kotlin with additional assertions, property testing and data driven testing