Skip to content

martinssavickis/EasyConstructor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyConstructor

Easily mock immutable objects

Build status

Build Status CodeFactor

Intended usage

Replace custom mocking factories in test projects.

Current features

  • Construct an instance of class by passing anonymous object with values for constructor parameters
  • Construct instances from sparse list of values with defaults for missing values
  • Construct complex parameters by passing hierarchical values
  • Construct with interface parameters by registering implementation to create from values
  • Construct with interface parameters by passing valid implementation

TODO

  • Provide fluent API
  • Write test cases that can be used as documentation

About

Easily construct objects with complex constructors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published