{"id":26886211,"url":"https://github.com/muzammil-git/flutter_test_suite","last_synced_at":"2025-03-31T19:15:15.946Z","repository":{"id":224606661,"uuid":"750969256","full_name":"muzammil-git/Flutter_Test_Suite","owner":"muzammil-git","description":"Performed unit, widget \u0026 integration testing.","archived":false,"fork":false,"pushed_at":"2024-06-05T02:36:47.000Z","size":614,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T19:15:09.235Z","etag":null,"topics":["flutter","integration-testing","unit-testing","widget-testing"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/muzammil-git.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}},"created_at":"2024-01-31T17:19:46.000Z","updated_at":"2025-02-25T18:28:14.000Z","dependencies_parsed_at":"2024-02-26T21:28:53.124Z","dependency_job_id":"dd5ae2f0-9972-43e3-890d-84e9cc418ea2","html_url":"https://github.com/muzammil-git/Flutter_Test_Suite","commit_stats":null,"previous_names":["muzammil-git/testing_app","muzammil-git/flutter_test_suite"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muzammil-git%2FFlutter_Test_Suite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muzammil-git%2FFlutter_Test_Suite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muzammil-git%2FFlutter_Test_Suite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muzammil-git%2FFlutter_Test_Suite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muzammil-git","download_url":"https://codeload.github.com/muzammil-git/Flutter_Test_Suite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523845,"owners_count":20791444,"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":["flutter","integration-testing","unit-testing","widget-testing"],"created_at":"2025-03-31T19:15:13.152Z","updated_at":"2025-03-31T19:15:15.932Z","avatar_url":"https://github.com/muzammil-git.png","language":"Dart","readme":"# What I learned\n- To create widget tests using the widget testing framework\n- To create an integration test to test the app's UI and performance using the integration_test library\n- To test data classes (providers) with the help of unit tests\n\n# Widget Test ![Screenshots](img_1.png)\n# Integration Test ![img_2.png](img_2.png)\n\n# Performing Test On\n- Unit tests to validate the add and remove operations\n- Widgets tests for the Landing and favorites pages\n- UI and performance tests for the entire app using integration tests\n\n# Keynotes\n- A unit test verifies that every individual unit of software, be it a function, object or a widget, performs its intended task correctly\n- All the test files in a Flutter app, except for integration tests, are placed in the test directory. Convention of giving name to integration_test is fixed and the file is placed at apps root directory.\n- Widget Test (flutter_test) vs Integration Test (integration_test): They both render UI and test on device, but the major difference is widget test is for a particular widget it doesnt need whole app environment where as in integration test its need apps environement in my case mock goRouter, integration test covers whole app testing.\n\n\n# Flutter Boiler Plate\n- Scalable State Mgmt - Provider - models\n- Scalable Dialog - DialogManager\n- Scalable Navigation - routes folder\n- Singleton Internet Connectivity Checker\n- Singleton Local Storage - SharedPrefHelper\n- Scalable Validators - constants/validators\n- Set Scalable App theme\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuzammil-git%2Fflutter_test_suite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuzammil-git%2Fflutter_test_suite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuzammil-git%2Fflutter_test_suite/lists"}