|
·ÖÀർº½ |
 |
|
|
|
»ùÓÚÔªÊý¾ÝµÄ¹¹¼þ¼¯³É²âÊÔ¼¼ÊõÑо¿ |
|
×ÊÔ´´óС£º658.25 KB |
×ÊÔ´ÀàÐÍ£ºÎĵµ |
ÏÂÔØ»ý·Ö£º 0 |
|
|
|
×ÊÔ´½éÉÜ |
|
ÓÉÓÚ»ùÓÚ¹¹¼þµÄÈí¼þ¿ª·¢¼¼ÊõʹµÃ´óÁ¿½á¹¹ÏàËÆµÄÓ¦ÓóÌÐò¿ÉÖØÓã¬Ëõ¶ÌÁËÈí¼þ
¿ª·¢ÖÜÆÚ¡¢¼õÉÙÁËÈí¼þ¿ª·¢³É±¾£¬Òò¶ø³ÉΪµ±Ç°Èí¼þ¿ª·¢µÄÖ÷Á÷¼¼Êõ£¬Óë´Ëͬʱ£¬Ïà
¹ØµÄÖÊÁ¿±£Ö¤¼¼ÊõÑо¿³ÉÎªÖØÒªµÄÑо¿ÄÚÈÝ£¬ÆäÖй¹¼þ²âÊÔ×÷Ϊ×îÓÐЧ¡¢×îÖ±½ÓµÄÖÊ
Á¿±£Ö¤¼¼ÊõÊֶγÉΪ½üÄêÀ´Èí¼þ¹¤³ÌÁìÓòµÄÑо¿Èȵ㡣µ«ÊÇ£¬ÓÉÓÚ¹¹¼þµÄÒì¹¹ÐÔÒÔ¼°
¹¹¼þ¿ª·¢·½ºÍ¹¹¼þʹÓ÷½Ö®¼äÐÅÏ¢µÄȱ·¦Ê¹µÃ¹¹¼þÔÚ¼¯³Éµ½¾ßÌåÓ¦Óû·¾³Ê±ÎÞ·¨Êµ
Ê©È«Ãæ¡¢¸ßЧµÄ¼¯³É²âÊÔ£¬ÕâÑù¹¹¼þϵͳµÄ¿É¿¿ÐÔ¡¢°²È«ÐÔ¾ÍÎÞ·¨±£Ö¤¡£
Õë¶ÔÉÏÊöÎÊÌ⣬¶Ô»ùÓÚÔªÊý¾ÝµÄ¹¹¼þ²âÊÔËùÉæ¼°µÄÏà¹ØÀíÂÛ¡¢Ä£Ðͼ°ÆäÓ¦ÓÃÕ¹¿ª
ÁËÑо¿£¬Ö¼ÔÚ¼ÓÇ¿¹¹¼þ¿ª·¢·½ºÍ¹¹¼þʹÓ÷½ÐÅÏ¢½»Á÷£¬Ìá¸ß¹¹¼þ¿É²âÊÔÐÔ£¬ÆäÖ÷Ҫ;
¾¶ÊÇͨ¹ýÓɹ¹¼þ¿ª·¢·½ÌṩÃèÊö¹¹¼þÓйؾ²Ì¬ºÍ¶¯Ì¬ÐÅÏ¢µÄÔªÊý¾Ý£¬Ê¹µÃ¹¹¼þʹÓ÷½
ËùʵʩµÄ¼¯³É²âÊÔ²»ÔÙÊÇ´¿´âµÄºÚºÐ²âÊÔ£¬¶øÊÇÒ»¶¨³Ì¶ÈÉϵİ׺вâÊÔ¡£
¸ù¾Ý¹¹¼þÓ¦ÓõÄÌØµãÒÔ¼°¹¹¼þÔªÊý¾ÝµÄÒ»°ã¹¦ÄܺÍÐèÇó£¬ÒýÈë·Ö²ãÔªÊý¾ÝµÄ¸Å
Ä½«Æä·ÖΪÃèÊöÐÔÔªÊý¾ÝºÍ²Ù×÷ÐÔÔªÊý¾Ý£¬ÆäÖÐÃèÊöÐÔÔªÊý¾Ý°´ÕÕ±êʶ¡¢Ó¦ÓᢳÉ
ÊìÐÔ¡¢±ä¸üºÍÖÊÁ¿±£Ö¤Îå¸ö²ã´Î½øÐл®·Ö£¬²Ù×÷ÐÔÔªÊý¾ÝÔòÒª¸ù¾Ý¹¹¼þËùÍê³ÉµÄÏà¹Ø
²Ù×÷»òÈÎÎñÀ´È·¶¨£¬Ò»°ãÀ´Ëµ£¬·ÖΪÊäÈë/Êä³ö¡¢ÔËÐÐϵͳÐèÇó¡¢Ô¶³Ì²Ù×÷Èý¸ö²ã´Î£¬
½«ÕâÁ½ÖÖÔªÊý¾Ý·â×°ÔÚÒ»Æð£¬¹¹³ÉÒ»¸öÔªÊý¾Ý¶ÔÏ󣬾ßÌåʹÓÃʱ¶Ô¸Ã¶ÔÏó½øÐвÙ×÷£¬
Ö±½Ó½øÐÐÓ¦Óã»Ó¦ÓÃÉÏÊö¶¨Ò壬ÃèÊö·Ö²ãÔªÊý¾ÝµÄ²Î¿¼Ä£Ðͼ°ÆäUML±íʾ£¬²¢½øÒ»
²½¹¹Ôì·Ö²ãÔªÊý¾ÝϵͳµÄ²ã´Î½á¹¹ºÍÒ»°ãÐÔ¿ò¼Ü£»ÔÚ´Ë»ù´¡ÉÏ£¬½«·Ö²ãÔªÊý¾ÝÓ¦Óõ½
¹¹¼þ²âÊÔÓÃÀýÉú³ÉÖУ¬¸ù¾Ý·Ö²ãÔªÊý¾ÝµÄ¾ßÌåÄÚÈÝ£¬ÓÃUMLÓÃÀýºÍ³¡¾°À´¿Ì»®²âÊÔ
¹¦ÄÜÐèÇó£¬Ê¹ÓÃÏàÓ¦µÄÓ³Éä·½·¨½«ÆäÓ³Éä³ÉÐÎʽ»¯µÄ²âÊÔÓÃÀýԪģÐÍ£¬½ø¶ø¹¹³ÉǶÈë
ÔªÊý¾ÝµÄ²âÊÔԪģÐÍ£¬ÊµÊ©¼¯³É²âÊÔ¡£
¿É½«·Ö²ãÔªÊý¾ÝÓ¦ÓÃÔڻعé²âÊÔÖУ¬Í¨¹ý¶Ô¹¹¼þµÄ±ä¸ü½øÐзÖÎö¡¢·ÖÀ࣬¹¹Ôì·Ö
²ãÔªÊý¾ÝÖÐÃèÊö±ä¸üµÄ±ä¸üÄ£ÐÍ£¬Ê¹Óñä¸ü-½Ó¿ÚÓ³Éäͼ¡¢·½·¨ÒÀÀµÍ¼¡¢·Ö²ãÃèÊöÐÔ
ÔªÊý¾ÝµÄ½Ó¿ÚÄ£ÐÍÒÔ¼°ÏàÓ¦µÄËã·¨À´ÊµÏÖ¹¹¼þÄÚ·½·¨±ä¸üµ½¹¹¼þ½Ó¿Ú±ä¸üµÄÓ³É䣬ʹ
µÃ¹¹¼þʹÓ÷½Ö»¶Ô·¢Éú±ä¸üËùÓ°ÏìµÄ²âÊÔÓÃÀýʵʩ»Ø¹é²âÊÔ£¬»Ø¹é²âÊÔÓÃÀýÊý¼õÉÙµ½
×îС£¬»Ø¹é²âÊÔʱ¼äÃ÷ÏÔËõ¶Ì¡£
·Ö²ãÃèÊöÐÔÔªÊý¾ÝÖеķÖÎöÄ£ÐÍ»ùÓÚ¹¹¼þÄÚ±äÁ¿ºÍ·½·¨Ö®¼äµÄñîºÏÐÅÏ¢À´¹¹Ô죬¸ù¾ÝÐÎʽ»¯µÄ¹¹¼þñîºÏ²âÊÔ×¼ÔòÃèÊö£¬Ê¹Óù¹¼þ·½·¨ñîºÏͼµÄ¸ÅÄîÃèÊö¹¹¼þÖз½
·¨Ö®¼äµÄñîºÏ¹ØÏµ£¬½ø¶ø¹¹Ôì°üº¬¹¹¼þÄÚ¶¨ÒåºÍʹÓÃÐÅÏ¢µÄDU±í£¬²¢ÒýÈëÖ¼ÔÚÌá¸ß
¹¹¼þ¿É¹Û²ìÐԵĻùÓÚ¹Û²ìµãµÄ¼à¿Ø»úÖÆ£¬¹¹ÔìÒ»¸ö»ùÓÚ¹¹¼þñîºÏÐÅÏ¢µÄ¿É²âÊÔ¹¹¼þµÄ
×ÜÌåʵÏÖ¿ò¼Ü¡£Ó¦Óøÿò¼Ü¿ÉÒԽϺõط¢ÏÖ¹¹¼þÖеÄÒì³£¡£
·Ö²ãÔªÊý¾ÝϵͳÖй¹¼þÖ®¼äÒÀÀµ¹ØÏµµÄÃèÊö¿ÉÓù¹¼þÒÀÀµ¹ØÏµ¾ØÕóµÄÐÎʽÀ´±í
ʾ£¬¶Ô¹¹¼þÖ®¼äµÄÒÀÀµ¹ØÏµ½øÐÐÁË·ÖÎö£¬ÆäÖаüº¬Á˰ËÖÖ¹¹¼þÒÀÀµ¹ØÏµ£¬¿ÉÒÔÓù¹¼þ
ÒÀÀµÍ¼µÄÐÎʽÀ´¹¹Ôì¹¹¼þÒÀÀµÄ£ÐÍ£¬²¢Óù¹¼þÒÀÀµ¹ØÏµ¾ØÕóCmDMºÍ¸´ÔÓÒÀÀµ¹ØÏµ
¾ØÕóCmDDMÀ´ÃèÊö¹¹¼þCmÓë¹¹¼þϵͳÖÐÆäËü¹¹¼þÖ®¼äµÄÒÀÀµ¹ØÏµ£¬¿ÉʹÓûùÓÚÔ´
´úÂëºÍ¹æ·¶ËµÃ÷µÄ¹¹¼þÒÀÀµ¹ØÏµÈ·ÈÏ·½·¨À´Ã÷È·ÕâЩÒÀÀµ¹ØÏµ£¬¹¹¼þÒÀÀµ¹ØÏµµÄÈ·¶¨
¿É°ïÖú¹¹¼þʹÓ÷½¸üÃ÷È·µØÊµÊ©¼¯³É²âÊÔ£¬¶øÇÒµ±¹¹¼þ·¢Éú±ä¸üʱ¿ÉÓù¹¼þÒÀÀµ¾ØÕó
À´È·¶¨»Ø¹é²âÊÔÓÃÀý¼¯ºÏ£¬ÁíÍâµ±¹¹¼þÖØÓÃʱҲ¿ÉÓ¦Óù¹¼þÒÀÀµ¾ØÕóÀ´È·¶¨Óë¸Ã¹¹¼þ
ÓйصĹ¹¼þ¼¯ºÏ£¬Òò´Ë£¬Ê¹Óù¹¼þÒÀÀµ¹ØÏµ¾ØÕó¿ÉÌá¸ß¹¹¼þ¼¯³É²âÊÔЧÂÊ¡£
¹Ø¼ü´Ê£º¹¹¼þ,»ùÓÚ¹¹¼þµÄÈí¼þ²âÊÔ,¹¹¼þÔªÊý¾Ý,ñîºÏ²âÊÔ,¹¹¼þÒÀÀµ¹ØÏµAbstract
Because component-based software development technique make a lot of applications
with similar architecture reuse,and shorten development cycle,decrease software
development cost,thus it has become main development technique now.At the same time,
relevant research of quality guarantee technique has yet become an important research
aspect.In those,Component-based software testing,as one of the most directly and
effectively quality quaranttee means,has become a research hot point in software
engineering field.But it makes component-based software integration testing diffcult to
implement fully and effectively when component is integrated into actual application
environment,because of the heterogeneity of cpmponent and lack of information between
component developers and component users.So the reliability and safety of
component-based software system are not ensured.
Addressed to above problems,relevant theory,model and application about
component-based software testing based on metadata is developed,which aims to extend
mutual information between component developers and component users,and increase
component testability.The main way is that metadata describing static and dynamic
information about component is provided by component developers to component users.
This may make integration testing implemented by component users not a complete
black-box testing,but a white-box testing to a certain extent.
According to the features of component applied,the general functionalities and
requirements of component metadata,grouped-metadata is introduced,which is divided
into descriptive metadata and operational metadata.Descriptive metadata describes the
static attributes of components,including five groups including identification,use,
maturity,changes and quality assurance.Operational metadata is identified according to
relevant operations and tasks accomplished.In general,it may be divided into three groups
including input/output,run-time requirements,and remote operation.These two
metadatum are encapsulated together to construct a metadata object.When it is
implemented integration operation,it may be directly applied.According to above
definitions,a reference model of grouped-metadata and its UML representation isconstructed.And further construct an aritecture and a general framework of
grouped-metadta system.Based on these,grouped-metadata reference model is applied to
test cases generation.UML use cases and scenarios are applied to describe the functional
requirements according to the detail of grouped-metadata.And relevant mapping method is
used to map informal use cases to formal test cases meta-model.Then a test meta-model
embedded in grouped-metadata to implement integration testing is constructed. |
|
ÏÂÔØµØÖ· |
|
|
|
|
|