本文書は、実現したい機能に対してリソース(時間)が足りないときの開発ポリシーをまとめたものである。これらのポリシーを一律にプロジェクトに適用するのが難しい場合は、機能毎に個別に適用を検討する。各項目には、機能実現の代償となるものも書き添える。
機能の実現に直接関係ない実装をしない。例えば、ページ遷移せずにJavaScriptでデータや画面を操作するなど。工数の少ない代替案がある場合は、開発者が仕様を提案する。
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com | |
# defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below) | |
module Player | |
describe MovieList, "with optional description" do | |
it "is pending example, so that you can write ones quickly" | |
it "is already working example that we want to suspend from failing temporarily" do | |
pending("working on another feature that temporarily breaks this one") |
This is a leaner version of K combinator and can be included directly by a script tag. | |
See https://gist.github.com/7727 for a mature one. |
#!/usr/bin/env ruby | |
# | |
# usage: ./abc.rb | |
# | |
# Shows the total, average, and the worst 10 methods in the project. | |
def pt(line) | |
line[/(?<=: )\d+/].to_i | |
end |
module github.com/irohiroki/aws-sdk-go-v2-test | |
go 1.18 | |
require github.com/aws/aws-sdk-go-v2/service/dynamodb v1.17.3 | |
require ( | |
github.com/aws/aws-sdk-go-v2/credentials v1.12.23 // indirect | |
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.19 // indirect | |
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.26 // indirect |