- Take one large Rails application with good Selenium test base
- Convert database configuration to use JDBC
- Start a selenium proxy with "jake test:selenium_proxy"
- Start acceptance testing from another window with "jake test:acceptance"
- In yet another window, write "jconsole"
- Choose your application
You get this for free, just by running JRuby with Java 6. You can attach to any Java process at all. Remotely too. And get this kind of information. Can your Ruby do that?
4 kommentarer:
Perfect, absolutely perfect.
I don't think my ruby does this. :(
PS. What's with the Swedish blog theme? :)
re: swedish - I think its localised to me, not you as Jay Fields' blog is now being surrounded by Blogger in swedish too :(
You can do this with Java 5 as well, in either case (5 or 6) though you need to start your java app with the "-Dcom.sun.management.jmxremote" command line argument, otherwise JConsole won't be able to connect to it.
Skicka en kommentar