Exemplo n.º 1
0
def runUnitTests():
    from ngSkinTools.debug import reloader
    reload(reloader)
    reloader.unload()
    
    from ngSkinTools import log as logModule
    logModule.LoggerFactory = logModule.SimpleLoggerFactory()
    
    logger = logModule.LoggerFactory.getLogger("VersionChecker")
    
    logger.info("starting tests...")
    from ngSkinToolsTest.runInMaya import runTests
    runTests()
    logger.info("done")
Exemplo n.º 2
0
def runUnitTests():
    from ngSkinTools.debug import reloader
    reload(reloader)
    reloader.unload()

    from ngSkinTools import log as logModule
    logModule.LoggerFactory = logModule.SimpleLoggerFactory()

    logger = logModule.LoggerFactory.getLogger("VersionChecker")

    logger.info("starting tests...")
    from ngSkinToolsTest.runInMaya import runTests
    runTests()
    logger.info("done")
Exemplo n.º 3
0
def runAllTests():
    '''
    .. code-block:: python

        from ngSkinToolsTest import debugToolbarButtons
        reload(debugToolbarButtons)
        debugToolbarButtons.runAllTests()    
        
    '''
    
    from ngSkinTools.debug import reloader
    reload(reloader)
    reloader.unload()
    
    from ngSkinTools import log as logModule
    logModule.LoggerFactory = logModule.SimpleLoggerFactory()
    
    logger = logModule.LoggerFactory.getLogger("VersionChecker")
    
    logger.info("starting tests...")
    from ngSkinToolsTest.runInMaya import runAllTests
    runAllTests()
    logger.info("done")    
Exemplo n.º 4
0
def runAllTests():
    '''
    .. code-block:: python

        from ngSkinToolsTest import debugToolbarButtons
        reload(debugToolbarButtons)
        debugToolbarButtons.runAllTests()    
        
    '''

    from ngSkinTools.debug import reloader
    reload(reloader)
    reloader.unload()

    from ngSkinTools import log as logModule
    logModule.LoggerFactory = logModule.SimpleLoggerFactory()

    logger = logModule.LoggerFactory.getLogger("VersionChecker")

    logger.info("starting tests...")
    from ngSkinToolsTest.runInMaya import runAllTests
    runAllTests()
    logger.info("done")