thalysviana / Cocoaheads2022-Fortaleza

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cocoaheads2022-Fortaleza

Description 🧐

In this project we're going to help Hogwarts' students in adding unit tests to an iOS app (Devs 🤝 Wizards). They told us they are concerned about the imminent threats from the dark forces, and asked for our help to add unit tests to protect hogwarts against the resurgent evil, but there's one caveat, we must use magic Sourcery to build it 🪄

Some sourcery

Initial Set up ⚙️

Clone the project

git clone https://github.com/thalysviana/Cocoaheads2022-Fortaleza.git

Install Sourcery

brew install sourcery

You can also use any of the other installation methods described in the Sourcery repo

In the root folder of either of the two projects (Starter or final) run the following command:

sourcery

This will read sourcery configuration from the .sourcery.yml file and trigger the code gen with the corresponding annotations

More info ℹ

This repo has two projects. One called HPSampleStarter and another one called HPSampleFinal. They are pretty much the same, the only difference is that the first one is not yet finished. Just in case you want to play with it and try yourself some Sourcery 🧙‍♂️. The latter is the finalized version of it. Feel free to use as a guidance project.

About


Languages

Language:Swift 99.2%Language:C 0.8%