-
Models
- RSpec specs : update
spec/models/model_name_spec.rbfile - Factories specs : update
spec/factories_spec/factories_spec.rbfile - Factories : update
spec/factories/factories.rbfile - Sample data script : update
lib/tasks/development/sample_data.rakefile - RDoc : update
app/models/model_name.rbfile comments - Migration passing in development environment : run
rake:db:migrate - Migration passing in test environment : run
rake db:test:prepare - Database population passing : run
rake db:populate - Locales : update
config/locales/model_name/fr.yml&config/locales/model_name/en.ymlfiles
- RSpec specs : update
-
Controllers
- RSpec specs : update
spec/controllers/controler_name_controller_spec.rbfile - Routes : update
config/routes.rbfile. Do not add unneccesary routes. - Cucumber path : update
features/support/path.rbfile - RDoc : update
app/controllers/controller_name.rbfile comments - Page title : add
@page_titlevariable to controller responding to HTTP GET requests - Canonical URL : add
@canonical_urlvariable to controller responding to HTTP GET requests - Sitemap : update
config/sitemap.rbfile (only for HTTP GET requests)
- RSpec specs : update
-
Mailers
- Specs : update
spec/mailers/mailer_name_mailer_spec.rbfile - RDoc : update
app/mailers/mailer_name_mailer.rbfile comments - Locales : update
config/locales/mailer_name_mailer/fr.yml&config/locales/mailer_name_mailer/en.yml - Mail preview : update
app/mailers/mail_preview.rbfile
- Specs : update
-
Helpers
- RSpec specs : update
spec/helpers/helper_name_spec.rbfile - RDoc : update
app/helpers/helper_name.rbfile comments
- RSpec specs : update
-
Views
- Cucumber specs : update
features/controller_name/action_name.featurefile - Cucumber steps : update
features/steps_definitions/controller_name/controller_name_steps.rbfile if needed - RSpec markup specs : update
spec/assets/controller_name_markup_spec.rbfile
- Cucumber specs : update
-
Global
- Control script : run
./script/control - Security report : check
reports/security_report.html - Best practices : check
reports/best_practices_report.html - Locales : check locales presence (run
rake locales:checkif needed) - Update Gemfile : run
bundle update - Annotate models : run
annotate(already run in control script) - Encode files : run
magic_encoding(already run in control script) - N+1 queries : check for potential n+1 queries in
log/bullet.logfile - Queries : check queries number in pages footer
- Control script : run
Last active
August 29, 2015 14:05
-
-
Save fcarrega/b7ea03ff8a60d01c4060 to your computer and use it in GitHub Desktop.
Development checklist
Author
Il y a un autre gist avec un template : https://gist.github.com/fcarrega/f1204f1f633ddfdec009
L'idée est de se baser sur les bonnes pratiques de Tomdoc : http://tomdoc.org/
Controller:
- Page title : add @page_title variable to controller responding to HTTP GET requests
- Canonical URL : add @canonical_url variable to controller responding to HTTP GET requests
- Sitemap : update config/sitemap.rb file (only for HTTP GET requests)
- Cucumber path : update features/support/path.rb file
- Mailer:
Mail preview : update app/mailers/mail_preview.rb file
Views
Cucumber specs : update features/controller_name/action_name.feature file
Cucumber steps : update features/steps_definitions/controller_name/controller_name_steps.rb file if needed
RSpec markup specs : update spec/assets/controller_name_markup_spec.rb file
Global
Control script : run ./script/control
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pour RDoc, est ce que il y a une commmande qui ajoute automatiquement les commentaires ou bien on ajoute les commentaires a la main ??