From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (NAM02-BN1-obe.outbound.protection.outlook.com [40.107.212.125]) by mx.groups.io with SMTP id smtpd.web11.83547.1597816778152384940 for ; Tue, 18 Aug 2020 22:59:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=QN3a7zFD; spf=pass (domain: microsoft.com, ip: 40.107.212.125, mailfrom: bret.barkelew@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f8t+RokCbr18O6lTivUIgqWgHG2Iqsn7sHXJL+IhuWRI8ccd9I5BDMGQrHAIMtscnADYQE8vfnjK3m5NWzqImlO3WcLcriZCnZTZqe0pHz4p+vneFE1V9ueMlC/dtljmO3mKPNMP9greC7hBD6Ii4YVom99WmY6k0ZAmW4IxyiB6zJbKL+O/ATPPRqVy7DZ50Wndh1gJvp9fiZQkDZPfTzAixhbCpmosK5XdpCOdDlJdLPpL0K7LjOPq8bumwkNL5CeV5uuieWj0ksW6SIdJN1WSPRz1h9bsbOrMOWGJPwgt227GpI1vCNlA+6wZhkjbMxjg3dO3y+r5BZU5cFKsKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vY30/trzVELO8u6ui6c9ALUVKXcjy8YiK6IxIn/XVYg=; b=ioVQmaMdZXkRcfLjPJOwT50ar432kescRvHrPEAMvGpUEPGsyWakk4pbB5GXSOLjkAdXG9o9aqst9ZxoBiuntmtFsgxZzjeeEKxWEKMTQ1O1KKpY5ts29Ck6zMQOIHBSas/KOk8/Qza7P2g2hII6ups9Esnk/7NKAS7QkeNl33+UsiEwwQgRfIX32g7pSDl+F7MrIs3ViDjFHwsoEuKJO4MyQ+SnQwUq/ni3YXXpYYMSnXDRyxQyuHbMT4bsTpu30kBs1pGsenYrthv8zPqcJPkDVnFyDJIkAaSBSmXcXVJV5FFvxPiO8SRf0ymMn/7OD0/p1bvvYILFuEsmTrNJjg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vY30/trzVELO8u6ui6c9ALUVKXcjy8YiK6IxIn/XVYg=; b=QN3a7zFD4BArJJDeBcLimNzrYEc0HgUASk22ZLieTnm9BEhljI9vPLlWHv5yp7tzv75tYduyte+55sr2wrWxju2z8KgJ3SEZJ677hBG/fiWmVGgqqrGpXK5uH5JLkGJlsUVw7sUGYaVT3xMKp6AGvygCKqEryJC8R957FJwFN2g= Received: from CY4PR21MB0743.namprd21.prod.outlook.com (2603:10b6:903:b2::9) by CY4PR21MB0501.namprd21.prod.outlook.com (2603:10b6:903:dc::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.13; Wed, 19 Aug 2020 05:59:36 +0000 Received: from CY4PR21MB0743.namprd21.prod.outlook.com ([fe80::2ca0:7d3e:e918:c47a]) by CY4PR21MB0743.namprd21.prod.outlook.com ([fe80::2ca0:7d3e:e918:c47a%12]) with mapi id 15.20.3305.024; Wed, 19 Aug 2020 05:59:36 +0000 From: "Bret Barkelew" To: "devel@edk2.groups.io" , "tigerliu@zhaoxin.com" Subject: Re: [edk2-devel] question about UnitTest Framework Thread-Topic: [edk2-devel] question about UnitTest Framework Thread-Index: AdZ157CAyh39g7YjQOKQsWbcMp8dKAABhGf1 Date: Wed, 19 Aug 2020 05:59:36 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-08-19T05:58:27.6603947Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Privileged authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [174.21.132.206] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: da5fc8d6-da0b-4ea5-45f4-08d844050d84 x-ms-traffictypediagnostic: CY4PR21MB0501: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xQWaY786fnMF8Ig7m716VzCVoKXuaKZQC3eLYbut0JF6EDmEtMJKpPxpJAZ/Fz+bMUoXZqqHl1VnP5XUt1tSFezhCfgvdLWwohionYSQXE67rjda75OoH0AeCb/r4mQHXgEeBQhv5VOD8vW1vKTuYnWCQPLu7WoIXEVXkjtrWynK6h9Tcn7OKVSkbxwznxDk499mBemMQzlDBZzyBJVUCVtU5f6w/GkV6G80OzL/c28U8iEDFpAZsaugPT8evu/mxvyeG+KwdkBoLHSjSo+Otk0mJOuHDg6cv434zdvuYrjo/Gxt/cS/JBCGPc5SyiFzfx0agcaK3QnNgKQcRacfC5zxp9+9bkExWair9GkvcREKLSsOXjXWDX0ycTiYyWcNYk2iMd9FYmkP3wqCdBDQ1A== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR21MB0743.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(136003)(39860400002)(346002)(366004)(376002)(478600001)(186003)(66556008)(52536014)(6506007)(83380400001)(110136005)(33656002)(10290500003)(5660300002)(66446008)(2906002)(966005)(64756008)(8990500004)(66476007)(26005)(71200400001)(8936002)(7696005)(53546011)(76116006)(86362001)(82950400001)(66946007)(91956017)(55016002)(316002)(166002)(9686003)(82960400001)(8676002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: DGx0/oeFbaL7rC+hN3VdyiNKWRf6qyMsp1fGqDx0StmMxBMcqxhT3OnmocCMUVAdNeXs6tzZCK7o4vMNznnafU/MILPl6XA9Vlo/xbcepAJzHpUZIuQBt8yNM3W4mN9e0vryf8YkYJMmJmMphxJmpMSM6niBwOamfV/s9VIshl2Cp0H/1229d0pZ/lsScfxUSor+f2DhcEMWzasN5DW57mxFc0DpT3pvxzZ9Y9yN9y9Oa3VWPpaD5XKFAF2pxH9lqHk4rC9PMCRUKdxXwFa4BccZjehu1UVPfhC79eK0Lo3iA7//JqNTlHHG5IcCpiI7f51OR130TAttpnYTlJYMhK4LE96ozfWOGukMekL37UvffJfF8voEBSkpcOJVskFBfAIAXMd+aYwBnSTqKMcWD+kXUZoWw36mh56UCajUIi0zxt2y8vLIO/jo+3KZL52bOX80HmJeJ+WlgQHuxzRU8Zs2m95qybHf8ccQUU50UKZDHRIkBHzw6HCy7K4jRfHyHyQ4ppyA5xleRGu5ORyBF+3/Cb6kdEZknaxtoK4Oo1onUCUHsVmoPW0VGew1DrAiLDb+w6+LtDZS/j6Uy5wIJKeUdcxGIyKoXcECq3biyRvgqdRVj5mV9ooExOPOu5ITZzPo+hNCL0wdqU6kghD7bA== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR21MB0743.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: da5fc8d6-da0b-4ea5-45f4-08d844050d84 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Aug 2020 05:59:36.4263 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 8U/+vK2NkJlH7QiQkvL0drWeX5A7To5Sg3WVM/sTt2bhIycD+KCBEYhcyqVcHuzEeIM/eJzG63WSUBQ8ekA8IQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0501 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CY4PR21MB07436C5AC73DFEC76889660FEF5D0CY4PR21MB0743namp_" --_000_CY4PR21MB07436C5AC73DFEC76889660FEF5D0CY4PR21MB0743namp_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 Q29ycmVjdC4gSXShr3MgcG9zc2libGUgdGhhdCB3ZSBjYW4gaGF2ZSBzb21lIHNvcnQgb2YgdGVz dCByZXVuaW9uIGF0IHNvbWUgcG9pbnQsIGJ1dCBTQ1QgaXMgbGFyZ2VseSBmb3IgaW50ZXJmYWNl cyBhbmQgc3BlYyBjb21wbGlhbmNlLCBhbmQgdGhlIFVuaXRUZXN0IEZyYW1ld29yayBpcyBmb3Ig aW1wbGVtZW50YXRpb24gYnVzaW5lc3MgbG9naWMsIENJLCBhbmQgY29kZSBjb3ZlcmFnZS4NCg0K LSBCcmV0DQoNCkZyb206IFRpZ2VyIExpdShCSi1SRCkgdmlhIGdyb3Vwcy5pbzxtYWlsdG86dGln ZXJsaXU9emhhb3hpbi5jb21AZ3JvdXBzLmlvPg0KU2VudDogVHVlc2RheSwgQXVndXN0IDE4LCAy MDIwIDEwOjE3IFBNDQpUbzogZGV2ZWxAZWRrMi5ncm91cHMuaW88bWFpbHRvOmRldmVsQGVkazIu Z3JvdXBzLmlvPjsgVGlnZXIgTGl1KEJKLVJEKTxtYWlsdG86VGlnZXJMaXVAemhhb3hpbi5jb20+ DQpT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sjLyrnTw6Gj0c+9+7bUsb7Tyrz+u/LG5MTayN3X9sjOus7OtL6tytrIqLXEsunUxKGiyrnT w6GiuLTWxrvy16q3oqGjDQpDT05GSURFTlRJQUwgTk9URToNClRoaXMgZW1haWwgY29udGFpbnMg Y29uZmlkZW50aWFsIG9yIGxlZ2FsbHkgcHJpdmlsZWdlZCBpbmZvcm1hdGlvbiBhbmQgaXMgZm9y IHRoZSBzb2xlIHVzZSBvZiBpdHMgaW50ZW5kZWQgcmVjaXBpZW50LiBBbnkgdW5hdXRob3JpemVk IHJldmlldywgdXNlLCBjb3B5aW5nIG9yIGZvcndhcmRpbmcgb2YgdGhpcyBlbWFpbCBvciB0aGUg Y29udGVudCBvZiB0aGlzIGVtYWlsIGlzIHN0cmljdGx5IHByb2hpYml0ZWQuDQoNCg0KDQoNCg0K saPD3Mn5w/ejug0Ksb7Tyrz+uqzT0LGjw9y78teo09DQxc+io6y99rmp1ri2qMrVvP7Iy8q508Oh o9HPvfu21LG+08q8/rvyxuTE2sjd1/bIzrrOzrS+rcrayKi1xLLp1MShosq508Ohori01sa78teq t6Khow0KQ09ORklERU5USUFMIE5PVEU6DQpUaGlzIGVtYWlsIGNvbnRhaW5zIGNvbmZpZGVudGlh bCBvciBsZWdhbGx5IHByaXZpbGVnZWQgaW5mb3JtYXRpb24gYW5kIGlzIGZvciB0aGUgc29sZSB1 c2Ugb2YgaXRzIGludGVuZGVkIHJlY2lwaWVudC4gQW55IHVuYXV0aG9yaXplZCByZXZpZXcsIHVz ZSwgY29weWluZyBvciBmb3J3YXJkaW5nIG9mIHRoaXMgZW1haWwgb3IgdGhlIGNvbnRlbnQgb2Yg dGhpcyBlbWFpbCBpcyBzdHJpY3RseSBwcm9oaWJpdGVkLg0KDQoNCg0K --_000_CY4PR21MB07436C5AC73DFEC76889660FEF5D0CY4PR21MB0743namp_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

Correct. It=A1=AFs possible that we can have some s= ort of test reunion at some point, but SCT is largely for interfaces and sp= ec compliance, and the UnitTest Framework is for implementation business lo= gic, CI, and code coverage.

 

- Bret

 

From: Tiger Liu(BJ-RD) via groups= .io
Sent: Tuesday, August 18, 2020 10:17 PM
To: devel@edk2.groups.io; Tiger Liu(BJ-RD)
Subject: [=CD= =E2=B2=BF] Re: [edk2-devel] question about UnitTest Framework

 

Hi,
After studying previous discuss mail, UnitTest Framework is work for Conti= nuous Integration mechanism.

Code writer will provide some unit test functions, maybe they could also d= o code coverage test.

Thanks
-----=D3=CA=BC=FE=D4=AD=BC=FE-----
=B7=A2=BC=FE=C8=CB: devel@edk2.groups.io <devel@edk2.grou= ps.io> =B4=FA=B1=ED Tiger Liu(BJ-RD)
=B7=A2=CB=CD=CA=B1=BC=E4: 2020=C4=EA8= =D4=C213=C8=D5 16:03
=CA=D5=BC=FE=C8=CB: devel@edk2.groups.io
=D6=F7=CC=E2: [edk2-devel] question about UnitTest Framework=

Hi, Experts:
I have a question about UnitTest Framework.

UEFI Code has included some test infrastructure, such as:
PI-SCT / SCT / FWTS etc.

So, why we introduce a new UnitTest Framework?

Is it mainly for Code Coverage test?

Thanks


=B1=A3=C3=DC=C9=F9=C3=F7=A3=BA
=B1=BE=D3=CA=BC=FE=BA=AC=D3=D0=B1=A3=C3=DC=BB=F2=D7=A8=D3=D0=D0=C5= =CF=A2=A3=AC=BD=F6=B9=A9=D6=B8=B6=A8=CA=D5=BC=FE=C8=CB=CA=B9=D3=C3=A1=A3= =D1=CF=BD=FB=B6=D4=B1=BE=D3=CA=BC=FE=BB=F2=C6=E4=C4=DA=C8=DD=D7=F6=C8=CE= =BA=CE=CE=B4=BE=AD=CA=DA=C8=A8=B5=C4=B2=E9=D4=C4=A1=A2=CA=B9=D3=C3=A1=A2= =B8=B4=D6=C6=BB=F2=D7=AA=B7=A2=A1=A3
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is = for the sole use of its intended recipient. Any unauthorized review, use, c= opying or forwarding of this email or the content of this email is strictly= prohibited.





=B1=A3=C3=DC=C9=F9=C3=F7=A3=BA
=B1=BE=D3=CA=BC=FE=BA=AC=D3=D0=B1=A3=C3=DC=BB=F2=D7=A8=D3=D0=D0=C5= =CF=A2=A3=AC=BD=F6=B9=A9=D6=B8=B6=A8=CA=D5=BC=FE=C8=CB=CA=B9=D3=C3=A1=A3= =D1=CF=BD=FB=B6=D4=B1=BE=D3=CA=BC=FE=BB=F2=C6=E4=C4=DA=C8=DD=D7=F6=C8=CE= =BA=CE=CE=B4=BE=AD=CA=DA=C8=A8=B5=C4=B2=E9=D4=C4=A1=A2=CA=B9=D3=C3=A1=A2= =B8=B4=D6=C6=BB=F2=D7=AA=B7=A2=A1=A3
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is = for the sole use of its intended recipient. Any unauthorized review, use, c= opying or forwarding of this email or the content of this email is strictly= prohibited.

 

--_000_CY4PR21MB07436C5AC73DFEC76889660FEF5D0CY4PR21MB0743namp_--