Kotest
aws-sdk-java-v2
Kotest | aws-sdk-java-v2 | |
---|---|---|
17 | 8 | |
4,289 | 2,076 | |
0.6% | 0.7% | |
9.4 | 9.8 | |
1 day ago | about 22 hours ago | |
Kotlin | Java | |
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.
Kotest
-
AocKt: Test-driven Advent of Code in Kotlin
As you might know, Advent of Code will begin this Friday! If, like me, you want to have a go at solving the puzzles in Kotlin, I would like to share with you a little library I've developed to reduce boilerplate and solve the puzzles in a test-driven approach. It is based on Kotest, a modern and Kotlin-first test framework.
-
Tests Everywhere - Kotlin
Kotlin testing with Kotest and MockK
-
Best practices for Unit Testing Android Apps with Mockk, Kotest and others
As a matter of fact, in the previous examples, we have shifted a bit away from the TDD standards in the meaning that we test not only the operability of our code, but rather check if the code runs according to certain specifications (Given/When/Then). These specifications are our tests, and the syntactic sugar in the form of the possibility to give clear names to the tests using DisplayName and the grouping of the tests by a set of similar attributes helps us clearly formulate these specifications. There is an entire family of frameworks in different languages that allow us to create such specifications: for Java it is Spock, for Ruby—RSpec, and for Kotlin—Spek and Kotest frameworks. Below, I will go into more detail about them.
- Why do Kotlin tests (for Gradle projects) have to be inside classes?
-
Kotlin Mutation Tests
I've tried so many times. SO MANY. I love the idea of mutation testing. Even chatGPT couldn't help me. It just made up fake mutation testing frameworks to try. To me, pitest is dead. kotest is not mutation testing, but it's property testing is the next best thing I have found to revolutionize your unit tests.
-
How to improve third-party libraries with Kotlin extensions
The extensions are not particularly useful in this scenario because the described functionality can be incorporated into the Host class. On the other hand, they flourish in test frameworks like Kotest and enable the rapid development of useful add-ons like custom matchers. Extending third-party libraries with utility functions is another prevalent use case. In the next sections, we'll zero in on this specific aspect.
- Are there any plans to make a better build system for Kotlin than Gradle?
-
Testing with fakes different states?
We're using Kotest for our unit tests and are quite happy with it.
-
Testing with Kotlin and JUnit5
Basic testing in Kotlin with Kotest built for kotlin specificatlly (upcoming)
-
Kotlin&Junit vs Groovy&Spock
Here you are: https://github.com/kotest/kotest/issues/189
aws-sdk-java-v2
-
AWS SnapStart - Part 15 Measuring cold and warm starts with Java 21 using different synchronous HTTP clients
In this article we'll now add another dimension to our measurements : the choice of HTTP Client implementation. This is also interesting, because starting from AWS SDK for Java version 2.22 AWS added support for their own implementation of the synchronous CRT HTTP Client. The asynchronous CRT HTTP client has been generally available since February 2023. In this article we'll explore synchronous HTTP clients first and leave asynchronous ones for the next article.
-
Creating RSS feeds for language/module specific AWS SDK updates
The updates could be parsed from the github repo's CHANGELOG files (ex: javascript, java, python). I'm picturing an RSS feed generated for a specific language and module (ex: python s3, javascript s3, java sqs)
-
Using Cognito to provide auth to a Java desktop application - advice requested
Meanwhile the [SDK doesn't provide samples or an API for USER_SRP_AUTH AuthFlow](https://github.com/aws/aws-sdk-java-v2/issues/2851). (I don't think that's the right choice, anyway, because if I'm right I'd have to register my user in my new app, and I don't want to do that).
-
Latest java vs Kotlin?
Bonus: AWS SDK for Java v2 - this one I'm not sure of their reasons, but this request to add nullability annotations was filed 4.5 years ago, and there has been virtually no movement or feedback on it, so I can only speculate about their reasons for not fixing this.
-
Need help with the weird behavior of the AWS pagination token
If you think its a genuine bug in the API or the client somehow I think opening an issue in the github repo for the sdk might be a good place to start https://github.com/aws/aws-sdk-java-v2/issues .
-
Improving Python S3 Client Performance with Rust
Should be possible to just issue a GetObject with a range for the initial request skipping a head request. See here for caveats about how the Content Range data is returned in the response header: https://github.com/aws/aws-sdk-java-v2/issues/1209
-
How is the market for Kotlin developers where you live?
V2 AWS SDK for Dynamo DB, SNS, and SQS
-
enhanced DynamoDB: Does the dynamodb mapper support different types of rows on the same table?
DynamoDB mapper AWS SDK v2 readme
What are some alternatives?
spek - A specification framework for Kotlin
aws-sdk-java - The official AWS SDK for Java 1.x. The AWS SDK for Java 2.x is available here: https://github.com/aws/aws-sdk-java-v2/
mockk - mocking library for Kotlin
Simple Java Mail - Simple API, Complex Emails (Jakarta Mail smtp wrapper)
Kluent - Fluent Assertion-Library for Kotlin
powertools-lambda-java - Powertools is a developer toolkit to implement Serverless best practices and increase developer velocity.
strikt - An assertion library for Kotlin
mock-aws-java-sdk - Provides mocked versions of the Java AWS SDK clients
hamkrest - Hamcrest for Kotlin
RR4J - RR4J is a tool that records java execution and later allows developers to replay locally.
mockito-kotlin - Using Mockito with Kotlin
FAANG - Competitive programming questions.