Azure/azure-sdk-tools-xplat — pull request #1337 by amarzavery (2014-08-23 00:19:34+00:00)
Title: Updates to testLogger reporter

This change will log the final test status and errors if any to the log file in the following format:

```

'2 passing (47s)'
'9 pending'
'2 failing'

'1) arm group create should fail and move on'

'AssertionError: expected 0 to be 1'

'AssertionError: expected 0 to be 1\n at Assertion.prop.(anonymous function) (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\should\\lib\\should.js:61:14)\n at Context. (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\test\\commands\\arm\\group\\arm.group-tests.js:83:21)\n at Test.Runnable.run (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\mocha\\lib\\runnable.js:204:15)\n at Runner.runTest (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\mocha\\lib\\runner.js:378:10)\n at D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\mocha\\lib\\runner.js:456:12\n at next (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\mocha\\lib\\runner.js:303:14)\n at D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\mocha\\lib\\runner.js:313:7\n at next (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\mocha\\lib\\runner.js:251:23)\n at Object._onImmediate (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\mocha\\lib\\runner.js:280:5)\n at processImmediate [as _immediateCallback] (timers.js:330:15)'

'2) arm group create should create empty group'

'Uncaught AssertionError: expected 0 to be 1'

'AssertionError: expected 0 to be 1\n at Assertion.prop.(anonymous function) (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\should\\lib\\should.js:61:14)\n at D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\test\\commands\\arm\\group\\arm.group-tests.js:97:42\n at D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\test\\framework\\cli-test.js:212:7\n at D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\test\\framework\\cli-executor.js:64:16\n at D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\underscore\\underscore.js:683:19\n at process. (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\test\\framework\\cli-executor.js:77:7)\n at Function.invoke (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\sinon\\lib\\sinon\\spy.js:156:55)\n at process.proxy (eval at createProxy (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\sinon\\lib\\sinon\\spy.js:77:82), :1:35)\n at AzureCli._.extend.exit (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\cli.js:146:13)\n at callback (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\cli.js:262:18)\n at __$__5 (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\commands\\arm\\group\\group._js:211:93)\n at __$__5 (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\commands\\arm\\group\\group._js:193:221)\n at __$__5 (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\commands\\arm\\group\\group._js:193:237)\n at __tryCatch (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\streamline\\lib\\callbacks\\runtime.js:141:4)\n at ___ (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\commands\\arm\\group\\group._js:174:177)\n at ___ (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\commands\\arm\\group\\group._js:174:110)\n at __tryCatch (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\streamline\\lib\\callbacks\\runtime.js:141:4)\n at ___ (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\commands\\arm\\group\\group._js:174:65)\n at __$__5 (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\commands\\arm\\group\\group._js:174:31)\n at __tryCatch (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\streamline\\lib\\callbacks\\runtime.js:141:4)\n at ___ (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\commands\\arm\\group\\group._js:172:242)\n at ___ (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\commands\\arm\\group\\group._js:174:47)\n at ___ (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\commands\\arm\\group\\group._js:172:146)\n at ___ (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\streamline\\lib\\callbacks\\runtime.js:85:13)\n at D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\azure-mgmt-resource\\lib\\resourceManagementClient.js:3246:14\n at handleRedirect (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\util\\utils.js:143:9)\n at D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\lib\\util\\logging.js:244:7\n at handleRedirect (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\azure-common\\lib\\services\\filters\\redirectfilter.js:36:9)\n at D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\azure-common\\lib\\services\\filters\\errorhandlingfilter.js:49:7\n at Request._callback (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\azure-common\\lib\\http\\request-pipeline.js:109:14)\n at Request.self.callback (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\request\\request.js:129:22)\n at Request.EventEmitter.emit (events.js:98:17)\n at Request. (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\request\\request.js:873:14)\n at Request.EventEmitter.emit (events.js:117:20)\n at IncomingMessage. (D:\\test\\xplat\\amar_fork\\azure-sdk-tools-xplat\\node_modules\\request\\request.js:824:12)\n at IncomingMessage.EventEmitter.emit (events.js:117:20)\n at _stream_readable.js:920:16\n at process._tickCallback (node.js:415:13)'
```