This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'rahul' | |
""" | |
A TestRunner for use with the Python unit testing framework. It | |
generates a HTML report to show the result at a glance. | |
The simplest way to use this is to invoke its main method. E.g. | |
import unittest | |
import HTMLTestRunner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'rahul' | |
import unittest | |
from selenium import webdriver | |
class MyWikiTestCase(unittest.TestCase): | |
def setUp(self): | |
self.driver = webdriver.Firefox() | |
def test_Wiki(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'rahul' | |
import unittest | |
from selenium import webdriver | |
class MyGoogleTest(unittest.TestCase): | |
def setUp(self): | |
self.driver = webdriver.Firefox() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'rahul' | |
import unittest | |
import GoogleTest | |
import WikiTest | |
import os | |
import HTMLTestRunner | |
direct = os.getcwd() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'rahul' | |
import unittest | |
from selenium import webdriver | |
class MyChkbox(unittest.TestCase): | |
def setUp(self): | |
self.driver =webdriver.Firefox() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<module type="PYTHON_MODULE" version="4"> | |
<component name="NewModuleRootManager"> | |
<content url="file://$MODULE_DIR$" /> | |
<orderEntry type="jdk" jdkName="Python 3.4.0 (/usr/bin/python3.4)" jdkType="Python SDK" /> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
</component> | |
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
from selenium import webdriver | |
from pyvirtualdisplay import Display | |
display = Display(visible=0, size=(1024,768)) | |
display.start() | |
class StartVirtual(unittest.TestCase): | |
def setUp(self): | |
self.driver = webdriver.Firefox() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var webpack = require('webpack'); | |
module.exports = { | |
entry: [ | |
'script!jquery/dist/jquery.min.js', | |
'script!foundation-sites/dist/js/foundation.min.js', | |
'./app/app.jsx' | |
], | |
output: { | |
path: __dirname, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "countdown-timer", | |
"version": "0.0.1", | |
"description": "", | |
"main": "server.js", | |
"scripts": { | |
"build":"webpack --config webpack.config.js", | |
"start": "node server.js", | |
"test": "jest" | |
}, |
OlderNewer