six2six / fixture-factory

Generator fake objects from a template
Apache License 2.0
445 stars 88 forks source link

Fixing generic inference, fixing JavaVersion parse for early access JVMs #105

Open mageddo opened 5 years ago

mageddo commented 5 years ago
var user = Fixture.from(User.class).gimme("validFemaleUser");

On Fixture 3.1.0 javac can not make the inference and understand that user is a User instance

codecov-io commented 5 years ago

Codecov Report

Merging #105 into master will increase coverage by 0.68%. The diff coverage is 89.47%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #105      +/-   ##
============================================
+ Coverage     84.98%   85.66%   +0.68%     
- Complexity      355      358       +3     
============================================
  Files            41       41              
  Lines           879      879              
  Branches        148      149       +1     
============================================
+ Hits            747      753       +6     
+ Misses           92       86       -6     
  Partials         40       40
Impacted Files Coverage Δ Complexity Δ
...six/fixturefactory/transformer/SetTransformer.java 100% <100%> (ø) 12 <0> (ø) :arrow_down:
...ix/fixturefactory/loader/FixtureFactoryLoader.java 55.55% <100%> (ø) 3 <0> (ø) :arrow_down:
...a/br/com/six2six/fixturefactory/ObjectFactory.java 94.69% <100%> (ø) 45 <0> (ø) :arrow_down:
...ava/br/com/six2six/fixturefactory/JavaVersion.java 93.75% <87.5%> (+37.5%) 7 <3> (+3) :arrow_up:
...in/java/br/com/six2six/fixturefactory/Fixture.java 87.5% <87.5%> (ø) 4 <4> (ø) :arrow_down:

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 5239ccd...8715ab4. Read the comment docs.

mageddo commented 5 years ago

Any point before we can merge this pull request guys?