https://github.com/pramithamj/ballerina-testing
https://github.com/pramithamj/ballerina-testing
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pramithamj/ballerina-testing
- Owner: PramithaMJ
- Created: 2024-08-22T12:58:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-23T05:33:26.000Z (almost 2 years ago)
- Last Synced: 2025-03-14T16:09:11.609Z (over 1 year ago)
- Language: Ballerina
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ballerina Testing
This document provides instructions on how to run tests and generate reports for your Ballerina project.
## Running Tests
To run the Ballerina tests, use the following command:
```sh
bal test
````
This command will execute all the test cases in your project.
### Generating Code Coverage Report
To run the tests and generate a code coverage report, use the following command:
```sh
bal test --code-coverage --test-report
```
This command will execute all the test cases and generate a report with code coverage details.