rspec spec/

If you want to learn ROR,maybe you will start with Michael Hartl's book named Ruby on rails tutorial. spa

So you may need to learn how to use TDD(Test Drive Development),and you will use a gem named rspec to test your project when you are developing.Below is my advice: code

- If you run the command:rspec spec/ and the you caught some failure it

It means the test failure,you should change the code to let the test go access test

- If you run the command and the command break command

It means there are some grammar error in your code,you should check the code to fix the error. error


6/27/2013 tutorial

Blues ping

相關文章
相關標籤/搜索