Added a basic testing structure
This commit is contained in:
parent
d4a0ffdff3
commit
7a8c0fe6ad
15
.travis.yml
Normal file
15
.travis.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Config file for automatic testing at travis-ci.org
|
||||||
|
|
||||||
|
language: python
|
||||||
|
python: 2.7
|
||||||
|
|
||||||
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
||||||
|
install:
|
||||||
|
- pip install flake8 Scrapy docopt
|
||||||
|
|
||||||
|
# command to run tests, e.g. python setup.py test
|
||||||
|
script:
|
||||||
|
- nosetests tests
|
||||||
|
- make lint
|
||||||
|
|
||||||
|
after_success: coveralls
|
1
tests/__init__.py
Normal file
1
tests/__init__.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
__author__ = 'jdekker'
|
5
tests/test_sourceloader.py
Normal file
5
tests/test_sourceloader.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import unittest
|
||||||
|
|
||||||
|
|
||||||
|
class TestSourceloader(unittest.TestCase):
|
||||||
|
pass
|
Reference in New Issue
Block a user