TestKit support for JDBC
See original GitHub issueWith Lagom 1.2, you can enable support for Cassandra in TestServer
, or you can disable persistence entirely (which is the default) but there’s no support for testing persistence with JDBC.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Slick TestKit
Running sbt test discovers MyPostgresTest and runs it with TestKit's JUnit runner. This in turn causes the database to be set up through...
Read more >Spring JdbcTemplate Unit Testing - Baeldung
Spring JdbcTemplate is a powerful tool for developers to focus on writing SQL queries and extracting results. It connects to the back-end ...
Read more >Spring - Simplifying Jdbc Unit Testing with JdbcTestUtils
The class JdbcTestUtils has utility methods which can be used with JdbcTemplate to simplify standard database testing scenarios.
Read more >How do I unit test jdbc code in java? [closed] - Stack Overflow
The point of your test is to test your jdbc code and make sure it works. ... I prefer using EasyMock for testing...
Read more >Getting started with Unit Testing of JDBC based DAOs with the ...
For one of our Java projects, I wanted to help a colleague getting started with unit testing. Due to high time pressure, there...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have a fix for this and will submit a PR soon.
This issue refers to running an integration tests using
akka-persistence
over anRDBMS
database.This issue originally required supporting
JDBC
for testing but implicitly meantRBDMS
. The current lagom offer spans 3 different read-sides for RDBMS:which could make the testing a bit more difficult since the modules to start could differ.
My previous message was confusing:
Hope this is more clear now.
(edited)