{"id":21868462,"url":"https://github.com/maheshj01/flutter-testing","last_synced_at":"2025-04-14T22:40:51.667Z","repository":{"id":114002751,"uuid":"199458088","full_name":"maheshj01/flutter-Testing","owner":"maheshj01","description":"Automated Testing a Sample Flutter project  using Gherkins Language #BDD","archived":false,"fork":false,"pushed_at":"2021-04-30T02:57:22.000Z","size":115812,"stargazers_count":19,"open_issues_count":1,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T01:37:06.858Z","etag":null,"topics":["bdd","flutter","flutter-test","testing"],"latest_commit_sha":null,"homepage":"https://maheshjamdade.medium.com/testing-your-flutter-app-f08ebc54beb9","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/maheshj01.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":"2019-07-29T13:26:49.000Z","updated_at":"2025-01-09T14:53:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"0e586279-cdb0-4241-91a4-cecbd8e5837f","html_url":"https://github.com/maheshj01/flutter-Testing","commit_stats":null,"previous_names":["maheshj01/flutter-testing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maheshj01%2Fflutter-Testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maheshj01%2Fflutter-Testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maheshj01%2Fflutter-Testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maheshj01%2Fflutter-Testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maheshj01","download_url":"https://codeload.github.com/maheshj01/flutter-Testing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975319,"owners_count":21192197,"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":["bdd","flutter","flutter-test","testing"],"created_at":"2024-11-28T05:13:20.077Z","updated_at":"2025-04-14T22:40:51.649Z","avatar_url":"https://github.com/maheshj01.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flutter Testing using BDD\n\nA Sample Flutter project showing Bloc Architecture and BDD Testing using Gherkins plugin.\n\n\n - Clone the project\n - Run ```flutter pub get```\n - Run the tests using ```dart test_driver/test_config.dart```\n\n\u003cimg src=\"https://user-images.githubusercontent.com/31410839/62053001-52e08480-b234-11e9-8a8f-ae3a8d702795.gif\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/31410839/62713547-8c767400-ba1a-11e9-8138-f78bc5124719.gif\"\u003e\n\n\n### Medium :https://medium.com/@maheshmnj/testing-your-flutter-app-f08ebc54beb9\n\n## Getting Started\n\nThis project is a starting point for a Flutter application.\n\nA few resources to get you started if this is your first Flutter project:\n\n- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)\n- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)\n\nFor help getting started with Flutter, view our\n[online documentation](https://flutter.dev/docs), which offers tutorials,\nsamples, guidance on mobile development, and a full API reference.\n\n\n## Flutter Folder Structure\n\u003ch4\u003e\n📁 android\u003cbr\u003e\n📁 build\u003cbr\u003e\n📁 ios\u003cbr\u003e\n📁 \u003cb\u003eassets\u003c/b\u003e\u003cbr\u003e\n \u003e \u003e 📁 fonts\u003cbr\u003e\n \u003e  \u003e  \u003e 📑 Raleway-Regular.ttf\u003cbr\u003e\n \u003e  \u003e  \u003e 📑 Raleway-Italic.ttf\u003cbr\u003e\n \u003e \u003e 📁 \u003cb\u003eimages\u003c/b\u003e\u003cbr\u003e\n \u003e  \u003e  \u003e 🖼️ image1.jpg\u003cbr\u003e \n \u003e  \u003e  \u003e 🖼️ image2.jpg\u003cbr\u003e \n \u003e \u003e 📁 \u003cb\u003eicons\u003c/b\u003e \u003cbr\u003e\n \u003e  \u003e  \u003e 🖼️ cloudicon.png\u003cbr\u003e\n \u003e  \u003e  \u003e 🖼️ thumbsupicon.png\u003cbr\u003e \n📁 \u003cb\u003elib\u003c/b\u003e\u003cbr\u003e\n \u003e 📁 \u003cb\u003ebloc\u003c/b\u003e\u003cbr\u003e\n \u003e \u003e 📑 home_page_bloc.dart\u003cbr\u003e\n \u003e \u003e 📑 login_page_bloc.dart\u003cbr\u003e \n \u003e 📁 \u003cb\u003eservices\u003c/b\u003e\u003cbr\u003e\n  \u003e \u003e 📁 sqflite\u003cbr\u003e\n  \u003e \u003e 📁 api_manager\u003cbr\u003e\n \u003e 📁 \u003cb\u003epages\u003c/b\u003e\u003cbr\u003e\n \u003e \u003e 📑 home_page.dart\u003cbr\u003e\n \u003e \u003e 📑 login_page.dart\u003cbr\u003e \n \u003e 📁 \u003cb\u003emodels\u003c/b\u003e\u003cbr\u003e\n \u003e \u003e 📑 user_model.dart\u003cbr\u003e\n \u003e \u003e 📑 sample_model.dart\u003cbr\u003e\n \u003e 📁 \u003cb\u003ewidgets\u003c/b\u003e\u003cbr\u003e\n \u003e  \u003e 📑 circular_button_widget.dart\u003cbr\u003e\n \u003e  \u003e 📑 common_widget.dart\u003cbr\u003e\n \u003e 📁 \u003cb\u003etest\u003c/b\u003e\u003cbr\u003e\n \u003e  \u003e 📑 homepagewidget.dart\u003cbr\u003e\n \u003e  \u003e 📑 custombuttonwidget.dart\u003cbr\u003e\n \u003e 📁 \u003cb\u003etest_driver\u003c/b\u003e\u003cbr\u003e\n \u003e  \u003e 📁 features \u003cbr\u003e  \n \u003e  \u003e  \u003e 📑 login.feature\u003cbr\u003e\n \u003e  \u003e  \u003e 📑 home.feature\u003cbr\u003e\n \u003e  \u003e 📁 steps \u003cbr\u003e  \n \u003e  \u003e  \u003e 📑 loginstep.dart\u003cbr\u003e\n \u003e  \u003e 📑 test_config.dart\u003cbr\u003e \n \u003e 📁 \u003cb\u003econst\u003c/b\u003e \u003cbr\u003e\n \u003e \u003e 📑 color_const.dart\u003cbr\u003e\n \u003e \u003e 📑 string_const.dart\u003cbr\u003e    \n 🐳 \u003cb\u003edocker\u003c/b\u003e\u003cbr\u003e\n 📑 \u003cb\u003ejenkins\u003c/b\u003e\u003cbr\u003e\n 📑 \u003cb\u003e pubspec.yaml\u003cbr\u003e\n 📑 \u003cb\u003e Readme.md \u003c/h4\u003e\n  \n  --------------------------------------------------------------# Summary #-------------------------------------------------------------\n\n\n ## 📁 BLOC\n we use this folder to manage the state of our widgets across screens. each file in the bloc folder should correspond to a specific page data must flow through pages--\u003ebloc--\u003eservices--\u003emodels--\u003epages(ui)\n\n ## 📁 Services\n   - 📁 Sqflite \n       - this folder will contain all the database related stuff CRUD irrespective of the type of database\n       \n   - 📁 api_manager\n       - here we do all the api requests and http calls.\n\n## 📁 Pages \n - this folder contains all the frontend pages of your application \n\n## 📁 widgets\n - In this folder we write the custom widgets,that we have to reuse in mutiple pages\n\n## 📁 models\n - here you write all your pojo/model classes to pass the data objects across screens \n\n## 📁 test (TDD)\n - this folder is by default created by flutter sdk when we create a new project here we do the widget testing  \n## 📁 test_driver (BDD)\n  \u003e  \u003e 📁 steps \u003cbr\u003e\n - here we have to write the steps to implement the feature files \n  \u003e  \u003e 📁 features    \n - this file contains the features in the gherkins language for the bdd \n\n## 📁 const\n - this folder contains some string and color files to use them at mutiple places inorder to keep the code clean and have some meaningful strings and colors in the code.\n\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaheshj01%2Fflutter-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaheshj01%2Fflutter-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaheshj01%2Fflutter-testing/lists"}