Spock
๐ Nov 2 Testing JVM applications with Spock.
Join me Friday, Nov 2nd, 9:00am to 12:00pm US Central Time for this online training.
Geb
WebDriver Support in Safari 10
I am a Safari user but I often default to Chrome or Firefox for Geb tests or cross browser testing.
Last week, I investigated a little bit and it turns out it is really easy to setup Geb tests to run with Safari.
Micronaut
Testing extension for Micronaut
A companion dependency for your Micronaut test classpath
This project includes a pretty simple set of extensions for JUnit 5 and Spock:
- Automatically start and stop the server for the scope of a test suite
- Use mocks to replace existing beans for the scope of a test suite
- Allow dependency injection into a test instance
The road to Micronaut
Blog post by @technipelago about his Micronaut journey:
After the summer I wanted to evaluate the new Micronaut framework and in the middle of September I made a bold decision. Migrate all 10 services to Micronaut to get a feeling for the framework!
Micronaut 1.0.0 was not yet released when I started the migration project. I think I started on 1.0.0.M4, upgraded to RC1, RC2 and sometimes I was running on latest commits on the master branch. It was a bumpy road but I managed to solve all issues (the right way, not workarounds) and move on, much thanks to the amazing Micronaut team at OCI.
Building Microservices with Micronaut
Really nice to see third-party companies testing the technology:
In order to test the Micronaut framework, we decided to implement it in an extremely simplified version of an insurance sales system. We removed a lot of real-world business complexity for the test, but retained enough requirements to test the following aspects of microservice development:
- Project creation and development
- Access of both relational and NoSQL databases
- Blocking and non-blocking operations implementation
- Microservice to microservice communication (synchronous and asynchronous)
- Securing access with JWT
- Distributed tracing
- Service discovery
- Running background jobs
- Management and monitoring
Grails
Grails Domain Read Only attribute
@AssarNirav showcases two solutions to achieve a read-only domain attribute in a Grails Application:
- Derived Properties
- Hibernateโs Dynamic update.
Comment
Micronaut 1.0 GA released!. During this year, I have had the privilege to see the framework grow from an idea, to DI working only with Groovy, to DI working with Java, to include an HTTP Server, a declarative HTTP Client, Security, .... to 1.0.0.RELEASE.
What an amazing feeling to see 1.0 out.
Sergio del Amo