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")
Example #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")
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")    
Example #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")