python-specfor.

إطار عمل لتطوير السلوك (BDD) بناء على Unittest STDLIB
التحميل الان

python-specfor. الترتيب والملخص

الإعلانات

  • Rating:
  • رخصة:
  • LGPL
  • اسم الناشر:
  • bellbind
  • موقع ويب الناشر:
  • http://github.com/bellbind/

python-specfor. العلامات


python-specfor. وصف

إطار لتطوير السلوك (BDD) بناء على Unittest ل Stdlib Python Specfor مستوحى من Ruby's Rspec. يعتمد تعريف المواصفات على Python Decorator Descriptor.Spec مثال # Spec_sum.pyfrom Specfor استيراد، SpeceDy_List = SPEC.OF ("قائمة فارغة") Int_list = spec.of ("int int") @ byllist.befare () لها): its.list = [] its.sum = 0@int_list.before () تحضير (ITS): ITS.List = its.sum = 28@plety_list.that ("مجموع") @ int_list.that ("sum") def sum_spec (لها): النتيجة = مجموع (its.list)؛ .should == its its.sumspec.publish (Globals ())


python-specfor. برامج ذات صلة

railgun.

CTTYPES Utilities لبرمجة محاكاة أسرع وأسهل في C و Python ...

130

تحميل