大红鹰dhy登录界面「网站首页」欢迎您 /determination-of-automation-modules-in-testing/ /determination-of-automation-modules-in-testing/#respond Fri, 23 Sep 2022 02:56:48 +0000 /?p=6041 overview鍓嶈█ 浠婂ぉ缁х画浠嬬粛TSMaster鏂板姛鑳解€旇嚜鍔ㄥ寲妯″潡鍦ㄦ祴璇曚腑鐨勫垽瀹氭柟娉曘€備紬鎵€鍛ㄧ煡锛屽垽瀹氬湪娴嬭瘯涓 […]

The post 鏂板姛鑳藉彂甯 | 鑷姩鍖栨ā鍧楀湪娴嬭瘯涓殑鍒ゅ畾鏂规硶 first appeared on 涓婃捣鍚屾槦鏅鸿兘绉戞妧鏈夐檺鍏徃.

]]>
overview鍓嶈█

浠婂ぉ缁х画浠嬬粛TSMaster鏂板姛鑳解€旇嚜鍔ㄥ寲妯″潡鍦ㄦ祴璇曚腑鐨勫垽瀹氭柟娉曘€備紬鎵€鍛ㄧ煡锛屽垽瀹氬湪娴嬭瘯涓喅瀹氫簡涓€涓敤渚嬫槸杩囪繕鏄笉杩囷紝鐢ㄨ嚜鍔ㄥ寲妯″潡灏卞彲浠ヨ交鏄撳湴瀹炵幇娴嬭瘯閫昏緫銆傞偅涔堟€庢牱鎵嶈兘鍦ㄦ祴璇曢€昏緫鎵ц鍚庡悎鐞嗗湴瀵圭粨鏋滆繘琛屽垽瀹氬憿锛烖/p>


鍦ㄦ锛岄渶瑕佸ぇ瀹舵洿鏂癟SMaster杞欢鑷虫渶鏂扮増鏈€傛渶鏂扮増鏈笅杞介摼鎺ュ彲浠ョ洿鎺ュ湪鍏紬鍙疯彍鍗曟爮鍥炲鈥淭SMaster鈥濓紝鍗冲彲鑾峰彇銆侟/p>

1. 鍒ゅ畾鐩稿叧鐨凙PI鍑芥暟

濡備綍鎵嶈兘瀵规祴璇曠殑缁撴灉杩涜鍒ゅ畾鍛紵杩欓噷灏遍渶瑕佷竴绯诲垪鍜屽垽瀹氱浉鍏崇殑API鍑芥暟銆備妇涓畝鍗曠殑渚嬪瓙锛氭瘮濡傞渶瑕佸垽鏂竴涓彂鍔ㄦ満鐨勬俯搴︿俊鍙锋槸鍚﹀湪0-50搴︿箣闂达紝璇ユ€庝箞鍋氬憿锛烖/p>

1.1 鑷姩浠跨湡

鍦ㄧ郴缁熺殑瀹夎鏂囦欢涓紝閫夊彇绀轰緥鐨勬暟鎹簱CAN_FD_Powertrain锛屽皢鍏舵嫋鍏SMaster鐜涓繘琛屽姞杞姐€侟/p>

TSMaster鑷姩鍖栨ā鍧楃殑澶嶇敤鏂规硶

閫氳繃鎬荤嚎浠跨湡婵€娲绘墍鏈夎妭鐐癸紝鍏佽鑷姩浠跨湡锛屽苟鍚姩鎬荤嚎浠跨湡锛屼豢鐪熻櫄鎷熺殑鑺傜偣銆侟/p>

1.2 娓╁害淇″彿鍊肩殑鑼冨洿

鍦ㄨ嚜鍔ㄥ寲妯″潡涓殑鍏ュ彛鐐规寜涓€涓嬪洖杞﹀姩浣滐紝娣诲姞涓€涓姩浣滐紝鐒跺悗鍙屽嚮璁惧畾銆傚姩浣滅殑灞炴€т负API鍑芥暟璋冪敤锛屽苟涓斿湪灏忕▼搴忕殑绯荤粺鍑芥暟鐨勫垪琛ㄤ笂杈撳叆verdict锛岄€夋嫨check verdict銆傝繖涓嚱鏁板氨鏄敤鏉ョ珛鍗虫娴嬩俊鍙峰€肩殑鑼冨洿銆侟/p>

TSMaster鑷姩鍖栨ā鍧楃殑澶嶇敤鏂规硶

杩欓噷鏈?涓弬鏁帮紝鍒嗗埆鏄樉绀虹殑鍚嶇О銆佸弬鏁扮殑瀹炴椂鍊笺€佸強鎵€鍏佽鐨勬渶灏忓拰鏈€澶у€笺€傚湪鍚嶇О澶勫彲浠ラ殢鎰忕殑濉啓锛屾瘮濡俥ngine temp锛岃繖涓瓧绗︿覆鏈€鍚庝細杩涘埌杩欐鎶ュ憡閲岄潰锛岃€屽疄鏃剁殑鍊硷紝闇€瑕侀€夋嫨杩欎釜鍙戝姩鏈虹殑娓╁害淇″彿銆侟/p>

鍦╩in鍜宮ax杩欎袱涓俊鍙锋垜浠垎鍒祴鍊间负0鍜?0锛屽垽鏂繖涓俊鍙锋槸鍚﹀湪0-50涔嬮棿锛屽鏋滄槸閭d箞妫€娴嬮€氳繃锛屽鏋滃惁閭d箞妫€娴嬪け璐ャ€侟/p>

TSMaster鑷姩鍖栨ā鍧楃殑澶嶇敤鏂规硶

鐐瑰嚮杩愯绋嬪簭锛屽綋鍓嶅彧鏄?锛屽彲浠ョ湅鍒版娴嬫槸鎴愬姛鐨勩€傚鏋滃皢杩欎釜engine temp鏀逛负100搴︼紝鍐嶈繍琛岀▼搴忥紝鍙互鐪嬪埌妫€娴嬬殑澶辫触銆傜劧鍚庝細寮瑰嚭涓€涓娴嬩俊鎭紝涔熷氨鏄綋鍓嶇殑娓╁害绛変簬100銆傚苟涓嶅湪0鍒?0鐨勮寖鍥翠箣闂达紝閭d箞浠ヤ笂灏辨槸娴嬭瘯涓殑绔嬪嵆妫€娴嬬殑鏂规硶銆侟/p>

2. Signal checker鐨勪竴绯诲垪API

鍙戝姩鏈虹殑娓╁害濡傛灉涓€鐩村湪鍙樺寲涓紝鑰屾垜浠張闇€瑕佸湪涓€娈垫椂闂村唴妫€娴嬫俯搴︽槸鍚﹀湪鍏佽鐨勮寖鍥淬€傞€氱敤鐨勬柟娉曞氨鏄娇鐢ㄥ惊鐜紝渚嬪c璇█鐨刦or鍑芥暟鎴栬€呮槸鍥惧舰璇█鐨勮繍琛屽拰璺宠浆锛屼娇瀹冧笉鍋滅殑寰€鍥炶烦锛屽湪杩欎釜寰幆涓笉鏂殑妫€娴嬨€備絾鏄繖涓柟娉曟晥鐜囦綆涓嬶紝鑰屼笖濡傛灉鍚屾椂闇€瑕佸澶氫釜淇″彿杩涜鍒ゆ柇锛岃繖鏍风殑閫昏緫灏卞鏉備簡銆傚洜姝ょ洿鎺ュ疄鏂介€昏緫鏄剧劧涓嶆槸涓€涓悎鐞嗙殑鍋氭硶銆傞偅涔堟鏃跺氨鐢ㄥ埌TSMaster鐨凷ignal checker鐨勪竴绯诲垪API銆侟/p>

2.1 add check with time

鍋囪甯屾湜妫€娴嬪彂鍔ㄦ満鐨勬俯搴﹀湪0绉掑埌15绉掍箣鍐呮槸鍚﹀湪0-50搴︿箣闂达紝鍙互浣跨敤涓€涓檺瀹氭椂闂寸殑妫€娴嬪嚱鏁帮紝鎴戜滑杩囨护涓€涓嬮€氳繃checker杩欎釜瀛楃涓诧紝鍙互杩囨护鍑簊ignal checker鐨勭郴鍒楀嚱鏁帮紝閭d箞绗竴涓嚱鏁板彨鍋歛dd check with time銆傝繖涓嚱鏁板氨鏄敤鏉ユ娴嬪湪涓€娈垫椂闂村唴杩欎釜淇″彿鐨勫€兼槸鍚﹀湪鑼冨洿涔嬪唴銆侟/p>

TSMaster鑷姩鍖栨ā鍧楃殑澶嶇敤鏂规硶

2.2 8涓弬鏁?/strong>

绗?涓弬鏁版槸淇″彿绫诲瀷锛岀偣鍑诲父閲忥紝鐒跺悗鍦ㄨ繖閲岃緭鍏hecker锛屽彲浠ョ湅鍒皊ignal type鏈?绉嶇被鍨嬶細鍒嗗埆鏄痗an淇″彿lin淇″彿鎴栬€呮槸绯荤粺鍙橀噺锛屽湪姝ゆ垜浠€夋嫨鐨勬槸can淇″彿銆侟/p>

绗?涓槸妫€娴嬬被鍨嬶紝鐐瑰嚮甯搁噺锛岄€氳繃Signal checker鐨勫叧閿瓧杩涜杩囨护锛屽彲浠ョ湅鍒版娴嬬殑绫诲瀷銆侟/p>

绗?涓槸缁熻绫诲瀷锛岀粺璁′俊鍙风殑鏈€灏忋€佹渶澶у€兼垨鑰呮槸骞冲潎鍊肩瓑绛夈€傞€夋嫨鎬绘槸妫€娴嬶紝鎺ヤ笅鏉ユ槸淇″彿鐨勫悕绉帮紝閫夋嫨鍙戝姩鏈轰俊鍙凤紝娓╁害淇″彿engine temp銆備絾鏄渶瑕佹敞鎰忕殑鏄紝闇€瑕佹妸瀛楃涓插墠闈㈢殑CAN鍓嶇紑鍒犳帀锛岃繖鏍锋墠鏄瓧绗︿覆鐨勬湰韬€侟/p>

绗?涓槸淇″彿瀹硅鐨勬渶灏忓€硷紝鎴戜滑璁惧畾涓?銆傜5涓弬鏁版槸淇″彿瀹硅鐨勬渶澶у€硷紝璁句负50搴︺€傜6涓槸妫€娴嬫椂闂达紝榛樿浠?寮€濮嬨€傜7涓槸妫€娴嬬粨鏉熸椂闂达紝璁惧畾鍒?5绉掓垨鑰呴暱涓€鐐?0绉掋€傜8涓槸鎴戜滑鎵€娣诲姞鐨勬娴嬪彞鏌勩€侟/p>

2.3 娣诲姞妫€娴嬩俊鍙饵/strong>

姣忓綋娉ㄥ唽浜嗕竴涓娴嬫ā鍧椾箣鍚庯紝閮戒細杩斿洖杩欎釜妯″潡鐨勫彞鏌勭粰鍒版垜浠殑绋嬪簭锛屾垜浠殑绋嬪簭灏卞彲浠ュ弽澶嶉€氳繃璇诲彇杩欎釜鍙ユ焺鏉ヨ幏鍙栫浉鍏崇殑妫€娴嬬粨鏋溿€傚湪姝ら渶瑕佺敤鏈湴鍙橀噺鏉ュ叧鑱斿畠锛屾垜浠坊鍔犱竴涓湰鍦板彉閲忥紝鎶婂畠鏀规垚ID锛岀劧鍚庡洖鍒板睘鎬э紝鍏宠仈鎴戜滑鐨勬湰鍦板彉閲忥紝杩欐牱灏卞疄鐜颁簡涓€涓俊鍙锋娴嬬殑娣诲姞銆侟/p>

鎺ヤ笅鏉ュ欢鏃?0绉掓椂闂达紝鐢ㄧ殑鏄痺ait鏂规硶锛岃繖閲屾槸姣鎵€浠ユ槸2涓囷紝娑堟伅鍙互涓嶅啓锛岃繖鏍峰氨涓嶄細鎵撳嵃銆侟/p>

TSMaster鑷姩鍖栨ā鍧楃殑澶嶇敤鏂规硶

鍐嶆帴涓嬪幓灏辨槸鑾峰彇妫€娴嬬粨鏋滐紝杩樻槸涓€鏍稟PI杩樻槸瑕侀€氳繃checker鏉ヨ繘琛岃繃婊わ紝閭d箞杩欓噷鍙互鎵惧埌get result锛岃繖涓嚱鏁版湁4涓弬鏁帮紝CheckId灏辨槸鎴戜滑鍒氭墠鑾峰彇鐨勮窛绂伙紝鎴戜滑閫夋嫨ID锛屼笅闈?涓槸杩斿洖鍊硷紝鎴戜滑閮藉彲浠ヤ笉濉紝涓嶅~灏辨剰鍛崇潃鎴戜滑涓嶉渶瑕佽繖涓繑鍥炲€硷紝鐩存帴鎶涘純銆侟/p>

鍦╟璇█閲岄潰杩欎簺鍊奸兘蹇呴』涓庡搴旂殑鍙橀噺杩涜鍏宠仈锛屽湪鍥惧舰缂栫▼璇█閲岄潰鍙互鐩存帴鎶涘純锛屽綋鐒跺彲浠ョ湅鍒版渶鍚庝竴涓槸缁撴灉鐨勪竴涓瓧绗︿覆琛ㄨ揪锛屾垜浠彲浠ユ妸杩欎釜琛ㄨ揪涔熷瓨涓嬫潵锛岃繖閲屾垜浠敵璇蜂竴涓瓧绗︿覆锛屾妸瀹冨懡鍚嶄负s锛岀劧鍚庡湪杩欎釜鍦版柟鍏宠仈锛屾垜浠殑鏈湴鐨勫瓧绗︿覆灏卞疄鐜颁簡涓€涓娴嬶紝閭d箞鎴戜滑鍙互璁╄繖涓娴嬪仛鍒伴殢鐫€绋嬪簭鍚姩鑷姩杩愯銆侟/p>

TSMaster鑷姩鍖栨ā鍧楃殑澶嶇敤鏂规硶

3. 鍚姩绋嬪簭

3.1 姝e父鍊艰寖鍥滁/strong>

鐐瑰嚮鍚姩锛岀▼搴忓湪杩愯锛岃繖涓椂鍊欑▼搴忓湪wait绛夊緟杩囩▼涓紝绛夊緟鐨勬椂闂存槸20绉掞紝鍦ㄨ繖涓繃绋嬩腑鍙互鐪嬪埌淇″彿鐨勫€间竴鐩存槸0搴︺€傛垜浠彲浠ラ殢鎰忕殑淇敼锛屾湁鏃跺€欐垜浠彲浠ヨ緭鍏ngine temp锛岄偅涔堣繖涓€兼湁鏃跺€欐垜浠敼鎴?5锛岄偅涔堝氨鍦ㄥ彉鍖栵紝姝ゆ椂杩欎釜杩囩▼妫€娴嬫槸寰堥『鍒╃殑锛屽苟娌℃湁鍑虹幇0鍒?0涔嬪鐨勫€笺€侟/p>

TSMaster鑷姩鍖栨ā鍧楃殑澶嶇敤鏂规硶

3.2 瓒呭嚭姝e父鍊稽/strong>

濡傛灉鎴戜滑灏濊瘯鎶奺ngine temp鍊肩洿鎺ユ敼鎴?6锛岄偅涔堜慨鏀圭殑鐬棿妫€娴嬪氨鍒ゆ柇鍒颁俊鍙疯秴鍑轰簡姝e父鐨勫€艰寖鍥达紝涓嶅湪0鍒?0鐨勮寖鍥达紝鎵€浠ヤ細鎵撳嵃鍑洪敊淇℃伅銆傚湪绛夊緟20绉掔粨鏉熶箣鍚庯紝鍙互鐪嬪埌鎴戜滑鐨勬娴嬪嚱鏁颁篃浼氱珛鍗冲彉鎴愮孩鑹层€侟/p>

TSMaster鑷姩鍖栨ā鍧楃殑澶嶇敤鏂规硶

3.3 娴嬭瘯鍙戝姩鏈虹殑娓╁害

鎴戜滑瀹為檯甯屾湜娴嬭瘯鐨勬槸鍙戝姩鏈虹殑杞€燂紝涔熷氨鏄疎ngSpeed鍦?,000-5,000杞箣闂存椂鍙戝姩鏈虹殑娓╁害鏄惁杩樺湪0-50搴︾殑鑼冨洿涔嬪唴銆傞偅涔堣繖涓氨闇€瑕佺敤鍒板甫瑙﹀彂鐨勫垽鏂€侟/p>

鍥炲埌鑷姩鍖栨ā鍧楋紝灏嗙涓€涓垽鏂殑API鍑芥暟淇敼涓€涓嬶紝鏀规垚绗簩涓彨add check with trigger銆傝繖涓嚱鏁版湁10涓弬鏁帮紝鍓?涓弬鏁拌淇濈暀浜嗭紝鎴戜滑缁х画淇濇寔瀹冪殑鍊间笉闇€瑕佽皟鏁淬€備粠绗?涓弬鏁板紑濮嬶紝灏辨槸璺熻Е鍙戠殑杩欎釜淇″彿鏈夊叧銆侟/p>

TSMaster鑷姩鍖栨ā鍧楃殑澶嶇敤鏂规硶

鎴戜滑鐨勬剰鍥炬槸璁剧疆涓哄彂鍔ㄦ満鐨勮浆閫燂紝鎵€浠ュ湪杩欓噷trigger鐨勭被鍨嬩緷鐒舵槸涓€涓父閲忔槸涓€涓狢AN淇″彿绫诲瀷锛屽湪杩欓噷杈撳叆TYPE_CAN锛岃Е鍙戠殑鍚嶇О灏辨槸CAN淇″彿鐨勫悕绉般€侟/p>

鎴戜滑杩欓噷閫夋嫨EngSpeed锛屽悓鐞嗚繕鏄灏嗗墠缂€CAN鍘绘帀锛岃〃绀鸿繖鏄竴涓瓧绗︿覆鑰屼笉鏄竴涓€硷紝閭d箞鎺ヤ笅鏉ュ氨鏄痶rigger鐨勬渶灏忓拰鏈€澶у€笺€傛垜浠垰鎵嶈鐨勬槸3,000 鍜?,000杞€燂紝鐒跺悗鏈€鍚庢槸涓€涓狢heckId锛屽皢瀹冨叧鑱斿埌鎴戜滑鐨勬湰鍦板彉閲忛噷锛屾瘡璋冪敤涓€娆★紝娣诲姞鍒ゆ柇鐨勫嚱鏁板氨浼氬湪鎴戜滑鐨勬娴嬪紩鎿庨噷闈㈠鍔犱竴涓垽鏂ā鍧椼€侟/p>

TSMaster鑷姩鍖栨ā鍧楃殑澶嶇敤鏂规硶

鎴戜滑鏄彲浠ュ湪娴嬭瘯鐨勫紑濮嬪墠鎴栬€呯粨鏉熶箣鍚庢竻绌烘垜浠祴璇曞紩鎿庣殑鍒ゆ柇妯″潡锛屾瘮濡傝鍦ㄥ紑濮嬪墠鍙互閫夋嫨涓€涓嚱鏁拌皟鐢ㄤ緷鐒舵槸checker锛岀浉搴旂殑鍑芥暟鏈変釜鍙仛clear锛岃繖灏辨槸鎶婃墍鏈夌殑妫€娴嬪叏閮ㄦ竻鎺夛紝鐒跺悗鍙互鍐嶅鍔犳垜浠柊鐨勪竴涓娴嬨€傝繖涓椂鍊欐垜浠氨鎶婅繖涓俊鍙风浉鍏宠仈鐨勬娴嬬粰瀹炵幇锛屽氨鎰忓懗鐫€鍙湁褰撴娴嬫潯浠讹紝灏辨槸鎴戜滑鐨勫彂鍔ㄦ満鐨勮浆閫熸槸鍦?,000鍒?,000杞箣闂寸殑鏃跺€欐娴嬫墠浼氬紑鍚€侟/p>

3.4 寤堕暱鏃堕棿鑷?0绉扅/strong>

鎴戜滑鍙互灏嗚繖涓欢鏃舵椂闂村姞闀匡紝姣斿璇村姞鍒?0绉掓柟渚挎垜浠瀵燂紝杩欎釜鏃跺€欐垜浠彲浠ュ啀娆″惎鍔ㄤ竴涓嬬▼搴忥紝鍙互鐪嬪埌绋嬪簭鍦ㄨ繍琛屻€傝繖涓椂鍊欏彂鍔ㄦ満杞€熸槸0锛屾墍浠ヤ笉鍦ㄨ繖涓寖鍥翠箣鍐呫€傛垜浠彲浠ラ殢鎰忚缃甌emp锛屾瘮濡傝璁惧埌100锛岃繖涓椂鍊欓兘娌℃湁闂銆傛垜浠皢Speed鏀规垚4,000锛 杩欎釜鏃跺€欐娴嬪氨鎴愮珛浜嗐€侟/p>

TSMaster鑷姩鍖栨ā鍧楃殑澶嶇敤鏂规硶

濡傛灉鎴戜滑杩欎釜鏃跺€欒緭鍏ョ殑鍊艰秴杩?0锛屾垜浠皢鍙戝姩鏈鸿浆閫熻缃负4000锛岀劧鍚庤繖涓椂鍊欒繕鏄病鏈変换浣曢棶棰樼殑銆侟/p>

濡傛灉灏嗘俯搴﹁缃?6锛岃缃殑鐬棿鍙互鐪嬪埌妫€娴嬪氨澶辫触锛屽畠涓嶅湪0鍒?0鐨勮寖鍥翠箣鍐呫€傚湪绛夊緟30绉掍箣鍚庡彲浠ョ湅鍒版垜浠殑checker杩欎釜鍑芥暟鐨勮繑鍥炲€煎仛浜嗕竴涓垽瀹氾紝閭e氨鏄湪杩欎釜3,000鍒?,000杞箣鍐咃紝瀹冪殑娓╁害鍊煎苟涓嶆弧瓒?-50鐨勮寖鍥寸殑瑕佹眰锛屽疄闄呯殑鍊间篃閮芥墦鍗颁簡鍑烘潵銆侫PI鍑芥暟鐨勮繑鍥炲€间篃閮借繘琛屼簡鎵撳嵃銆侟/p>

About More

浠ヤ笂渚挎槸Signal checker绯诲垪鐨凙PI鐨勪娇鐢ㄦ柟娉曘€傛垜浠笅鏈熷啀瑙侊紒锛堝叿浣撹棰戞暀绋嬪彲浠ヨ鐪嬫垜浠珺绔欒棰戝摝锛堻/strong>

The post 鏂板姛鑳藉彂甯 | 鑷姩鍖栨ā鍧楀湪娴嬭瘯涓殑鍒ゅ畾鏂规硶 first appeared on 涓婃捣鍚屾槦鏅鸿兘绉戞妧鏈夐檺鍏徃.

]]>
/determination-of-automation-modules-in-testing/feed/ 0