I didn’t think it would be this easy, but it’s working. I can now run a basic WatiN test on mac os x using mono.
The code is here http://code.google.com/p/mcwatin/. All credit to the WatiN guys, all I did was remove stuff ![]()
Here’s what you need to get this running
Mono 2.4 and MonoDevelop preview for mac os x from here
The source code from http://code.google.com/p/mcwatin/
Firefox 3 with JSSH installed.
start firefox up with the following command line
/Applications/Firefox.app/Contents/MacOS/firefox -jssh
Then run the test. It will work but fail as exceptions are being thrown in the dispose method.
1. Get a subset of WatiN to compile with no PInvokes done
2. Get McWatiN to successfully start firefox. done
3. get McWatiN to run a basic test. done
4. Replace all the windows and IE stuff that was removed with code from Watir.

