CodyEngel / fakek

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

Enhancement / fake ancient #32

Closed Caps-Looking closed 4 years ago

Caps-Looking commented 4 years ago

Closes #11

Description

Creation of a wrapper of fake ancients.

Technical Details

Code Samples

fun main() {
    val fakeAncient: FakeAncient(god="God", primordial="Primordial", titan="Titan", hero="Hero")
    fakek { println("Ancient: God - ${fakeAncient.god}, Primordial - ${fakeAncient.primordial}, Titan - ${fakeAncient.titan}, Hero - ${fakeAncient.hero}") }
}

Reviewers: @CodyEngel

codecov[bot] commented 4 years ago

Codecov Report

Merging #32 into main will increase coverage by 0.18%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main      #32      +/-   ##
============================================
+ Coverage     98.13%   98.31%   +0.18%     
- Complexity       37       43       +6     
============================================
  Files            11       12       +1     
  Lines           107      119      +12     
  Branches          3        3              
============================================
+ Hits            105      117      +12     
  Misses            1        1              
  Partials          1        1              
Impacted Files Coverage Δ Complexity Δ
src/main/kotlin/dev/fakek/FakeContext.kt 95.45% <100.00%> (+0.45%) 1.00 <0.00> (ø)
src/main/kotlin/dev/fakek/fakes/FakeAncient.kt 100.00% <100.00%> (ø) 6.00 <6.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 2f5cf6b...68ba962. Read the comment docs.