--- Test the weight system: !S::Suite contents: - All or nothing (0%): !S::RMatch test: !S::Suite wclass: W::WMin contents: - Suppose to PASS 1: !S::Pass {} - Suppose to PASS 2: !S::Pass {} - Suppose to FAIL 3: !S::Fail {} match: - ///1/status/PASS$ - ///2/status/PASS$ - ///3/status/FAIL$ - //status/FAIL$ - All or nothing (100%): !S::RMatch test: !S::Suite wclass: W::WMin contents: - Suppose to PASS 4: !S::Pass {} - Suppose to FAIL 5: !S::Fail weight: -1 - Suppose to PASS 6: !S::Pass {} match: - ///4/status/PASS$ - ///5/status/FAIL$ - ///6/status/PASS$ - //status/PASS$ - Percentage (70%): !S::RMatch test: !S::Suite contents: - Suppose to PASS 7: !S::Pass {} - Suppose to PASS 8: !S::Pass weight: 2 - Sub suite (25%): !S::Suite contents: - Suppose to PASS 9: !S::Pass {} - Suppose to FAIL 10: !S::Fail weight: 2 - Suppose to FAIL 11: !S::Fail {} - Suppose to FAIL 12: !S::Fail {} - Suppose to PASS 13: !S::Pass {} match: - ///7/status/PASS$ - ///8/status/PASS$ - ///Sub//9/status/PASS$ - ///Sub//10/status/FAIL$ - ///Sub//11/status/FAIL$ - ///Sub/status/FAIL\(25%\)$ - //status/FAIL\(70%\)$ - Fatal pass (100%): !S::RMatch test: !S::Suite attributes: !S::Pass {} contents: - Suppose to PASS 14: fatal: true - Suppose to PASS 15: {} match: - ///14/status/PASS$ - ///15/status/PASS$ - //status/PASS$ - Fatal fail (20%): !S::RMatch test: !S::Suite contents: - Suppose to PASS 15.5: !S::Pass fatal: true - Suppose to FAIL 16: !S::Fail fatal: true - Suppose to be not tested 17: !S::Pass {} - Suppose to be not tested 17.5: !S::Fail weight: 2 match: - ///15.5/status/PASS$ - ///16/status/FAIL$ - //status/FAIL\(20%\)$ dont_match: - ///17 - Fatal pass but other fail (50%): !S::RMatch test: !S::Suite contents: - Suppose to PASS 18: !S::Pass fatal: true - Suppose to FAIL 19: !S::Fail {} match: - ///18/status/PASS$ - ///19/status/FAIL$ - //status/FAIL\(50%\)$ - Fatal pass but no weight (100%): !S::RMatch test: !S::Suite attributes: !S::Pass {} contents: - Suppose to PASS 20: weight: 0 fatal: true - Suppose to PASS 21: {} - Suppose to PASS 22: {} match: - ///20/status/PASS$ - ///21/status/PASS$ - ///22/status/PASS$ - //status/PASS$ - Fatal fail but no weight (0%): !S::RMatch test: !S::Suite attributes: !S::Pass {} contents: - Suppose to FAIL 23: !S::Fail weight: 0 fatal: true - Suppose to be not tested 24: {} - Suppose to be not tested 25: {} match: - ///23/status/FAIL$ - //status/FAIL$ dont_match: - ///24 - ///25 - Negative (66%): !S::RMatch test: !S::Suite attributes: !S::Pass {} contents: - Suppose to PASS 26: {} - Suppose to PASS 27: weight: -1 - Suppose to PASS 28: {} match: - ///26/status/PASS$ - ///27/status/PASS$ - ///28/status/PASS$ - //status/FAIL\(66%\)$ - Negative (100%): !S::RMatch test: !S::Suite attributes: !S::Pass {} contents: - Suppose to PASS 29: {} - Suppose to PASS 30: !S::Fail weight: -1 - Suppose to PASS 31: {} match: - ///29/status/PASS$ - ///30/status/FAIL$ - ///31/status/PASS$ - //status/PASS$