Skip to content

Commit 4704648

Browse files
committed
The important test cases I want to cover
1 parent 2fda115 commit 4704648

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

spec/tools/egghunter_spec.rb

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,32 @@
44
require 'stringio'
55

66
describe Egghunter do
7+
78
subject do
89
Egghunter::Driver.new
910
end
1011

1112
describe '#run' do
12-
end
1313

14+
context 'when the platform is windows' do
15+
it 'returns a windows egghunter' do
16+
end
17+
end
18+
19+
context 'when the platform is linux' do
20+
it 'returns a linux egghunter' do
21+
end
22+
end
23+
24+
context 'when the output format is java' do
25+
it 'returns java format egghunter' do
26+
end
27+
end
28+
29+
context 'when the egg is WOOT' do
30+
it 'includes W00TW00T in the egghunter' do
31+
end
32+
end
33+
34+
end
1435
end

0 commit comments

Comments
 (0)