CodyEngel / fakek

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

#42 - Add Fake Educator #58

Closed pedro-cze closed 3 years ago

pedro-cze commented 3 years ago

Closes #42

Description

PR contains implementation of FakeEducator + unit tests

Technical Details

data class FakeEducator

Code Samples

fun main() {
    val educator = FakeEducator("campus", "course", "secondarySchool", "university")
    educator.campus()
    educator.course()
    educator.secondarySchool()
    educator.university()
}

Reviewers: @CodyEngel

codecov[bot] commented 3 years ago

Codecov Report

Merging #58 into main will increase coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main      #58      +/-   ##
============================================
+ Coverage     99.15%   99.19%   +0.04%     
- Complexity      100      106       +6     
============================================
  Files            22       23       +1     
  Lines           236      248      +12     
  Branches          3        3              
============================================
+ Hits            234      246      +12     
  Misses            1        1              
  Partials          1        1              
Impacted Files Coverage Δ Complexity Δ
src/main/kotlin/dev/fakek/FakeContext.kt 97.67% <100.00%> (+0.11%) 1.00 <0.00> (ø)
src/main/kotlin/dev/fakek/fakes/FakeEducator.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 22d27c7...f1d70c5. 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.