श्रेणियाँ, पैकेज और रिपॉज़िटरी खोजें

पैकेज विवरणv0.3.2

checks

एक फ्रेमवर्क जो मानों की अपेक्षाओं के खिलाफ जांच करने और कस्टम अपेक्षाओं के निर्माण के लिए है।

30-दिन डाउनलोड
1.4 लाख
लाइक
125
Pub अंक
160

पैकेज इंस्टॉल करें

flutter pub add checks

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

चेक्स पैकेज एक डार्ट फ्रेमवर्क है जिसका उपयोग मानों को अपेक्षित स्थितियों के खिलाफ जांचने के लिए किया जाता है, जिससे विकासकर्ताओं को कस्टम असर्टशन और वैधता तर्क बनाने में सहायता मिलती है। इसके द्वारा दोहराए जा सकने वाले अपेक्षा नियमों को परिभाषित करने की अनुमति मिलती है, जिससे व्यक्तिगत, पढ़ने में आसान परीक्षण लिखने के लिए लचीला आधार प्रदान किया जाता है। इसका निर्माण परीक्षण कार्यप्रवाहों के साथ एकीकरण के लिए किया गया है, जो सरल मान जांचों और जटिल, क्षेत्र-विशिष्ट वैधता को समर्थन देता है। जब एक स्थिर, बनाए रखने योग्य असर्टशन पैटर्न की आवश्यकता होती है, तो यह पैकेज विशेष रूप से उपयोगी होता है।

उपयोग

  • कस्टम टेस्ट असर्टशन लिखना
  • एकाधिक परीक्षण में एप्लिकेशन स्थिति का मूल्यांकन करना
  • पुनर्उपयोगी सत्यापन तर्क निर्माण करें
  • अभिव्यक्तिशील अपेक्षाओं के साथ परीक्षण पठनीयता में सुधार
  • क्षेत्र-विशिष्ट चेकर बनाना

मुख्य विशेषताएँ

  • विस्तारयोग्य अपेक्षा प्रणाली
  • कस्टम चेकर परिभाषाओं का समर्थन
  • Dart के परीक्षण पारिस्थितिकी तंत्र के साथ एकीकरण
  • पठनीय और चेन करने योग्य अभिव्यक्ति सिंटैक्स
  • मॉड्यूलर और पुन: उपयोग करने योग्य जाँच घटक

इनके लिए उपयुक्त

  • डार्ट विकासकर्ता इकाई या एकीकरण परीक्षण लिख रहे हैं
  • परीक्षण सूट में निरंतर प्रमाणीकरण की आवश्यकता वाली टीमें
  • पुनर्उपयोगी परीक्षण उपकरण बनाने वाले विकासकर्ता

विचार योग्य बातें

  • Dart के टेस्टिंग फ्रेमवर्क के साथ परिचित होना आवश्यक है
  • सबसे अच्छा उपयोग परीक्षण वातावरण में किया जाना चाहिए
  • उत्पादन कोड में रनटाइम वैलिडेशन के लिए नहीं बनाया गया है
  • परीक्षण संदर्भों के बाहर सीमित स्वतंत्र उपयोगिता

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

Dart CI OpenSSF Scorecard

What's here?

Welcome! package:test is the standard testing library for Dart and Flutter. If you have questions about Dart testing, please see the docs for package:test. package:test_api and package:test_core are implementation details and generally not user-facing.

package:checks is a relatively new library for expressing test expectations. It's a more modern version of package:matcher and features a literate API.

Packages

Package Description Issues Version
checks A framework for checking values against expectations and building custom expectations. issues pub package
fake_async Fake asynchronous events such as timers and microtasks for deterministic testing. issues pub package
matcher Support for specifying test expectations via an extensible Matcher class. Also includes a number of built-in Matcher implementations for common cases. issues pub package
test A full featured library for writing and running Dart tests across platforms. issues pub package
test_api The user facing API for structuring Dart tests and checking expectations. pub package
test_core A basic library for writing tests and running them on the VM. pub package
test_descriptor An API for defining and verifying files and directory structures. issues pub package
test_process Test processes: starting; validating stdout and stderr; checking exit code. issues pub package

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 3 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

रैंकिंग