Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

code refactoring and unit testing #10

Merged
merged 14 commits into from Aug 15, 2019
Merged

Conversation

ghaith96
Copy link
Contributor

@ghaith96 ghaith96 commented Aug 15, 2019

Hello 馃槃 ,
Everything should be fixed in the code now, sorry about that.
I added basic unit testing to the repository.
I didn't do any integration tests yet. I might do that soon.
I refactored the services to interfaces, and set up the composition root for our dependencies in app
main.
Now every dependency is manually injected to facilitate integration tests !
Oh btw, how do you imagine the card? i suck at UI/UX 馃槅.

edit: feel free to comment any line or ask about anything in the code, i'll gladly explain anything 馃槉

@urmilshroff
Copy link
Owner

urmilshroff commented Aug 15, 2019

Thanks a lot! Can you give me some more info about the unit testing etc.? Is it something to do with CircleCI/Fastlane?

Edit: for the about card, you can simply copy/paste the code of my own about card in the About Page of the app, and replace my details with yours.

@urmilshroff urmilshroff merged commit 068fce4 into urmilshroff:dev Aug 15, 2019
@ghaith96
Copy link
Contributor Author

ghaith96 commented Aug 15, 2019

Unit testing is basically testing/validating units of plain code, which is the code that can be run in the virtual machine without any emulator/physical device.

About CI, I'm actually not sure because I have never done any CI before.
But I'll investigate more and I will comment if i find anything relative/useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants