{"id":19651958,"url":"https://github.com/samuelematias/calculator_app","last_synced_at":"2026-05-15T21:37:19.276Z","repository":{"id":95817639,"uuid":"317837685","full_name":"samuelematias/calculator_app","owner":"samuelematias","description":"🧪  A simple Flutter app with several unit tests, widget testing, and integration tests/e2e.","archived":false,"fork":false,"pushed_at":"2020-12-02T23:26:10.000Z","size":434,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-30T08:03:22.970Z","etag":null,"topics":["dart","e2e-testing","flutter","integration-testing","unit-testing","widget-testing"],"latest_commit_sha":null,"homepage":"https://caster.io/courses/testing-fundamentals-of-flutter","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samuelematias.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2020-12-02T11:16:15.000Z","updated_at":"2020-12-02T23:30:37.000Z","dependencies_parsed_at":"2023-04-06T04:21:14.660Z","dependency_job_id":null,"html_url":"https://github.com/samuelematias/calculator_app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samuelematias/calculator_app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelematias%2Fcalculator_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelematias%2Fcalculator_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelematias%2Fcalculator_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelematias%2Fcalculator_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuelematias","download_url":"https://codeload.github.com/samuelematias/calculator_app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelematias%2Fcalculator_app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266296760,"owners_count":23907012,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dart","e2e-testing","flutter","integration-testing","unit-testing","widget-testing"],"created_at":"2024-11-11T15:08:37.920Z","updated_at":"2026-05-15T21:37:19.241Z","avatar_url":"https://github.com/samuelematias.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# calculator_app\n\nCalculator - [Caster.IO](https://caster.io) project to showcase testing techniques\n\n\u003e NOTE: **There are some tips in the PR's descriptions**, so take a look there!\n## Class / PR / Branch\n\n[Lesson 1: What is the difference between unit testing, widget testing, and integration testing?](https://caster.io/lessons/lesson-1-what-is-the-difference-between-unit-testing-widget-testing-and-integration-testing) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/1) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson1)\n\n[Lesson 2: Writing your first unit test](https://caster.io/lessons/lesson-2-writing-your-first-unit-test) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/2) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson2)\n\n[Lesson 3: Running your tests from the terminal](https://caster.io/lessons/lesson-3-running-your-tests-from-the-terminal) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/3) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson3)\n\n[Lesson 4: The structure of a good test](https://caster.io/lessons/lesson-4-the-structure-of-a-good-test) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/4) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson4)\n\n[Lesson 5: Using expect() in your tests](https://caster.io/lessons/lesson-5-using-expect-in-your-tests) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/5) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson5)\n\n[Lesson 6: All you need to know about Matchers](https://caster.io/lessons/lesson-6-all-you-need-to-know-about-matchers) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/6) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson6)\n\n[Lesson 7: Grouping your tests using the group() function](https://caster.io/lessons/lesson-7-grouping-your-tests-using-the-group-function) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/7) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson7)\n\n[Lesson 8: Testing code that throws an Error or an Exception](https://caster.io/lessons/lesson-8-testing-code-that-throws-an-error-or-an-exception) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/8) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson8)\n\n[Lesson 9: Sharing code between tests with setUp() and tearDown()](https://caster.io/lessons/lesson-9-sharing-code-between-tests-with-setup-and-teardown) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/9) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson9)\n\n[Lesson 10: Testing Futures](https://caster.io/lessons/lesson-10-testing-futures) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/10) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson10)\n\n[Lesson 11: Testing Streams](https://caster.io/lessons/lesson-11-testing-streams) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/11) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson11)\n\n[Lesson 12: Writing your first widget test](https://caster.io/lessons/lesson-12-writing-your-first-widget-test) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/12) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson12)\n\n[Lesson 13: The difference between pumpWidget(), pump() and pumpAndSettle()](https://caster.io/lessons/lesson-13-the-difference-between-pumpwidget-pump-and-pumpandsettle) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/13) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson13)\n\n[Lesson 14: Finding a widget in your widget tree using CommonFinders](https://caster.io/lessons/lesson-14-finding-a-widget-in-your-widget-tree-using-commonfinders) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/14) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson14)\n\n[Lesson 15: Interacting with your widgets using WidgetTester](https://caster.io/lessons/lesson-15-interacting-with-your-widgets-using-widgettester) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/15) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson15)\n\n[Lesson 16: Verifying your widget tests using a Matcher from flutter_test](https://caster.io/lessons/lesson-16-verifying-your-widget-tests-using-a-matcher-from-flutter_test) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/16) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson16)\n\n[Lesson 17: Testing smaller widgets in isolation](https://caster.io/lessons/-lesson-17-testing-smaller-widgets-in-isolation) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/17) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson17)\n\n[Lesson 18: Controlling the behavior of your dependencies using mockito](https://caster.io/lessons/lesson-18-controlling-the-behavior-of-your-dependencies-using-mockito) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/18) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson18)\n\n[Lesson 19: Stubbing synchronous methods with mock](https://caster.io/lessons/lesson-19-stubbing-synchronous-methods-with-mockito) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/19) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson19)\n\n[Lesson 20: Stubbing asynchronous methods using mockito](https://caster.io/lessons/lesson-20-stubbing-asynchronous-methods-using-mockito) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/20) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson20)\n\n\n[Lesson 21: Verifying interactions with mockito](https://caster.io/lessons/lesson-21-verifying-interactions-with-mockito) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/21) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson21)\n\n[Lesson 22: Using golden files to verify pixel-perfect widgets](https://caster.io/lessons/lesson-22-using-golden-files-to-verify-pixel-perfect-widgets) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/22) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson22)\n\n[Lesson 23: Collecting code coverage from your tests](https://caster.io/lessons/lesson-23-collecting-code-coverage-from-your-tests) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/23) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson23)\n\n[Lesson 24: Running integration tests with flutter_driver](https://caster.io/lessons/lesson-24-running-integration-tests-with-flutter_driver) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/24) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson24)\n\n[Lesson 25: Taking automated screenshots of your application](https://caster.io/lessons/lesson-25-taking-automated-screenshots-of-your-application) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/25) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson25)\n\n[Lesson 26: Running your tests on Github Actions](https://caster.io/lessons/lesson-26-running-your-tests-on-github-actions) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/26) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson26)\n\n[Lesson 27: Using Codemagic for your CI/CD needs](https://caster.io/lessons/lesson-27-using-codemagic-for-your-cicd-needs) 👉🏾 [PR](https://github.com/samuelematias/calculator_app/pull/27) 👉🏾 [Branch](https://github.com/samuelematias/calculator_app/tree/lesson27)\n\n## License\n\n```\nMIT License\n\nCopyright (c) 2020 Samuel Matias\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelematias%2Fcalculator_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelematias%2Fcalculator_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelematias%2Fcalculator_app/lists"}