-
Notifications
You must be signed in to change notification settings - Fork 199
Home
Tadeas Kriz edited this page Jan 17, 2016
·
2 revisions
Mockery was created due to lack of a proper Swift mocking framework. We built the DSL very similar to Mockito, so anyone using it in Java/Android can immediately pick it up and use it.
Mockery has two parts. One is the runtime and the other one is an OS X command-line tool simply called MockeryGenerator.
Unfortunately Swift does not have a proper reflection, so we use the generator to go through files you specify and generate supporting structs/classes that will be used by the runtime in your test target.