Hello Xy,

Do you see the output when you run your tests from MonoDevelop
(Application Output) ?

Are you using Touch.Unit runner ? If so you might want to check [1] as
there are more advanced options to automate the tests, including how
to rediect the output, available to you.

Regards,
Sebastien

[1] http://spouliot.wordpress.com/2012/04/02/touch-unit-automation-revisited/


On Wed, Dec 19, 2012 at 1:12 AM, Xy <[email protected]> wrote:
> We are trying to run our unit tests from the command line as part of a build
> process:
>
> /Developer/MonoTouch/usr/bin/mtouch -launchsim UnifiedTests.app
> --stdout=output --stderr=error
>
> This successfully runs the app in the simulator, but it does not appear to
> be writing to a file called output, or error.  We have also tried running
> the above command under sudo.  This is despite the fact that the app is
> performing many Console.WriteLine operations.
>
> Do you know why this might not be writing the output?  We are using the
> latest versino of MonoTouch on Mac OS X 8.2.  in addition, when --stdout and
> --stderr are omitted, nothing is printed to the command line.
>
>
>
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/mtouch-stdout-not-writing-to-file-how-to-capture-output-tp4657872.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to