Ballerina
[container.image] repository = "myorg/myapi" name = "myapi" tag = "v1.0" Ballerina includes a built-in test framework.
Run:
bal test myproject/ ├── Ballerina.toml # module metadata, dependencies ├── main.bal # entry point ├── modules/ │ └── auth/ # submodule │ ├── Module.md │ └── auth.bal ├── tests/ # test files │ └── main_test.bal └── target/ # build output Create a new project: ballerina
Call:
bal build --cloud=docker bal build --cloud=k8s This creates a Dockerfile , docker-image.yaml , or Kubernetes YAML. [container