What is the name for the 'describe it' format in testing?
This is with
ruby-rspecbut I have seen it for other languages too.
BDDis one term but maybe that is to too general as it covers
Cucumberwhich doesn't use this format.
describe "Stuff" do it "does stuff" do a=1 expect(a).to eq 1 end end
I've generally seen it referred to as "xSpec"; that style was popularised, if not invented, by RSpec and there are others like JSpec (for Java, which uses
(It's certainly not xUnit; xUnit test frameworks are those that represent suites as classes implementing TestCase and tests as methods on those classes.)