{"id":21885805,"url":"https://github.com/danielcarlosce/mywallet","last_synced_at":"2025-03-22T01:43:40.691Z","repository":{"id":146759538,"uuid":"97883369","full_name":"danielCarlosCE/MyWallet","owner":"danielCarlosCE","description":"Example of applying Sandi Metz's unit test approach into an iOS app","archived":false,"fork":false,"pushed_at":"2017-07-25T16:40:36.000Z","size":131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T20:09:21.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielCarlosCE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-20T22:31:27.000Z","updated_at":"2017-07-22T12:22:03.000Z","dependencies_parsed_at":"2023-05-21T06:00:20.636Z","dependency_job_id":null,"html_url":"https://github.com/danielCarlosCE/MyWallet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielCarlosCE%2FMyWallet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielCarlosCE%2FMyWallet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielCarlosCE%2FMyWallet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielCarlosCE%2FMyWallet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielCarlosCE","download_url":"https://codeload.github.com/danielCarlosCE/MyWallet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244894308,"owners_count":20527669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T10:29:30.746Z","updated_at":"2025-03-22T01:43:40.671Z","avatar_url":"https://github.com/danielCarlosCE.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyWallet\nThis is an iOS app with 100% test coverage! The goal is not to discuss how much we should cover, but to show how we test different scenarios. With few exceptions, the tests are based on Sandi Metz's great talk: [The Magic Tricks of Testing](https://www.youtube.com/watch?v=URSWYvyc42M)\n\n# UI\n\n![reader](resources/preview.jpg)\n\n## Incoming Query: Assert Result\n[testEqualsDoesConsiderBalanceStatus](https://github.com/danielCarlosCE/MyWallet/blob/master/MyWalletTests/WalletViewModelTests.swift#L20)\n\n### Incoming Command: Assert direct public side effects\n[testLoadViewDoesSetOutlets](https://github.com/danielCarlosCE/MyWallet/blob/master/MyWalletTests/ViewController2Tests.swift#L14)\n\n### Outgoing Command: Expect to send\n[testAddExpenseWithPositiveValueDoesAddNegativeValue](https://github.com/danielCarlosCE/MyWallet/blob/master/MyWalletTests/ViewModelTests.swift#L31)\n\n### Dependency Injection\n[ViewModel(storage: testStorage)](https://github.com/danielCarlosCE/MyWallet/blob/master/MyWalletTests/ViewModelTests.swift#L11)\n\n### Mock/Stub\n[TestDelegate](https://github.com/danielCarlosCE/MyWallet/blob/master/MyWalletTests/ViewModelTests.swift#L75)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielcarlosce%2Fmywallet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielcarlosce%2Fmywallet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielcarlosce%2Fmywallet/lists"}