Reducing Error in Software by Making Software Testable
- سال انتشار: 1391
- محل انتشار: همایش ملی علوم و مهندسی کامپیوتر
- کد COI اختصاصی: NCCSE01_165
- زبان مقاله: انگلیسی
- تعداد مشاهده: 1064
نویسندگان
Islamic Azad University, Sari Branch, Technical Faculty, Computer Engineering
Islamic Azad University, Sari Branch, Technical Faculty, Computer Engineering
Islamic Azad University, Sari Branch, Technical Faculty, Computer Engineering
چکیده
This paper is an attempt to introduce automated testing as a way for reducing software error, and then mention the structure and design which software should possess in order to makes it testable.Considering the fact that the softwares are usually designed so that they do not have the necessary properties for software testability, we mention three important principles that by exerting them on software design structure and coding, software is made testable. This is indicated with a simple and applied example.Finally, we deal with an important aspect of automated testing, that is, Automated testing of classes dependent on other classes. Automated testing of dependent tests without having necessary classes is among important aspects in Automated testing which have value and advantage of parallel implementation process in software development. Important principle of dependency injection is well-used. Automated testing of a class dependent on other classes without using the necessary required real class and by using mock objects will be described through a simple and expressive example.کلیدواژه ها
Automated Testing,Unit Test, Loos Coupling, Dependency Inversion, Dependency Injection, Mock Objectsمقالات مرتبط جدید
- سودآوری مشتریان در خردهفروشی قطعات یدکی ماشین آلات راهسازی با رویکرد یادگیری ماشین
- ارائه روشی کارآمد جهت شناسایی کودکان نیازمند به پیوند مغز استخوان با استفاده از ترکیب طبقه بند ماشین بردار پشتیبان و الگوریتم بهینه سازی فاخته
- استخراج بهینه پارامترهای تاثیر گذار الگوریتم بهینه سازی بوفالوی آفریقایی با هدف استخراج ویژگی های مهم به منظور افزایش کارایی طبقه بندی داده ها
- ارائه روشی کارآمد برای بهبود عملکرد الگوریتم بهینه سازی کلاغ سیاه به منظور افزایش صحت خوشه بندی داده ها
- استفاده از الگوریتم باور بیزین در لایه کاملا متصل شبکه عصبی کانولوشن با هدف افزایش دقت تشخیص تصاویر
اطلاعات بیشتر در مورد COI
COI مخفف عبارت CIVILICA Object Identifier به معنی شناسه سیویلیکا برای اسناد است. COI کدی است که مطابق محل انتشار، به مقالات کنفرانسها و ژورنالهای داخل کشور به هنگام نمایه سازی بر روی پایگاه استنادی سیویلیکا اختصاص می یابد.
کد COI به مفهوم کد ملی اسناد نمایه شده در سیویلیکا است و کدی یکتا و ثابت است و به همین دلیل همواره قابلیت استناد و پیگیری دارد.