witten
/
luminotes
Archived
1
0
Fork 0
This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
luminotes/static/js/test/run_tests.py

22 lines
440 B
Python
Executable File

#!/usr/bin/python
import subprocess
import os.path
browsers = [
"firefox",
"ie6",
]
def main():
test_page = "http://localhost:8081/static/js/test/Test_Luminotes.html"
test_runner = "http://localhost:8081/static/jsunit/testRunner.html?testpage=%s&autorun=true" % test_page
# launch tests in each supported browser
for browser in browsers:
subprocess.call( [ browser, test_runner ] )
if __name__ == "__main__":
main()