SarkariResultess QA Bank

Flutter unit test और widget test में difference क्या है? का सही Flutter/Dart syntax क्या है?

Other 0 Views Verified
Flutter unit test और widget test में difference क्या है? का सही Flutter/Dart syntax क्या है? सही उत्तर: Unit test logic को isolated test करता है; widget test widget/UI behavior को test करता है. व्याख्या: Unit test logic को isolated test करता है; widget test widget/UI behavior को test करता है. यह इस प्रश्न के संदर्भ में सही उत्तर है। Flutter/Dart development में concept को समझने के साथ उसके lifecycle, constraints, error handling और practical usage को भी ध्यान में रखना चाहिए. Developer note: Flutter unit test और widget test में difference क्या है?
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified

Unit test केवल API है

Unit test केवल API है
Additional Explanation
यह विकल्प सही नहीं है। इस प्रश्न के संदर्भ में सही उत्तर है: Unit test logic को isolated test करता है; widget test widget/UI behavior को test करता है.
Verified Correct Answer

Unit test logic को isolated test करता है; widget test widget/UI behavior को test करता है.

Unit test logic को isolated test करता है; widget test widget/UI behavior को test करता है.
Additional Explanation
यह सही उत्तर है। Unit test logic को isolated test करता है; widget test widget/UI behavior को test करता है.
Verified

Widget test केवल Android manifest है

Widget test केवल Android manifest है
Additional Explanation
यह विकल्प सही नहीं है। इस प्रश्न के संदर्भ में सही उत्तर है: Unit test logic को isolated test करता है; widget test widget/UI behavior को test करता है.
Verified

दोनों केवल SQL tests हैं

दोनों केवल SQL tests हैं
Additional Explanation
यह विकल्प सही नहीं है। इस प्रश्न के संदर्भ में सही उत्तर है: Unit test logic को isolated test करता है; widget test widget/UI behavior को test करता है.