ã¢ã«ãã¤ãå ã®ã²ã¨ããã¹ã好ããªã®ã§ãå½±é¿ããã¦ãWorking Effectively With Legacy Codeããèªãã§ãããè±èªã¯å¾æã§ã¯ãªãã®ã§ãã¡ããã¨èªãã¦ãããã¨ããã¨ããããã®ã ãã©ã Firefox ã®æ¡å¼µãåä½ãã¹ããæ¸ãã¤ã¤ä½ã£ã¦ããã®ãè¯ããã¨æã£ã¦ãmozrepl-test ã¨ããã®ãæ¸ãã¦ã¿ãã ã¤ãããã config.rb ãç°å¢ã«ãããã¦é©åã«ç·¨éããå¾ make ãã¦ãã§ãã mozrepl-test ã PATH ã®éã£ããã©ã«ãã«ç½®ãã¦ãã ããã ãããªãã¹ãã³ã¼ãã JSAN.use('Test.Simple'); plan({ tests: 4 }); ok(1 == 1); ok(2 != 2); ok(3 == 3); a.js ã¨ãã¦ä¿åã㦠MozRepl ãèµ·åããç¶æ 㧠% mozrepl-test a.js 1..4 ok
{{#tags}}- {{label}}
{{/tags}}