12. W H AT S H O U L D I T L O O K L I K E ?
“Design”
13. W H AT S E R V I C E S A R E Y O U R E L I A N T O N ?
“Dependencies”
14. What is the clearest medium to
describe what needs to be done
A N D T O V E R I F Y I T H A S B E E N
15.
16.
17. I N I T I A L F E AT U R E
F I L E D E M O
S T E P 1 : W R I T E F E AT U R E F I L E
18.
19. W H AT A B O U T D E S I G N S
A N D M E D I A ?
20.
21. W H AT A B O U T T E C H N I C A L
D O C U M E N TAT I O N ?
22.
23.
24. W H AT A B O U T
C O M P L I C AT E D S C E N A R I O S ?
25.
26. S T E P 2 : I N S TA L L S H O U L D I T ?
S T E P 3 : S E T U P Y O U R T E S T S
n p m i n s t a l l - g s h o u l d i t
S T E P 1 : W R I T E F E AT U R E F I L E
S T E P 4 : C O N F I G U R E S H O U L D I T
43. m a p . y a m l
PA G I N AT I O N R E L AT I O N S H I P
44.
45. W H AT I S S H O U L D I T D O I N G ?
* . f e a t u re . m d
T E S T
O U T P U T
M O C H A
* . f e a t u re . m d
J U N I T
J A S M I N E
S E L E N I U M
D E V E L O P M E N T
P R O M P T I N G
( c o n s o l e )
F E AT U R E
T E S T S TAT U S
( c o n s o l e )
W E B
V I S U A L I S AT I O N
J U N I T. X M L
O V E R V I E W
46. C O N T I N O U S I N T E G R AT I O N J O B S
F R O N T
E N D
P R O J E C T S
B A C K
E N D
P R O J E C T S
E 2 E
T E S T S
JS Integration Tests
JS Unit Tests
End To End Tests
Java Integration Tests
Java Unit Tests
Node.JS Mocha Tests
J U N I T
X M L
T E S T
O U T P U T
ShouldIT?
Features
API Features
47. • IT allows you to write rich feature files in markdown
• IT encourages you to think through your requirements before
starting development in a semantic fashion
• IT helps drive you to the tests that need to be written
• IT refers to tests in your current test suite
(no extra layer of tests)
• IT aggregates test output from multiple sources to show you
what features are done or outstanding
• IT visualises your projects semantic hierarchy and shows your
progress for sharing
48. h t t p : / / b b c - s p o r t . g i t h u b . i o / S h o u l d I T /
Questions?
@ m a c k s t a r