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

पैकेज विवरणv7.0.0

conduit_test

Conduit एप्लिकेशन के लिए स्वचालित परीक्षण लिखने के लिए उपकरण

macOSWindowsLinux
30-दिन डाउनलोड
1.5 हज़ार
लाइक
2
Pub अंक
150

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

flutter pub add conduit_test

पैकेज अवलोकन

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

conduit_test एक सूटी उपकरण प्रदान करता है जो Conduit एप्लिकेशन के लिए स्वचालित परीक्षण लिखने को सरल बनाता है। यह परीक्षण सर्वर सेटअप, डेटाबेस कनेक्शन प्रबंधन, और HTTP अनुरोध और प्रतिक्रिया के मॉक करने के लिए सहायता प्रदान करता है। Conduit फ्रेमवर्क के लिए विशेष रूप से डिज़ाइन किया गया, यह डेवलपर्स को एप्लिकेशन लॉजिक, प्रमाणीकरण प्रवाह, और API एंडपॉइंट्स की जाँच करने में आसानी प्रदान करता है। यह पैकेज Flutter और Dart प्रोजेक्ट्स में बिना किसी दिक्कत के एकीकृत होता है, macOS, Windows और Linux पर क्रॉस-प्लेटफॉर्म टेस्टिंग का समर्थन करता है। यह टेस्ट विश्वसनीयता को बढ़ाता है और टेस्ट सूट में बॉयलरप्लेट कोड को कम करता है।

उपयोग

  • API एंडपॉइंट्स का परीक्षण करें
  • प्रमाणीकरण कार्य प्रवाह की जाँच करना
  • HTTP अनुरोधों का नकली उपयोग
  • डेटाबेस इंटीग्रेशन टेस्टिंग
  • सर्वर व्यवहार की जाँच करना
  • स्वचालित पुनरावृत्ति परीक्षण

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

  • परीक्षण सर्वर सेटअप उपकरण
  • HTTP अनुरोध प्रतिकृया
  • डेटाबेस कनेक्शन प्रबंधन
  • क्रॉस-प्लेटफ़ॉर्म समर्थन
  • न्यूनतम बॉयलरप्लेट
  • Conduit फ्रेमवर्क के साथ एकीकरण

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

  • Conduit बैकएंड विकासकर्ता
  • एपीआई परीक्षण विशेषज्ञ
  • CI/CD पाइपलाइन एकीकरणकर्ता
  • पूर्ण-स्टैक Dart विकासक
  • टेस्ट ऑटोमेशन इंजीनियर्स

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

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

मूल README

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

Linux Windows Macos melos

Conduit is a fork of Stablekernel's Aqueduct, a modern Dart HTTP server framework.

Getting Started

  1. Install Dart.
  2. Activate Conduit.
dart pub global activate conduit
  1. Create a new project.
conduit create my_project
  1. Serve the project.
cd my_project
conduit serve

Building from Source

If you want to contribute to Conduit or build it from source, you will need Melos.

  1. Install Melos:
dart pub global activate melos
  1. Bootstrap the project:
melos bootstrap
  1. Run tests:

[!IMPORTANT] Tests require a running PostgreSQL instance and specific environment variables. You can start the database using Docker: docker-compose -f ci/docker-compose.yaml up -d

export POSTGRES_USER=conduit_test_user
export POSTGRES_PASSWORD=conduit!
export POSTGRES_DB=conduit_test_db
export POSTGRES_PORT=15432
export POSTGRES_HOST=localhost

melos run test-unit

Tutorials, Documentation and Examples

We are currently in the process of collating helpful resources for your edification. Our main docs live here.

Conduit is a close fork to Aqueduct, so Aqueduct examples can be tweaked to work with Conduit here. The major concern is updating the code to use null-safety.

Contributors

j4qfrost
j4qfrost

💻
neterror
neterror

💻
Luis
Luis

💻
Artem Semirenko
Artem Semirenko

🐛 💻
Dmytro Prylutskyi
Dmytro Prylutskyi

💻

श्रेणियाँ

निर्भरताएँ

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

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

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

अभी कोई डेटा उपलब्ध नहीं है।