Skip to content

jmpg93/AutoTestDouble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Test double generation:

This is a playground to generate tests doubles for protocols.

Add files to the Input folder or Input.swift file to generate test doubles of those protocols. Every generated class will be available in the Output folder.

How to start?

1. Install sourcery using brew through terminal:

brew install sourcery

2. Clone the repo:

git clone https://github.com/jmpg93/AutoTestDouble.git

3. Move to the resources folder:

cd AutoTestDouble/AutoTestDouble.playground/Resources/

4. Execute the watch.sh script:

./watch.sh

5. Done!

Open the playground and play. Save the to see the generated code. Use assistant editor on right for extra fun.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published