Comments (6)
However, this might be less relevant nowadays since I think we use other examples in the documentation? Anyway, if we keep the example it should have tests.
from kalix-jvm-sdk.
Doing this as it will also let me work through the test kit which I haven't used before.
from kalix-jvm-sdk.
After digging a bit here, the eventing sample has a integration test, but no unit tests. I think I misinterpreted this issue as there being something more akin to in-jvm testkit but the SDK testkit is for running integration tests against proxy in docker with the help of test-containers, not unit tests?
from kalix-jvm-sdk.
The unit tests should be using the js testkit.
I think the docs have been updated to show this. I just reviewed a PR for a tutorial using the e-commerce sample to show unit testing with js testkit.
The main issue I saw with the current format is it requires manually downloading the testkit and I think it should be part of the SDK instead. @johanandren @octonato
from kalix-jvm-sdk.
This is the Java SDK though, and the testkit is part of the SDK set of artifacts and included in samples as a regular dependency.
Just that it doesn't have any specific support for unit tests (as in quick in-process tests) but integration tests where it spins up the proxy in dev mode in a docker container and runs tests against that. So maybe it is just a terminology confusion here (unit tests vs integration tests run in tests written with junit).
from kalix-jvm-sdk.
Depends on #118 now then
from kalix-jvm-sdk.
Related Issues (20)
- Same partial path for different components fails silently
- propage tracing to timer calls
- use command name for tracing span for ES and VE HOT 1
- bug: Views not receiving the traceparent from the event HOT 11
- package with only kalix required proto files
- Release Kalix Java/Scala SDKs v1.4.1
- Document what limitations there are for entity ids
- feat: Adding a HTTP client accessible to users
- chore: adding docs about the `maven-plugin` option `jvmArgs`
- bug: The `traceparent` / `tracestate` don't seem to be injected automatically as headers HOT 1
- Support scalapb oneof sealed_value
- feat: For the Noop one, it will be good if log from time to time that user is using a noops one.
- chore: upgrade the other samples to sbt 1.9.9 HOT 1
- Make WebClientProvider accessible to Spring Application Context
- Service port mappings for integration test
- Scala SDK - Scala 3 support HOT 1
- usage of tmp dir in Kalix
- Release Kalix Java/Scala SDKs v1.5.0 HOT 3
- Consider adding sdk dependencies in parent pom
- Sequence and sequence type in metadata
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kalix-jvm-sdk.