複数のフィールドに入力する必要があるフォームがあります。ただし、必須フィールドは 1 つだけです。ということで、以下の仕様にしました。
[Subject(typeof(CompanyHomeController))]
public class when_the_save_button_is_clicked
{
private It should_verify_that_the_company_name_has_been_filled;
private It should_show_some_text_next_to_the_company_field_if_it_has_not_been_filled;
private It should_submit_all_the_details_on_the_form_if_there_are_no_errors;
private It should_take_the_user_back_to_the_list_of_companies;
}
これを実装したいのですが、mvccontrib.watin dll のようなものを使用しなければならない機能テストに非常によく似ているため、混乱しています。それは実際に機能テストであるというのは正しいですか?BDD の「間違った」仕様を作成しましたか?