Doing BDD(morten.lyhr.dk)
submitted by
Lyhr(315) 3 years, 10 months ago
Basically it a shift towards specifying behavior instead of testing behavior.
The specification consists of 3 parts:
1: A namespace with called "Specs_for_subject"
2: One or more classes called "When_operation_on_state", with a SetUp/Init method that performs the "operation_on_state"
3: One or more methods called "Should_expectation"
|category: Unit Testing
|Views: 30
tags:
BDD Testing another
Everyones tags:
Your Tags: