https://github.com/codecov/kotlin-standard
Codecov coverage standard for Kotlin
https://github.com/codecov/kotlin-standard
Last synced: 9 months ago
JSON representation
Codecov coverage standard for Kotlin
- Host: GitHub
- URL: https://github.com/codecov/kotlin-standard
- Owner: codecov
- License: mit
- Created: 2019-08-24T17:17:09.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-12-05T22:56:42.000Z (about 1 year ago)
- Last Synced: 2025-04-11T15:10:25.587Z (9 months ago)
- Language: Kotlin
- Size: 400 KB
- Stars: 9
- Watchers: 9
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Kotlin-Standard
[](https://github.com/codecov/kotlin-standard/actions/workflows/kotlin-standard.yml) [](https://codecov.io/gh/codecov/kotlin-Standard)
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fkotlin-standard?ref=badge_shield)
### Last Updated: 09/14/23 00:12:53
## What is this?
This is a **Kotlin/Gradle** application, with basic unit tests, for which coverage is uploaded to Codecov on a daily basis. It can also serve as an example for how to integrate Codecov into your Kotlin project. If the build is passing for this project, then Codecov's Kotlin report processing is functional and correct on codecov.io.
## Configuration
This project is written in `Kotlin 1.3` and is built using `Gradle 6.2.2`. Unit test are written using the `Spek` framework and coverage reports are generated using `Jacoco` plugin.
## Usage
### The Docker Way
Run unit tests inside a Docker container
```bash
docker-compose up
```
### The Local Way
Build the project
```
./gradlew build
```
Run tests
```
./gradlew test
```
## Reporting Issues
If you've discovered an issue with this repository or with Kotlin processing in general, it is recommended to email support@codecov.io rather than post an issue here. This repository will not be checked regularly for open issues.
## Contributing
Contributions are welcome! If you'd like to contribute to this repository, feel free to open a pull request or flag an issue. If you would like to contribute a new lanaguage standard, [you can get more information here](https://github.com/codecov/standards-scripts/blob/master/README.md#contributing).
## License
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fkotlin-standard?ref=badge_large)