Jagira
Jagira

Reputation: 1368

Building a Rails app from scratch - What should be the ideal workflow?

I am going to develop a Rails app pretty soon. Currently I have nothing but an idea + few wireframes. I would like to know how shall I proceed?

At what stage should I implement/write the following

What gems/plugins do you use? [ For common tasks ]

Upvotes: 3

Views: 107

Answers (1)

davidcelis
davidcelis

Reputation: 3347

If you're going to be using Cucumber, you should:

  1. Write the cucumber features
  2. Run them and make sure they fail accordingly
  3. Write just enough code to make those features pass.

From my understanding, the Cucumber framework isn't really meant to test existing code, but is more a part of the development process. So I suppose the overall workflow should probably be something like:

  1. Cucumber stuff
  2. Write some code
  3. Functional tests (such as RSpec, as you mentioned)
  4. Repeat as needed
  5. Code touch-ups, refactors

Edit: As for gems/plugins, it really depends on what your app is going to be doing.

Upvotes: 1

Related Questions