CodyEngel / fakek

A faker library for Kotlin.
Apache License 2.0
7 stars 6 forks source link

Feat/fake disease #57

Closed pedro-cze closed 3 years ago

pedro-cze commented 3 years ago

Closes #40

Description

PR contains the FakeDisease implementation + unit tests

Technical Details

data class FakeDisease

Code Samples

fun main() {
        val fakeDisease=  FakeDisease(diseaseName = "COVID-19")
        fakek { println("fakeDisease: ${fakeDisease.diseaseName}") }
}

Reviewers: @CodyEngel

codecov[bot] commented 3 years ago

Codecov Report

Merging #57 into main will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main      #57      +/-   ##
============================================
+ Coverage     99.19%   99.21%   +0.01%     
- Complexity      106      109       +3     
============================================
  Files            23       24       +1     
  Lines           248      254       +6     
  Branches          3        3              
============================================
+ Hits            246      252       +6     
  Misses            1        1              
  Partials          1        1              
Impacted Files Coverage Δ Complexity Δ
src/main/kotlin/dev/fakek/FakeContext.kt 97.77% <100.00%> (+0.10%) 1.00 <0.00> (ø)
src/main/kotlin/dev/fakek/fakes/FakeDisease.kt 100.00% <100.00%> (ø) 3.00 <3.00> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 120af17...8a15141. Read the comment docs.

CodyEngel commented 3 years ago

Hey @pedro-cze thanks for creating the PR, can you use the following PR template? This helps me out when it comes time to cut a release and eventually when this project has documentation.

pedro-cze commented 3 years ago

Hi @CodyEngel sorry for missing that template.