51
51
52
52
< section class ="title ">
53
53
< h1 > Behavior-Driven Development in Java with JGiven</ h1 >
54
- < h2 style ="margin-top:60px; margin-bottom: 40px; color: #444 "> Dr. Jan Schäfer</ h2 >
54
+ < h2 style ="margin-top:60px; color: #444 "> Jan Schäfer</ h2 >
55
+ < h3 style ="margin-bottom: 40px; "> @JanSchfr</ h3 >
55
56
< a href ="http://tngtech.com "> < img style ="margin-bottom:20px; margin-top:0px; height:40px; " src ="img/tng.svg " /> </ a >
56
57
< h3 > 7th Nov 2016</ h3 >
57
58
< h4 > Devoxx Belgium 2016</ h4 >
@@ -66,6 +67,8 @@ <h4>Devoxx Belgium 2016</h4>
66
67
< a target ="_blank " href ="http://localhost:9967/petclinic/ ">
67
68
< img src ="img/petclinic.png " />
68
69
</ a >
70
+ < small > < a href ="https://github.com/spring-projects/spring-petclinic "> github.com/spring-projects/spring-petclinic</ a > </ small >
71
+
69
72
</ section >
70
73
< section >
71
74
< h2 > Typical Test</ h2 >
@@ -97,13 +100,13 @@ <h2>Typical Test</h2>
97
100
assertThat(pet.getId()).isNotNull();
98
101
}
99
102
</ code > </ pre >
100
- < small > Example from < a href ="https://github.com/spring-projects/spring-petclinic "> github.com/spring-projects/spring-petclinic</ a > </ small >
103
+ < small > < a href ="https://github.com/spring-projects/spring-petclinic "> github.com/spring-projects/spring-petclinic</ a > </ small >
101
104
102
105
<!-- <img src="img/tdd.svg"> -->
103
106
</ section >
104
107
105
108
< section >
106
- < h2 > Issues with typical automated tests </ h2 >
109
+ < h2 > Issues with Typical Tests </ h2 >
107
110
< ul class ="fa-ul bad ">
108
111
< li class ="fragment "> Many technical and irrelevant details</ li >
109
112
< li class ="fragment "> Point of the test often hard to grasp</ li >
@@ -114,7 +117,6 @@ <h2>Issues with typical automated tests</h2>
114
117
115
118
</ section >
116
119
117
-
118
120
<!--
119
121
<section>
120
122
<h2>Reading vs Writing of Code</h2>
@@ -380,11 +382,16 @@ <h2>Goals</h2>
380
382
</ ul >
381
383
</ section >
382
384
385
+ < section >
386
+ < h1 > Demo</ h1 >
387
+ </ section >
388
+
383
389
<!--
384
390
<section>
385
391
<h1 style="opacity: 0.8; background: none; border:none; box-shadow:none; -webkit-text-stroke: 2px #555; font-size: 200px; color: white; text-shadow: 5px 5px 15px black">Demo</h1>
386
392
</section>
387
393
-->
394
+ <!--
388
395
<section>
389
396
<h2>Scenarios in JGiven</h2>
390
397
<pre><code data-trim>
@@ -425,7 +432,9 @@ <h2>Stage Classes</h2>
425
432
}
426
433
}
427
434
</code></pre>
435
+
428
436
</section>
437
+ -->
429
438
<!--
430
439
<section>
431
440
<h2>Two Layers</h2>
@@ -463,6 +472,7 @@ <h2>Berichte</h2>
463
472
</section>
464
473
465
474
-->
475
+ <!--
466
476
<section>
467
477
<h2>Console Output</h2>
468
478
<pre style="font-size:70%"><code>
@@ -475,8 +485,9 @@ <h2>Console Output</h2>
475
485
</code></pre>
476
486
477
487
</section>
488
+ -->
478
489
< section >
479
- < h2 > HTML5-App </ h2 >
490
+ < h2 > Example Reports </ h2 >
480
491
< a target ="_blank " href ="examplereport/index.html "> < img height ="400px " src ="img/jgivenhtml5app2.png "/> </ a >
481
492
< ul >
482
493
< li > < a target ="_blank " style ="font-size: 30px " href ="http://jgiven.org/jgiven-report/html5/ "> jgiven.org/jgiven-report/html5/</ a > < a href ="file:///home/jan/git/github/jgiven/jgiven-tests/build/reports/jgiven/html5/index.html " style ="font-size:20px "> (Local)</ a > </ li >
@@ -509,7 +520,7 @@ <h2>Practical Experience</h2>
509
520
510
521
</ section >
511
522
512
-
523
+ <!--
513
524
<section>
514
525
<section>
515
526
<h1>Additional Features</h1>
@@ -707,7 +718,7 @@ <h2>Plain Text</h2>
707
718
</pre>
708
719
</section>
709
720
-->
710
-
721
+ <!--
711
722
<section>
712
723
<h2>Parameter Formatting</h2>
713
724
<ul>
@@ -737,7 +748,7 @@ <h4>Report</h4>
737
748
<code><pre>Given the machine is off</pre></code>
738
749
</div>
739
750
</section>
740
-
751
+ -->
741
752
<!--
742
753
<section>
743
754
<h2>Tables als Parameter</h2>
@@ -748,6 +759,7 @@ <h2>Tables als Parameter</h2>
748
759
</ul>
749
760
</section>
750
761
-->
762
+ <!--
751
763
<section>
752
764
<h2>Tables as Parameters</h2>
753
765
<pre><code>SELF the_following_books_are_on_stock( @Table String[][] stockTable ) {
@@ -805,7 +817,7 @@ <h2>Tables as Parameters</h2>
805
817
<h3>HTML Report</h3>
806
818
<a target="_blank" href="examplereport/index.html#/scenario/com.tngtech.jgiven.example.bookstore.OrderTest/ordering_a_book_reduces_the_stock"><img height="400px" src="img/tablesasparams.png" /></a>
807
819
</section>
808
-
820
+ -->
809
821
810
822
<!--
811
823
<section>
@@ -835,7 +847,7 @@ <h4>HTML-Bericht</h4>
835
847
836
848
</section>
837
849
-->
838
-
850
+ <!--
839
851
<section>
840
852
<h2>@BeforeScenario und @AfterScenario</h2>
841
853
<pre><code data-trim>
@@ -972,7 +984,7 @@ <h3>HTML Report</h3>
972
984
973
985
974
986
</section>
975
-
987
+ -->
976
988
977
989
< section >
978
990
<!--
0 commit comments