Tdue21 / markdownsharp

Automatically exported from code.google.com/p/markdownsharp
0 stars 0 forks source link

Running tests in MonoDevelop under MacOS #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Patch for BaseTest.cs to make tests run in MonoDevelop under MacOS.  This
required switching the slash direction in the filename and using a relative
path to the MarkdownSharpTests directory.

I am *brand new* to C#, so it took me a while to get MonoDevelop setup and
figure out how to get the test running; I figure this simple patch may
assist others.

Original issue reported on code.google.com by drewgstephens on 31 Dec 2009 at 12:05

GoogleCodeExporter commented 9 years ago
After playing around some more and reading docs, here's a more comprehensive 
patch
for running test via MonoDevelop or command line on MacOS.

Original comment by drewgstephens on 31 Dec 2009 at 1:06

Attachments:

GoogleCodeExporter commented 9 years ago
Oops, totally my bad.

Check r57 and see if that works better -- I switched to using Path.* class calls
instead of manually manipulating path strings

Original comment by wump...@gmail.com on 31 Dec 2009 at 2:49

GoogleCodeExporter commented 9 years ago
Sounds good.  There are a couple of places in MDTestTests that still use literal
backslashes.

Patch can be applied to the MarkdownSharpTests project.

Original comment by drewgstephens on 31 Dec 2009 at 4:08

Attachments:

GoogleCodeExporter commented 9 years ago
I switched to Path.* calls there as well.. thanks for your help in testing on 
OSX ..
marking this Fixed!

Original comment by wump...@gmail.com on 31 Dec 2009 at 7:45