Inline...
On Sun, May 13, 2012 at 8:34 PM, Tony <
ton...@gmail.com> wrote:
> For now I am avoiding storing yet another password (for launchpad)
> and, of all source control systems, Mercurial is the one I never developed
> a friendly relationship with. Thus I post here:
AFAIK, no password is needed to enter a bug. And you certainly don't
need to deal with the SCM.
> a) "No comments are better than wrong comments department". Example of
> comments in Program.cs
> // Debug output works on all platforms.
> //
> // new DebugUI().Execute( args );
> This thing does not exist, neither does ConsoleUI. Which alternate Universe
> do these classes inhabit?
Right... recent change, not reflected in comments.
> b) "Give me only what I really need department". NUget adds nunitlite.dll,
> nunitlite.testdata.dll and nunitlite.tests.exe references to my console app
> runner
> What are the last two doing in my app?
Good point... should be a bug
> c) "Why is Windows file system so tough department":So I want results in
> Temp folder and have this as command line argument:
> -result:C:\Users\MyUserId\AppData\Local\Temp
That's not a file path, it's just a directory.
> This produces the following stack:
> 1 Tests : 0 Failures, 0 Errors, 0 Not Run
> System.UnauthorizedAccessException: Access to the path 'C:\Users\
> MyUserId\AppData\Local\Temp'
> is denied.
> at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
> at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
> access, Int32 right
> s, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions
> options, SECURITY_ATT
> RIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath,
> Boolean checkHo
> st)
> at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
> access, FileShare
> share)
> at System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding)
> at NUnitLite.Runner.TextUI.RunTests()
> at NUnitLite.Runner.TextUI.Execute(String[] args)
>
> "Ok, let me add the terminating backslash department": Command line
> argument -result:C:\Users\MyUserIdAppData\Local\Temp\
> produces:
It's still just a directory.
> 1 Tests : 0 Failures, 0 Errors, 0 Not Run
> System.IO.DirectoryNotFoundException: Could not find a part of the path
> 'C:\Users\MyUserId\Ap
> pData\Local\Temp\'.
> at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
> at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
> access, Int32 right
> s, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions
> options, SECURITY_ATT
> RIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath,
> Boolean checkHo
> st)
> at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
> access, FileShare
> share)
> at System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding)
> at NUnitLite.Runner.TextUI.RunTests()
> at NUnitLite.Runner.TextUI.Execute(String[] args)
>
> I am administrator on my box and Temp directory above certainly exists and
> is writable.
> Using other valid paths makes no difference.
>
Partial output from running with the -help option:
-result:PATH Path to a file to which the xml test
result is written
Charlie
>
> --
> You received this message because you are subscribed to the Google Groups
> "NUnitLite" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/nunitlite/-/8degJ-CwJF4J.
> To post to this group, send email to
nuni...@googlegroups.com.
> To unsubscribe from this group, send email to
>
nunitlite+...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/nunitlite?hl=en.