django-runtests

ภาพหน้าจอของซอฟแวร์:
django-runtests
รายละเอียดซอฟแวร์:
รุ่น: 0.4.0
วันที่อัพโหลด: 20 Feb 15
ผู้พัฒนา: Raphael Barrois
การอนุญาต: ฟรี
ความนิยม: 3

Rating: nan/5 (Total Votes: 0)

Django-runtests เป็น app Django ที่ eases การเขียนสคริปต์ runtests.py สำหรับการประยุกต์ใช้ Django pluggable
สคริปต์ดังกล่าวมักจะให้ runtests () วิธีการที่จัดการทดสอบพฤติกรรมการทำงาน
การติดตั้ง
& nbsp; ทั่วโลก:
& nbsp; จุดติดตั้ง Django-runtests
& nbsp; จากไฟล์ setup.py แพคเกจ (ใช้กระจาย):
& nbsp; การติดตั้ง (
& nbsp; test_requires = [
& nbsp; 'Django-runtests',
& nbsp;]
& nbsp; 'runtests.runtests' test_suite =
& nbsp;)
การกำหนดติดตั้งทดสอบ
ในแฟ้ม runtests.py ของคุณเพิ่มรหัสต่อไปนี้:
นำเข้า django_runtests
การทดสอบชั้น (django_runtests.RunTests):
& nbsp; TESTED_APPS = ['my.app.to.test', 'my.other.test']
& nbsp; EXTRA_APPS = [
& nbsp; 'django.contrib.auth',
& nbsp; # ปพลิเคชันที่กำหนดเองอื่น ๆ ที่จะรวม
& nbsp;]
& nbsp; EXTRA_SETTINGS = {
& nbsp; # การตั้งค่าที่กำหนดเองเป็น Dict
& nbsp;}
def runtests ():
& nbsp; กลับ Tests.runtests ()
ถ้า __name__ == '__main__'
& nbsp; Tests.main ()

ต้องการ

  • หลาม
  • Django

ซอฟแวร์อื่น ๆ ของนักพัฒนา Raphael Barrois

palm2vcal
palm2vcal

14 Apr 15

django-xworkflows
django-xworkflows

20 Feb 15

UConf
UConf

13 May 15

mpdlcd
mpdlcd

15 Apr 15

ความคิดเห็นที่ django-runtests

ความคิดเห็นที่ไม่พบ
เพิ่มความคิดเห็น
เปิดภาพ!