~oubiwann/pylisp-ng/ast-lisp

« back to all changes in this revision

Viewing changes to test/test_all.py

  • Committer: Duncan McGreggor
  • Date: 2008-11-11 17:09:09 UTC
  • Revision ID: duncan@canonical.com-20081111170909-5bjw2pugjsaybhj1
* Added cust dist util subpackage.
* Cleaned up admin scripts.
* Added initial content to setup.py.
* Added initial content to README.
* Added README to the test runner.
* Updated TODO.
* Added a bin script for running a lisp interpreter.
* Split PRELUDE and HISTORY out of README.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
import os
3
3
from unittest import TestSuite
4
4
from unittest import TextTestRunner
 
5
from doctest import DocFileSuite
5
6
 
6
7
from utils import findTests, importModule, buildUnittestSuites
7
8
 
8
9
from test_doctests import suite as doctestSuite
9
10
 
 
11
 
10
12
searchDirs = ['pylispng', 'test']
11
13
skipFiles = ['test_doctests.py', 'test_all.py']
12
14
 
13
15
suites = buildUnittestSuites(paths=searchDirs, skip=skipFiles)
14
16
suites.append(doctestSuite)
 
17
suites.append(DocFileSuite('../README'))
 
18
 
15
19
 
16
20
if __name__ == '__main__':
17
21
    runner = TextTestRunner(verbosity=2)