{"id":3853,"date":"2023-05-02T15:58:50","date_gmt":"2023-05-02T08:58:50","guid":{"rendered":"https:\/\/laoitdev.com\/?p=3853"},"modified":"2024-02-07T20:56:46","modified_gmt":"2024-02-07T13:56:46","slug":"flutter-unit-testing","status":"publish","type":"post","link":"https:\/\/laoitdev.com\/lao\/2023\/3853\/","title":{"rendered":"Flutter Unit Testing"},"content":{"rendered":"<p id=\"8e34\">hi hi \u0eaa\u0eb0\u0e9a\u0eb2\u0e8d\u0e94\u0eb5\u0e97\u0eb8\u0e81\u0e84\u0ebb\u0e99\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0eaa\u0eb6\u0e81\u0eaa\u0eb2 flutter \u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0e82\u0ecd\u0eaa\u0eb0\u0ec0\u0edc\u0eb5\u0e84\u0eb3\u0ea7\u0ec8\u0eb2 \u201cUnit Testing\u201d 555.<\/p>\n\n\n\n<p id=\"514d\">\u0e9a\u0ea5\u0ead\u0e81\u0e99\u0eb5\u0ec9\u0ec0\u0e81\u0eb5\u0e94\u0e82\u0eb7\u0ec9\u0e99\u0e88\u0eb2\u0e81\u0e81\u0eb2\u0e99\u0ec1\u0e99\u0ea1\u0ec4\u0e9b\u0ec0\u0eab\u0eb1\u0e99 test folder \u0ec3\u0e99\u0ec2\u0e9b\u0ea3\u0ec0\u0e88\u0eb1\u0e81\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0ec0\u0eae\u0eb1\u0e94\u0ea2\u0eb9\u0ec8 \u0ec0\u0e9b\u0eb1\u0e99 folder \u0e97\u0eb5\u0ec8\u0ea7\u0ec8\u0eb2\u0e87\u0ec1\u0eae\u0e87 ^^&#8217;. \u0e81\u0ecd\u0ec0\u0ea5\u0eb5\u0e8d\u0e88\u0eb1\u0e9a\u0ea1\u0eb2\u0ec0\u0e9b\u0eb1\u0e99\u0eab\u0ebb\u0ea7\u0e82\u0ecd\u0ec9\u0ec1\u0e99\u0eb0\u0e99\u0eb3 \u0ec1\u0ea5\u0ec9\u0ea7\u0e81\u0ecd\u0e82\u0ebd\u0e99\u0ec0\u0e97\u0eaa\u0e82\u0ead\u0e87\u0ec2\u0e9b\u0ea3\u0ec0\u0e88\u0eb1\u0e81\u0ec4\u0e9b\u0e9e\u0ec9\u0ead\u0ea1\u0ec0\u0ea5\u0eb5\u0e8d 555.<\/p>\n\n\n\n<p id=\"0466\">unit testing \u0e84\u0eb7\u0e81\u0eb2\u0e99\u0ec0\u0ead\u0ebb\u0eb2 function \u0eab\u0ebc\u0eb7 class \u0e97\u0eb5\u0ec8\u0ec0\u0eae\u0ebb\u0eb2\u0eaa\u0ec9\u0eb2\u0e87\u0ea1\u0eb2\u0ec0\u0e97\u0eaa\u0ec0\u0e97\u0eb7\u0ec8\u0ead\u0ea5\u0eb0\u0ead\u0eb1\u0e99\u0ea7\u0ec8\u0eb2\u0ec2\u0ea5\u0e88\u0eb4\u0e81\u0e82\u0ead\u0e87\u0e9f\u0eb1\u0e87\u0e8a\u0eb1\u0ec8\u0e99\u0e9e\u0ea7\u0e81\u0e99\u0eb5\u0ec9\u0ec0\u0e9b\u0eb1\u0e99\u0ec4\u0e9b\u0e95\u0eb2\u0ea1\u0e97\u0eb5\u0ec8\u0ea1\u0eb1\u0e99\u0e84\u0ea7\u0e99\u0e88\u0eb0\u0ec0\u0e9b\u0eb1\u0e99\u0ec1\u0ea5\u0ec9\u0ea7\u0e9a\u0ecd\u0ec8 \u0e95\u0eb2\u0ea1\u0e8a\u0eb7\u0ec8\u0ec0\u0ea5\u0eb5\u0e8d.<\/p>\n\n\n\n<p id=\"a9bc\"># \u0ec0\u0ea5\u0eb5\u0ec8\u0ea1\u0e95\u0ebb\u0ec9\u0e99\u0e94\u0ec9\u0ea7\u0e8d\u0e81\u0eb2\u0e99\u0ec4\u0e9b\u0e97\u0eb5\u0ec8 pubspec.yaml \u0ec0\u0e9e\u0eb5\u0ec8\u0ea1 flutter_test \u0ec3\u0e99\u0eaa\u0ec8\u0ea7\u0e99\u0e82\u0ead\u0e87 dev_dependencies<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dev_dependencies:\n  flutter_test:<\/code><\/pre>\n\n\n\n<p id=\"da00\">\u0e95\u0ecd\u0ec8\u0e94\u0ec9\u0ea7\u0e8d\u0e81\u0eb2\u0e99 \u0e81\u0ebd\u0ea1 function \u0e97\u0eb5\u0ec8\u0e95\u0ec9\u0ead\u0e87\u0e81\u0eb2\u0e99\u0ec0\u0e97\u0eaa<\/p>\n\n\n\n<p id=\"6705\"># \u0eaa\u0ec9\u0eb2\u0e87 counter.dart file \u0ea2\u0eb9\u0ec8 lib folder<code>&nbsp;lib\/counter.dart<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Counter {\n  int value = 0;\n\n  void increment() =&gt; value++;\n}<\/code><\/pre>\n\n\n\n<p id=\"acf9\">\u0ea1\u0eb2\u0ec0\u0ea5\u0eb5\u0ec8\u0ea1\u0e82\u0ebd\u0e99\u0ec0\u0e97\u0eaa\u0eaa\u0eb3\u0eab\u0ea5\u0eb1\u0e9a function \u0e97\u0eb5\u0ec8\u0e81\u0ebd\u0ea1\u0ec4\u0ea7\u0ec9\u0e81\u0eb1\u0e99\u0ec0\u0ea5\u0eb5\u0e8d<\/p>\n\n\n\n<p id=\"ccc2\"># \u0eaa\u0ec9\u0eb2\u0e87 counter_test.dart file \u0ea2\u0eb9\u0ec8\u0ec3\u0e99 test folder&nbsp;<code>test\/counter_test.dart<\/code><\/p>\n\n\n\n<p id=\"6ec6\">\u0e81\u0eb2\u0e99\u0e82\u0ebd\u0e99\u0ec0\u0e97\u0eaa\u0ec3\u0e99 flutter \u0ec0\u0eae\u0ebb\u0eb2\u0e88\u0eb0\u0ec3\u0e8a\u0ec9\u0e84\u0eb3\u0eaa\u0eb1\u0ec8\u0e87 expect(\u0e84\u0ec8\u0eb2\u0e97\u0eb5\u0ec8\u0ec4\u0e94\u0ec9\u0e88\u0eb2\u0e81 function, \u0e84\u0ec8\u0eb2\u0e97\u0eb5\u0ec8\u0ec0\u0eae\u0ebb\u0eb2\u0e84\u0eb2\u0e94\u0ea7\u0ec8\u0eb2\u0e84\u0ea7\u0e99\u0e88\u0eb0\u0ec4\u0e94\u0ec9); \u0ec0\u0e9e\u0eb7\u0ec8\u0ead\u0e81\u0ea7\u0e94\u0eaa\u0ead\u0e9a\u0e9c\u0ebb\u0e99\u0ea5\u0eb1\u0e9a\u0e97\u0eb5\u0ec8\u0ec4\u0e94\u0ec9\u0e88\u0eb2\u0e81 function<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>void main() {\n  test('Counter value increment', () {\n    final counter = Counter();\n    counter.increment(); \/\/ function \u0e99\u0eb5\u0ec9\u0e88\u0eb0\u0ec0\u0e9e\u0eb5\u0ec8\u0ea1\u0e84\u0ec8\u0eb2\u0e82\u0ead\u0e87 value \u0e82\u0eb7\u0ec9\u0e99 +1 \u0e97\u0eb8\u0e81\u0ec6\u0ec0\u0e97\u0eb7\u0ec8\u0ead\u0e97\u0eb5\u0ec8\u0ec0\u0ead\u0eb5\u0ec9\u0e99\u0ec3\u0e8a\u0ec9\u0e84\u0eb3\u0eaa\u0eb1\u0ec8\u0e87\n    expect(counter.value, 1); \/\/ \u0e84\u0ec8\u0eb2\u0e97\u0eb5\u0ec8\u0e84\u0ea7\u0e99\u0e88\u0eb0\u0ec4\u0e94\u0ec9\u0e88\u0eb2\u0e81 function \u0e84\u0ea7\u0e99\u0e88\u0eb0\u0ec0\u0e9b\u0eb1\u0e99 1 \u0ec0\u0e9e\u0eb2\u0eb0\u0ec0\u0eae\u0ebb\u0eb2\u0ec0\u0ead\u0eb5\u0ec9\u0e99\u0ec3\u0e8a\u0ec9 function \u0ec1\u0e95\u0ec8\u0ec0\u0e97\u0eb7\u0ec8\u0ead\u0e94\u0ebd\u0ea7                     \n  });\n}<\/code><\/pre>\n\n\n\n<p>\u0ec3\u0e99\u0e81\u0ecd\u0ea5\u0eb0\u0e99\u0eb5\u0e97\u0eb5\u0ec8\u0e81\u0eb2\u0e99\u0ec0\u0e97\u0eaa\u0ea1\u0eb5\u0eab\u0ea5\u0eb2\u0e8d\u0ec0\u0e84\u0eaa \u0eab\u0ebc\u0eb7 \u0eab\u0ebc\u0eb2\u0e8d\u0e9f\u0eb1\u0e87\u0e8a\u0eb1\u0ec8\u0e99\u0ec0\u0eae\u0ebb\u0eb2\u0eaa\u0eb2\u0ea1\u0eb2\u0e94\u0e88\u0eb1\u0e94\u0ec0\u0e97\u0eb1\u0e94\u0ec0\u0e9b\u0eb1\u0e99 group \u0ec1\u0ea5\u0ec9\u0ea7 test \u0eaa\u0eb0\u0ec0\u0e9e\u0eb2\u0eb0 group \u0e97\u0eb5\u0ec8\u0e95\u0ec9\u0ead\u0e87\u0e81\u0eb2\u0e99\u0ec4\u0e94\u0ec9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>void main() {\n  group('increment', () {\n    final counter = Counter();\n\n    test('value start at  0', () {\n      expect(counter.value, 0);\n    });\n\n    test('value should be 1', () {\n      counter.increment();\n      expect(counter.value, 1);\n    });\n\n    test('value should be 2', () {\n      counter.increment();\n      expect(counter.value, 2);\n    });\n  });\n}<\/code><\/pre>\n\n\n\n<p id=\"3816\">\u0e84\u0eb3\u0eaa\u0eb1\u0ec8\u0e87\u0e97\u0eb5\u0ec8\u0ec3\u0e8a\u0ec9:<\/p>\n\n\n\n<p id=\"51bb\"><code>flutter test test_file_path<\/code> \u0ec0\u0e9e\u0eb7\u0ec8\u0ead run \u0ec0\u0e97\u0eaa\u0ec0\u0e84\u0eaa (Test Case) \u0e97\u0eb1\u0e87\u0eab\u0ea1\u0ebb\u0e94<\/p>\n\n\n\n<p id=\"e8c9\"><code>flutter test test_file_path --name group_name<\/code>&nbsp;\u0ec0\u0e9e\u0eb7\u0ec8\u0ead test \u0eaa\u0eb0\u0ec0\u0e9e\u0eb2\u0eb0 group \u0e97\u0eb5\u0ec8\u0e95\u0ec9\u0ead\u0e87\u0e81\u0eb2\u0e99<\/p>\n\n\n\n<p id=\"4d1c\">\u0e9c\u0ebb\u0e99\u0ea5\u0eb1\u0e9a\u0e97\u0eb5\u0ec8\u0ec4\u0e94\u0ec9\u0ec3\u0e99\u0e81\u0ecd\u0ea5\u0eb0\u0e99\u0eb5\u0e97\u0eb5\u0ec8\u0ec0\u0e97\u0eaa\u0e9c\u0ec8\u0eb2\u0e99\u0e97\u0eb1\u0e87\u0eab\u0ea1\u0ebb\u0e94<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"828\" height=\"105\" src=\"https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/image-1.png\" alt=\"\" class=\"wp-image-3855\" srcset=\"https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/image-1.png 828w, https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/image-1-300x38.png 300w, https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/image-1-768x97.png 768w, https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/image-1-18x2.png 18w, https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/image-1-600x76.png 600w\" sizes=\"auto, (max-width: 828px) 100vw, 828px\" \/><\/figure>\n\n\n\n<p>\u0ec3\u0e99\u0e81\u0ecd\u0ea5\u0eb0\u0e99\u0eb5\u0e97\u0eb5\u0ec8\u0ec0\u0e97\u0eaa\u0e9a\u0ecd\u0ec8\u0e9c\u0ec8\u0eb2\u0e99\u0e9a\u0eb2\u0e87\u0ec0\u0e84\u0eaa<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"828\" height=\"300\" src=\"https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/image-2.png\" alt=\"\" class=\"wp-image-3856\" srcset=\"https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/image-2.png 828w, https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/image-2-300x109.png 300w, https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/image-2-768x278.png 768w, https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/image-2-18x7.png 18w, https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/image-2-600x217.png 600w\" sizes=\"auto, (max-width: 828px) 100vw, 828px\" \/><\/figure>\n\n\n\n<p id=\"1958\">\u0eaa\u0eb2\u0ea1\u0eb2\u0e94\u0ec0\u0e82\u0ebb\u0ec9\u0eb2\u0ec4\u0e9b\u0ead\u0ec8\u0eb2\u0e99\u0e82\u0ecd\u0ec9\u0ea1\u0eb9\u0e99\u0ec0\u0e9e\u0eb5\u0ec8\u0ea1\u0ec0\u0e95\u0eb5\u0ea1 \u0ec1\u0ea5\u0eb0 \u0e81\u0eb2\u0e99\u0ec0\u0e97\u0eaa\u0ec1\u0e9a\u0e9a\u0ead\u0eb7\u0ec8\u0e99\u0ec6\u0e95\u0eb2\u0ea1\u0ea5\u0eb4\u0ec9\u0e87\u0e99\u0eb5\u0ec9\u0ec4\u0e94\u0ec9\u0ec0\u0ea5\u0eb5\u0e8d&nbsp;<a href=\"https:\/\/docs.flutter.dev\/testing\" rel=\"noreferrer noopener\" target=\"_blank\">https:\/\/docs.flutter.dev\/testing<\/a><\/p>\n\n\n\n<p id=\"5103\">\u0eab\u0ea7\u0eb1\u0e87\u0ea7\u0ec8\u0eb2\u0e88\u0eb0\u0ec0\u0e9b\u0eb1\u0e99\u0e9b\u0eb0\u0ec2\u0eab\u0e8d\u0e94\u0e81\u0eb1\u0e9a\u0e84\u0ebb\u0e99\u0e97\u0eb5\u0ec8\u0ec0\u0e82\u0ebb\u0ec9\u0eb2\u0ea1\u0eb2\u0ead\u0ec8\u0eb2\u0e99\u0e9a\u0ecd\u0ec8\u0eab\u0ea5\u0eb2\u0e8d\u0e81\u0ecd\u0eab\u0e99\u0ec9\u0ead\u0e8d\u0ec0\u0e94\u0eb5 \ud83d\ude00<\/p>\n\n\n\n<p>\u0e82\u0ebd\u0e99\u0ec2\u0e94\u0e8d:&nbsp;<a href=\"https:\/\/medium.com\/@boutkhanthavong\" data-type=\"URL\" data-id=\"https:\/\/medium.com\/@boutkhanthavong\">Bout Khanthavong<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>hi hi \u0eaa\u0eb0\u0e9a\u0eb2\u0e8d\u0e94\u0eb5\u0e97\u0eb8\u0e81\u0e84\u0ebb\u0e99\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0eaa\u0eb6\u0e81\u0eaa\u0eb2 flutter \u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0e82\u0ecd\u0eaa\u0eb0\u0ec0\u0edc\u0eb5\u0e84\u0eb3\u0ea7\u0ec8\u0eb2 \u201cUnit Testing\u201d 555. \u0e9a\u0ea5\u0ead\u0e81\u0e99\u0eb5\u0ec9\u0ec0\u0e81\u0eb5\u0e94\u0e82\u0eb7\u0ec9\u0e99\u0e88\u0eb2\u0e81\u0e81\u0eb2\u0e99\u0ec1\u0e99\u0ea1\u0ec4\u0e9b\u0ec0\u0eab\u0eb1\u0e99 test folder \u0ec3\u0e99\u0ec2\u0e9b\u0ea3\u0ec0\u0e88\u0eb1\u0e81\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0ec0\u0eae\u0eb1\u0e94\u0ea2\u0eb9\u0ec8 \u0ec0\u0e9b\u0eb1\u0e99 folder \u0e97\u0eb5\u0ec8\u0ea7\u0ec8\u0eb2\u0e87\u0ec1\u0eae\u0e87 ^^&#8217;. \u0e81\u0ecd\u0ec0\u0ea5\u0eb5\u0e8d\u0e88\u0eb1\u0e9a\u0ea1\u0eb2\u0ec0\u0e9b\u0eb1\u0e99\u0eab\u0ebb\u0ea7\u0e82\u0ecd\u0ec9\u0ec1\u0e99\u0eb0\u0e99\u0eb3 \u0ec1\u0ea5\u0ec9\u0ea7\u0e81\u0ecd\u0e82\u0ebd\u0e99\u0ec0\u0e97\u0eaa\u0e82\u0ead\u0e87\u0ec2\u0e9b\u0ea3\u0ec0\u0e88\u0eb1\u0e81\u0ec4\u0e9b\u0e9e\u0ec9\u0ead\u0ea1\u0ec0\u0ea5\u0eb5\u0e8d 555. unit &#8230; <a class=\"cz_readmore\" href=\"https:\/\/laoitdev.com\/lao\/2023\/3853\/\"><i class=\"fa fa-angle-right\"><\/i><span>\u0ead\u0ec8\u0eb2\u0e99\u0ec0\u0e9e\u0eb5\u0ec8\u0ea1\u0ec0\u0e95\u0eb5\u0ea1<\/span><\/a><\/p>","protected":false},"author":6,"featured_media":3858,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-3853","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Flutter Unit Testing - Lao IT Dev<\/title>\n<meta name=\"description\" content=\"hi hi \u0eaa\u0eb0\u0e9a\u0eb2\u0e8d\u0e94\u0eb5\u0e97\u0eb8\u0e81\u0e84\u0ebb\u0e99\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0eaa\u0eb6\u0e81\u0eaa\u0eb2 flutter \u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0e82\u0ecd\u0eaa\u0eb0\u0ec0\u0edc\u0eb5\u0e84\u0eb3\u0ea7\u0ec8\u0eb2 \u201cUnit Testing\u201d 555. \u0e9a\u0ea5\u0ead\u0e81\u0e99\u0eb5\u0ec9\u0ec0\u0e81\u0eb5\u0e94\u0e82\u0eb7\u0ec9\u0e99\u0e88\u0eb2\u0e81\u0e81\u0eb2\u0e99\u0ec1\u0e99\u0ea1\u0ec4\u0e9b\u0ec0\u0eab\u0eb1\u0e99 test folder \u0ec3\u0e99\u0ec2\u0e9b\u0ea3\u0ec0\u0e88\u0eb1\u0e81\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0ec0\u0eae\u0eb1\u0e94\u0ea2\u0eb9\u0ec8 \u0ec0\u0e9b\u0eb1\u0e99 Lao IT Dev Flutter Unit Testing Domestic and international ICT services, consultants, Mobile app, Web development, application development, Blockchain, AI and Cryptocurrency\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/laoitdev.com\/lao\/2023\/3853\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Flutter Unit Testing - Lao IT Dev\" \/>\n<meta property=\"og:description\" content=\"hi hi \u0eaa\u0eb0\u0e9a\u0eb2\u0e8d\u0e94\u0eb5\u0e97\u0eb8\u0e81\u0e84\u0ebb\u0e99\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0eaa\u0eb6\u0e81\u0eaa\u0eb2 flutter \u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0e82\u0ecd\u0eaa\u0eb0\u0ec0\u0edc\u0eb5\u0e84\u0eb3\u0ea7\u0ec8\u0eb2 \u201cUnit Testing\u201d 555. \u0e9a\u0ea5\u0ead\u0e81\u0e99\u0eb5\u0ec9\u0ec0\u0e81\u0eb5\u0e94\u0e82\u0eb7\u0ec9\u0e99\u0e88\u0eb2\u0e81\u0e81\u0eb2\u0e99\u0ec1\u0e99\u0ea1\u0ec4\u0e9b\u0ec0\u0eab\u0eb1\u0e99 test folder \u0ec3\u0e99\u0ec2\u0e9b\u0ea3\u0ec0\u0e88\u0eb1\u0e81\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0ec0\u0eae\u0eb1\u0e94\u0ea2\u0eb9\u0ec8 \u0ec0\u0e9b\u0eb1\u0e99 Lao IT Dev Flutter Unit Testing Domestic and international ICT services, consultants, Mobile app, Web development, application development, Blockchain, AI and Cryptocurrency\" \/>\n<meta property=\"og:url\" content=\"https:\/\/laoitdev.com\/lao\/2023\/3853\/\" \/>\n<meta property=\"og:site_name\" content=\"Lao IT Dev\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-02T08:58:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-07T13:56:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/FlutterUnitTesting-twitter.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"tokky\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0e82\u0ebd\u0e99\u0ec2\u0e94\u0e8d\" \/>\n\t<meta name=\"twitter:data1\" content=\"tokky\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0ec0\u0ea7\u0ea5\u0eb2\u0ead\u0ec8\u0eb2\u0e99\u0ec2\u0e94\u0e8d\u0e9b\u0eb0\u0ea1\u0eb2\u0e99\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u0e99\u0eb2\u0e97\u0eb5\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\\\/\\\/laoitdev.com\\\/2023\\\/3853\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/laoitdev.com\\\/2023\\\/3853\\\/\"},\"author\":{\"name\":\"tokky\",\"@id\":\"https:\\\/\\\/laoitdev.com\\\/#\\\/schema\\\/person\\\/62c6bcfc84b462debc10fa03342f78bf\"},\"headline\":\"Flutter Unit Testing\",\"datePublished\":\"2023-05-02T08:58:50+00:00\",\"dateModified\":\"2024-02-07T13:56:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/laoitdev.com\\\/2023\\\/3853\\\/\"},\"wordCount\":58,\"publisher\":{\"@id\":\"https:\\\/\\\/laoitdev.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/laoitdev.com\\\/2023\\\/3853\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/laoitdev.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/FlutterUnitTesting-twitter.png\",\"articleSection\":[\"News\"],\"inLanguage\":\"lo\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/laoitdev.com\\\/2023\\\/3853\\\/\",\"url\":\"https:\\\/\\\/laoitdev.com\\\/2023\\\/3853\\\/\",\"name\":\"Flutter Unit Testing - Lao IT Dev\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/laoitdev.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/laoitdev.com\\\/2023\\\/3853\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/laoitdev.com\\\/2023\\\/3853\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/laoitdev.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/FlutterUnitTesting-twitter.png\",\"datePublished\":\"2023-05-02T08:58:50+00:00\",\"dateModified\":\"2024-02-07T13:56:46+00:00\",\"description\":\"hi hi \u0eaa\u0eb0\u0e9a\u0eb2\u0e8d\u0e94\u0eb5\u0e97\u0eb8\u0e81\u0e84\u0ebb\u0e99\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0eaa\u0eb6\u0e81\u0eaa\u0eb2 flutter \u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0e82\u0ecd\u0eaa\u0eb0\u0ec0\u0edc\u0eb5\u0e84\u0eb3\u0ea7\u0ec8\u0eb2 \u201cUnit Testing\u201d 555. \u0e9a\u0ea5\u0ead\u0e81\u0e99\u0eb5\u0ec9\u0ec0\u0e81\u0eb5\u0e94\u0e82\u0eb7\u0ec9\u0e99\u0e88\u0eb2\u0e81\u0e81\u0eb2\u0e99\u0ec1\u0e99\u0ea1\u0ec4\u0e9b\u0ec0\u0eab\u0eb1\u0e99 test folder \u0ec3\u0e99\u0ec2\u0e9b\u0ea3\u0ec0\u0e88\u0eb1\u0e81\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0ec0\u0eae\u0eb1\u0e94\u0ea2\u0eb9\u0ec8 \u0ec0\u0e9b\u0eb1\u0e99 Lao IT Dev Flutter Unit Testing Domestic and international ICT services, consultants, Mobile app, Web development, application development, Blockchain, AI and Cryptocurrency\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/laoitdev.com\\\/2023\\\/3853\\\/#breadcrumb\"},\"inLanguage\":\"lo\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/laoitdev.com\\\/2023\\\/3853\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"lo\",\"@id\":\"https:\\\/\\\/laoitdev.com\\\/2023\\\/3853\\\/#primaryimage\",\"url\":\"https:\\\/\\\/laoitdev.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/FlutterUnitTesting-twitter.png\",\"contentUrl\":\"https:\\\/\\\/laoitdev.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/FlutterUnitTesting-twitter.png\",\"width\":1800,\"height\":900},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/laoitdev.com\\\/2023\\\/3853\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/laoitdev.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Flutter Unit Testing\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/laoitdev.com\\\/#website\",\"url\":\"https:\\\/\\\/laoitdev.com\\\/\",\"name\":\"Lao IT Dev - Lao ICT Solutions Group\",\"description\":\"LAOITDEV\",\"publisher\":{\"@id\":\"https:\\\/\\\/laoitdev.com\\\/#organization\"},\"alternateName\":\"Domestic and international ICT services, consultants, Mobile app, Web development, application development, Blockchain, AI and Cryptocurrency\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/laoitdev.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"lo\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/laoitdev.com\\\/#organization\",\"name\":\"Lao IT Dev Co., Ltd.\",\"url\":\"https:\\\/\\\/laoitdev.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"lo\",\"@id\":\"https:\\\/\\\/laoitdev.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/laoitdev.com\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Default-feature-image.jpg\",\"contentUrl\":\"https:\\\/\\\/laoitdev.com\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Default-feature-image.jpg\",\"width\":800,\"height\":600,\"caption\":\"Lao IT Dev Co., Ltd.\"},\"image\":{\"@id\":\"https:\\\/\\\/laoitdev.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/laoitdev.com\\\/#\\\/schema\\\/person\\\/62c6bcfc84b462debc10fa03342f78bf\",\"name\":\"tokky\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"lo\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/27a02a239b23482f31f7926e9d4fcc9213d6ec730a49849035affbfd90580ab0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/27a02a239b23482f31f7926e9d4fcc9213d6ec730a49849035affbfd90580ab0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/27a02a239b23482f31f7926e9d4fcc9213d6ec730a49849035affbfd90580ab0?s=96&d=mm&r=g\",\"caption\":\"tokky\"},\"url\":\"https:\\\/\\\/laoitdev.com\\\/lao\\\/author\\\/tokky\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Flutter Unit Testing - Lao IT Dev","description":"hi hi \u0eaa\u0eb0\u0e9a\u0eb2\u0e8d\u0e94\u0eb5\u0e97\u0eb8\u0e81\u0e84\u0ebb\u0e99\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0eaa\u0eb6\u0e81\u0eaa\u0eb2 flutter \u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0e82\u0ecd\u0eaa\u0eb0\u0ec0\u0edc\u0eb5\u0e84\u0eb3\u0ea7\u0ec8\u0eb2 \u201cUnit Testing\u201d 555. \u0e9a\u0ea5\u0ead\u0e81\u0e99\u0eb5\u0ec9\u0ec0\u0e81\u0eb5\u0e94\u0e82\u0eb7\u0ec9\u0e99\u0e88\u0eb2\u0e81\u0e81\u0eb2\u0e99\u0ec1\u0e99\u0ea1\u0ec4\u0e9b\u0ec0\u0eab\u0eb1\u0e99 test folder \u0ec3\u0e99\u0ec2\u0e9b\u0ea3\u0ec0\u0e88\u0eb1\u0e81\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0ec0\u0eae\u0eb1\u0e94\u0ea2\u0eb9\u0ec8 \u0ec0\u0e9b\u0eb1\u0e99 Lao IT Dev Flutter Unit Testing Domestic and international ICT services, consultants, Mobile app, Web development, application development, Blockchain, AI and Cryptocurrency","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/laoitdev.com\/lao\/2023\/3853\/","og_locale":"en_US","og_type":"article","og_title":"Flutter Unit Testing - Lao IT Dev","og_description":"hi hi \u0eaa\u0eb0\u0e9a\u0eb2\u0e8d\u0e94\u0eb5\u0e97\u0eb8\u0e81\u0e84\u0ebb\u0e99\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0eaa\u0eb6\u0e81\u0eaa\u0eb2 flutter \u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0e82\u0ecd\u0eaa\u0eb0\u0ec0\u0edc\u0eb5\u0e84\u0eb3\u0ea7\u0ec8\u0eb2 \u201cUnit Testing\u201d 555. \u0e9a\u0ea5\u0ead\u0e81\u0e99\u0eb5\u0ec9\u0ec0\u0e81\u0eb5\u0e94\u0e82\u0eb7\u0ec9\u0e99\u0e88\u0eb2\u0e81\u0e81\u0eb2\u0e99\u0ec1\u0e99\u0ea1\u0ec4\u0e9b\u0ec0\u0eab\u0eb1\u0e99 test folder \u0ec3\u0e99\u0ec2\u0e9b\u0ea3\u0ec0\u0e88\u0eb1\u0e81\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0ec0\u0eae\u0eb1\u0e94\u0ea2\u0eb9\u0ec8 \u0ec0\u0e9b\u0eb1\u0e99 Lao IT Dev Flutter Unit Testing Domestic and international ICT services, consultants, Mobile app, Web development, application development, Blockchain, AI and Cryptocurrency","og_url":"https:\/\/laoitdev.com\/lao\/2023\/3853\/","og_site_name":"Lao IT Dev","article_published_time":"2023-05-02T08:58:50+00:00","article_modified_time":"2024-02-07T13:56:46+00:00","og_image":[{"width":1800,"height":900,"url":"https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/FlutterUnitTesting-twitter.png","type":"image\/png"}],"author":"tokky","twitter_card":"summary_large_image","twitter_misc":{"\u0e82\u0ebd\u0e99\u0ec2\u0e94\u0e8d":"tokky","\u0ec0\u0ea7\u0ea5\u0eb2\u0ead\u0ec8\u0eb2\u0e99\u0ec2\u0e94\u0e8d\u0e9b\u0eb0\u0ea1\u0eb2\u0e99":"2 \u0e99\u0eb2\u0e97\u0eb5"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/laoitdev.com\/2023\/3853\/#article","isPartOf":{"@id":"https:\/\/laoitdev.com\/2023\/3853\/"},"author":{"name":"tokky","@id":"https:\/\/laoitdev.com\/#\/schema\/person\/62c6bcfc84b462debc10fa03342f78bf"},"headline":"Flutter Unit Testing","datePublished":"2023-05-02T08:58:50+00:00","dateModified":"2024-02-07T13:56:46+00:00","mainEntityOfPage":{"@id":"https:\/\/laoitdev.com\/2023\/3853\/"},"wordCount":58,"publisher":{"@id":"https:\/\/laoitdev.com\/#organization"},"image":{"@id":"https:\/\/laoitdev.com\/2023\/3853\/#primaryimage"},"thumbnailUrl":"https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/FlutterUnitTesting-twitter.png","articleSection":["News"],"inLanguage":"lo"},{"@type":"WebPage","@id":"https:\/\/laoitdev.com\/2023\/3853\/","url":"https:\/\/laoitdev.com\/2023\/3853\/","name":"Flutter Unit Testing - Lao IT Dev","isPartOf":{"@id":"https:\/\/laoitdev.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/laoitdev.com\/2023\/3853\/#primaryimage"},"image":{"@id":"https:\/\/laoitdev.com\/2023\/3853\/#primaryimage"},"thumbnailUrl":"https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/FlutterUnitTesting-twitter.png","datePublished":"2023-05-02T08:58:50+00:00","dateModified":"2024-02-07T13:56:46+00:00","description":"hi hi \u0eaa\u0eb0\u0e9a\u0eb2\u0e8d\u0e94\u0eb5\u0e97\u0eb8\u0e81\u0e84\u0ebb\u0e99\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0eaa\u0eb6\u0e81\u0eaa\u0eb2 flutter \u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0e82\u0ecd\u0eaa\u0eb0\u0ec0\u0edc\u0eb5\u0e84\u0eb3\u0ea7\u0ec8\u0eb2 \u201cUnit Testing\u201d 555. \u0e9a\u0ea5\u0ead\u0e81\u0e99\u0eb5\u0ec9\u0ec0\u0e81\u0eb5\u0e94\u0e82\u0eb7\u0ec9\u0e99\u0e88\u0eb2\u0e81\u0e81\u0eb2\u0e99\u0ec1\u0e99\u0ea1\u0ec4\u0e9b\u0ec0\u0eab\u0eb1\u0e99 test folder \u0ec3\u0e99\u0ec2\u0e9b\u0ea3\u0ec0\u0e88\u0eb1\u0e81\u0e97\u0eb5\u0ec8\u0e81\u0eb3\u0ea5\u0eb1\u0e87\u0ec0\u0eae\u0eb1\u0e94\u0ea2\u0eb9\u0ec8 \u0ec0\u0e9b\u0eb1\u0e99 Lao IT Dev Flutter Unit Testing Domestic and international ICT services, consultants, Mobile app, Web development, application development, Blockchain, AI and Cryptocurrency","breadcrumb":{"@id":"https:\/\/laoitdev.com\/2023\/3853\/#breadcrumb"},"inLanguage":"lo","potentialAction":[{"@type":"ReadAction","target":["https:\/\/laoitdev.com\/2023\/3853\/"]}]},{"@type":"ImageObject","inLanguage":"lo","@id":"https:\/\/laoitdev.com\/2023\/3853\/#primaryimage","url":"https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/FlutterUnitTesting-twitter.png","contentUrl":"https:\/\/laoitdev.com\/wp-content\/uploads\/2023\/05\/FlutterUnitTesting-twitter.png","width":1800,"height":900},{"@type":"BreadcrumbList","@id":"https:\/\/laoitdev.com\/2023\/3853\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/laoitdev.com\/"},{"@type":"ListItem","position":2,"name":"Flutter Unit Testing"}]},{"@type":"WebSite","@id":"https:\/\/laoitdev.com\/#website","url":"https:\/\/laoitdev.com\/","name":"Lao IT Dev - Lao ICT Solutions Group","description":"LAOITDEV","publisher":{"@id":"https:\/\/laoitdev.com\/#organization"},"alternateName":"Domestic and international ICT services, consultants, Mobile app, Web development, application development, Blockchain, AI and Cryptocurrency","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/laoitdev.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"lo"},{"@type":"Organization","@id":"https:\/\/laoitdev.com\/#organization","name":"Lao IT Dev Co., Ltd.","url":"https:\/\/laoitdev.com\/","logo":{"@type":"ImageObject","inLanguage":"lo","@id":"https:\/\/laoitdev.com\/#\/schema\/logo\/image\/","url":"https:\/\/laoitdev.com\/wp-content\/uploads\/2021\/08\/Default-feature-image.jpg","contentUrl":"https:\/\/laoitdev.com\/wp-content\/uploads\/2021\/08\/Default-feature-image.jpg","width":800,"height":600,"caption":"Lao IT Dev Co., Ltd."},"image":{"@id":"https:\/\/laoitdev.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/laoitdev.com\/#\/schema\/person\/62c6bcfc84b462debc10fa03342f78bf","name":"tokky","image":{"@type":"ImageObject","inLanguage":"lo","@id":"https:\/\/secure.gravatar.com\/avatar\/27a02a239b23482f31f7926e9d4fcc9213d6ec730a49849035affbfd90580ab0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/27a02a239b23482f31f7926e9d4fcc9213d6ec730a49849035affbfd90580ab0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/27a02a239b23482f31f7926e9d4fcc9213d6ec730a49849035affbfd90580ab0?s=96&d=mm&r=g","caption":"tokky"},"url":"https:\/\/laoitdev.com\/lao\/author\/tokky\/"}]}},"_links":{"self":[{"href":"https:\/\/laoitdev.com\/lao\/wp-json\/wp\/v2\/posts\/3853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laoitdev.com\/lao\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laoitdev.com\/lao\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laoitdev.com\/lao\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/laoitdev.com\/lao\/wp-json\/wp\/v2\/comments?post=3853"}],"version-history":[{"count":4,"href":"https:\/\/laoitdev.com\/lao\/wp-json\/wp\/v2\/posts\/3853\/revisions"}],"predecessor-version":[{"id":3880,"href":"https:\/\/laoitdev.com\/lao\/wp-json\/wp\/v2\/posts\/3853\/revisions\/3880"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/laoitdev.com\/lao\/wp-json\/wp\/v2\/media\/3858"}],"wp:attachment":[{"href":"https:\/\/laoitdev.com\/lao\/wp-json\/wp\/v2\/media?parent=3853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laoitdev.com\/lao\/wp-json\/wp\/v2\/categories?post=3853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laoitdev.com\/lao\/wp-json\/wp\/v2\/tags?post=3853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}