सदस्य
instrumented_files_info
InstrumentedFilesInfo coverage_common.instrumented_files_info(ctx, *, source_attributes=[], dependency_attributes=[], extensions=None, metadata_files=[], baseline_coverage_files=None)
पैरामीटर
| पैरामीटर | ब्यौरा |
|---|---|
ctx
|
ctx;
ज़रूरी है नियम का कॉन्टेक्स्ट. |
source_attributes
|
sequence;
डिफ़ॉल्ट रूप से []होता है एट्रिब्यूट के नामों की सूची. इनमें वे सोर्स फ़ाइलें शामिल होती हैं जिन्हें इस नियम के तहत प्रोसेस किया जाता है. |
dependency_attributes
|
sequence;
डिफ़ॉल्ट वैल्यू []है एट्रिब्यूट के नामों की सूची. ये एट्रिब्यूट, रनटाइम डिपेंडेंसी (कोड डिपेंडेंसी या रनफ़ाइल) दे सकते हैं. |
extensions
|
स्ट्रिंग का क्रम; या None;
डिफ़ॉल्ट वैल्यू Noneहै source_attributes से फ़ाइलों को फ़िल्टर करने के लिए इस्तेमाल किए गए फ़ाइल एक्सटेंशन. उदाहरण के लिए, 'js'. अगर यह विकल्प नहीं दिया गया है या इसे 'कोई नहीं' पर सेट किया गया है, तो source_attributes से मिली सभी फ़ाइलें, इंस्ट्रुमेंट की गई फ़ाइलों में जोड़ दी जाएंगी. अगर खाली सूची दी जाती है, तो source_attributes से मिली कोई भी फ़ाइल नहीं जोड़ी जाएगी. |
metadata_files
|
sequence of Files;
default is []Additional files required to generate coverage LCOV files after code execution. e.g. .gcno files for C++. |
baseline_coverage_files
|
File का sequence; या None;
डिफ़ॉल्ट वैल्यू Noneहै |