3 रिपॉजिटरी
Validation utilities that check values against predicates and return explicit success or failure types.
Distinct from Predicate-Based Error Filtering: Candidates focus on error filtering, Solidity return values, or UI insertions, not general functional validation.
Explore 3 awesome GitHub repositories matching software engineering & architecture · Predicate-Based Validations. Refine with filters or upvote what's useful.
1loc is a JavaScript utility library and multifaceted toolkit providing a collection of single-line functions for common mathematical, string, date, and geometric operations. It functions as a set of functional programming helpers and data validation predicates designed to perform atomic transformations and validations. The project includes a geometry math library for calculating distances, angles, and spatial overlaps between points and rectangles, alongside a text manipulation library for casting, capitalizing, and analyzing string content. The toolkit covers broader capability areas inclu
Provides validation utilities that use boolean predicates to verify numeric properties and date ranges.
Responses एक Python मॉकिंग लाइब्रेरी है जिसे Requests लाइब्रेरी के साथ किए गए आउटगोइंग HTTP कॉल को इंटरसेप्ट करने के लिए डिज़ाइन किया गया है ताकि पूर्व-निर्धारित सिम्युलेटेड प्रतिक्रियाएं लौटाई जा सकें। यह एक अनुरोध सत्यापन फ्रेमवर्क और एक नेटवर्क सिमुलेशन टूल के रूप में कार्य करता है, जो वास्तविक नेटवर्क कॉल किए बिना विभिन्न API प्रतिक्रिया पैटर्न के खिलाफ एप्लिकेशन व्यवहार के सत्यापन की अनुमति देता है। यह प्रोजेक्ट एक ट्रैफ़िक रिकॉर्डर के माध्यम से खुद को अलग करता है जो वास्तविक नेटवर्क इंटरैक्शन को कैप्चर करता है और उन्हें नियतात्मक रिप्ले के लिए फ़ाइलों में सहेजता है। यह कनेक्शन टाइमआउट, नेटवर्क त्रुटियों और HTTP रीडायरेक्शन को ट्रिगर करने सहित जटिल नेटवर्क परिदृश्यों के सिमुलेशन को और सक्षम बनाता है। लाइब्रेरी कॉलबैक-संचालित प्रतिक्रियाओं का उपयोग करके डायनेमिक API सिमुलेशन और स्टेट परिवर्तनों का परीक्षण करने के लिए अनुक्रमिक प्रतिक्रिया कतारों के लिए क्षमताएं प्रदान करती है। इसमें यह सुनिश्चित करने के लिए कि आउटगोइंग हेडर, बॉडी और क्वेरी पैरामीटर अपेक्षित मानदंडों को पूरा करते हैं, अनुरोध डेटा सत्यापन और विशेषता सत्यापन के लिए टूल्स शामिल हैं। मॉक कॉन्फ़िगरेशन और रजिस्ट्रियों को परीक्षण मामलों के बीच व्यवहार को अलग करने के लिए डेकोरेटर और संदर्भ प्रबंधकों के माध्यम से प्रबंधित किया जाता है।
Matches requests using custom logic and predicates applied to headers, bodies, and query parameters.
This project is a protocol buffer validation plugin and code generator that creates consistent validation logic across multiple programming languages. It functions as a compiler extension for the Protocol Buffer toolchain, allowing developers to define semantic constraints directly within schema files to ensure data consistency. The tool uses custom options to embed validation rules into message definitions, mapping these schema constraints to language-specific implementation patterns. It employs predicate-based constraint checking and recursive traversal to enforce rules across nested messag
Evaluates field values against a set of predefined logical predicates including range checks and regular expressions.