@@ -15,7 +15,7 @@ public void setup() {
1515 }
1616
1717 @ Test
18- @ DisplayName ("Plain text is wrapped in a paragraph" )
18+ @ DisplayName ("parses normal text as a paragraph" )
1919 public void normalTextAsAParagraph () {
2020 String input = "This will be a paragraph" ;
2121 String expected = "<p>This will be a paragraph</p>" ;
@@ -25,7 +25,7 @@ public void normalTextAsAParagraph() {
2525
2626 @ Disabled ("Remove to run test" )
2727 @ Test
28- @ DisplayName ("Single underscore wraps text in <em> tags " )
28+ @ DisplayName ("parsing italics " )
2929 public void italics () {
3030 String input = "_This will be italic_" ;
3131 String expected = "<p><em>This will be italic</em></p>" ;
@@ -35,7 +35,7 @@ public void italics() {
3535
3636 @ Disabled ("Remove to run test" )
3737 @ Test
38- @ DisplayName ("Double underscore wraps text in <strong> tags " )
38+ @ DisplayName ("parsing bold text" )
3939 public void boldText () {
4040 String input = "__This will be bold__" ;
4141 String expected = "<p><strong>This will be bold</strong></p>" ;
@@ -45,7 +45,7 @@ public void boldText() {
4545
4646 @ Disabled ("Remove to run test" )
4747 @ Test
48- @ DisplayName ("Mixed italics and bold inline formatting " )
48+ @ DisplayName ("mixed normal, italics and bold text " )
4949 public void normalItalicsAndBoldText () {
5050 String input = "This will _be_ __mixed__" ;
5151 String expected = "<p>This will <em>be</em> <strong>mixed</strong></p>" ;
@@ -55,7 +55,7 @@ public void normalItalicsAndBoldText() {
5555
5656 @ Disabled ("Remove to run test" )
5757 @ Test
58- @ DisplayName ("H1 header conversion " )
58+ @ DisplayName ("with h1 header level " )
5959 public void withH1HeaderLevel () {
6060 String input = "# This will be an h1" ;
6161 String expected = "<h1>This will be an h1</h1>" ;
@@ -65,7 +65,7 @@ public void withH1HeaderLevel() {
6565
6666 @ Disabled ("Remove to run test" )
6767 @ Test
68- @ DisplayName ("H2 header conversion " )
68+ @ DisplayName ("with h2 header level " )
6969 public void withH2HeaderLevel () {
7070 String input = "## This will be an h2" ;
7171 String expected = "<h2>This will be an h2</h2>" ;
@@ -75,7 +75,7 @@ public void withH2HeaderLevel() {
7575
7676 @ Disabled ("Remove to run test" )
7777 @ Test
78- @ DisplayName ("H3 header conversion " )
78+ @ DisplayName ("with h3 header level " )
7979 public void withH3HeaderLevel () {
8080 String input = "### This will be an h3" ;
8181 String expected = "<h3>This will be an h3</h3>" ;
@@ -85,7 +85,7 @@ public void withH3HeaderLevel() {
8585
8686 @ Disabled ("Remove to run test" )
8787 @ Test
88- @ DisplayName ("H4 header conversion " )
88+ @ DisplayName ("with h4 header level " )
8989 public void withH4HeaderLevel () {
9090 String input = "#### This will be an h4" ;
9191 String expected = "<h4>This will be an h4</h4>" ;
@@ -95,7 +95,7 @@ public void withH4HeaderLevel() {
9595
9696 @ Disabled ("Remove to run test" )
9797 @ Test
98- @ DisplayName ("H5 header conversion " )
98+ @ DisplayName ("with h5 header level " )
9999 public void withH5HeaderLevel () {
100100 String input = "##### This will be an h5" ;
101101 String expected = "<h5>This will be an h5</h5>" ;
@@ -105,7 +105,7 @@ public void withH5HeaderLevel() {
105105
106106 @ Disabled ("Remove to run test" )
107107 @ Test
108- @ DisplayName ("H6 header conversion " )
108+ @ DisplayName ("with h6 header level " )
109109 public void withH6HeaderLevel () {
110110 String input = "###### This will be an h6" ;
111111 String expected = "<h6>This will be an h6</h6>" ;
@@ -115,7 +115,7 @@ public void withH6HeaderLevel() {
115115
116116 @ Disabled ("Remove to run test" )
117117 @ Test
118- @ DisplayName ("Line starting with 7 hashes is a paragraph" )
118+ @ DisplayName ("h7 header level is a paragraph" )
119119 public void h7HeaderLevelIsAParagraph () {
120120 String input = "####### This will not be an h7" ;
121121 String expected = "<p>####### This will not be an h7</p>" ;
@@ -125,7 +125,7 @@ public void h7HeaderLevelIsAParagraph() {
125125
126126 @ Disabled ("Remove to run test" )
127127 @ Test
128- @ DisplayName ("Consecutive lines starting with * become an unordered list " )
128+ @ DisplayName ("unordered lists " )
129129 public void unorderedLists () {
130130 String input = "* Item 1\n * Item 2" ;
131131 String expected = "<ul><li>Item 1</li><li>Item 2</li></ul>" ;
@@ -135,7 +135,7 @@ public void unorderedLists() {
135135
136136 @ Disabled ("Remove to run test" )
137137 @ Test
138- @ DisplayName ("Combined header and list formatting " )
138+ @ DisplayName ("With a little bit of everything " )
139139 public void aLittleBitOfEverything () {
140140 String input = "# Header!\n * __Bold Item__\n * _Italic Item_" ;
141141 String expected = "<h1>Header!</h1><ul><li><strong>Bold Item</strong></li><li><em>Italic Item</em></li></ul>" ;
@@ -145,7 +145,7 @@ public void aLittleBitOfEverything() {
145145
146146 @ Disabled ("Remove to run test" )
147147 @ Test
148- @ DisplayName ("Markdown symbols inside headers are treated as text " )
148+ @ DisplayName ("with markdown symbols in the header text that should not be interpreted " )
149149 public void markdownSymbolsInTheHeaderShouldNotBeInterpreted () {
150150 String input = "# This is a header with # and * in the text" ;
151151 String expected = "<h1>This is a header with # and * in the text</h1>" ;
@@ -155,7 +155,7 @@ public void markdownSymbolsInTheHeaderShouldNotBeInterpreted() {
155155
156156 @ Disabled ("Remove to run test" )
157157 @ Test
158- @ DisplayName ("Markdown symbols inside list items are treated as text " )
158+ @ DisplayName ("with markdown symbols in the list item text that should not be interpreted " )
159159 public void markdownSymbolsInTheListItemTextShouldNotBeInterpreted () {
160160 String input = "* Item 1 with a # in the text\n * Item 2 with * in the text" ;
161161 String expected = "<ul><li>Item 1 with a # in the text</li><li>Item 2 with * in the text</li></ul>" ;
@@ -165,7 +165,7 @@ public void markdownSymbolsInTheListItemTextShouldNotBeInterpreted() {
165165
166166 @ Disabled ("Remove to run test" )
167167 @ Test
168- @ DisplayName ("Markdown symbols inside paragraphs are treated as text " )
168+ @ DisplayName ("with markdown symbols in the paragraph text that should not be interpreted " )
169169 public void markdownSymbolsInTheParagraphTextShouldNotBeInterpreted () {
170170 String input = "This is a paragraph with # and * in the text" ;
171171 String expected = "<p>This is a paragraph with # and * in the text</p>" ;
@@ -175,7 +175,7 @@ public void markdownSymbolsInTheParagraphTextShouldNotBeInterpreted() {
175175
176176 @ Disabled ("Remove to run test" )
177177 @ Test
178- @ DisplayName ("Lists close properly when surrounded by other blocks " )
178+ @ DisplayName ("unordered lists close properly with preceding and following lines " )
179179 public void markdownUnorderedListsCloseProperlyWithPrecedingAndFollowingLines () {
180180 String input = "# Start a list\n * Item 1\n * Item 2\n End a list" ;
181181 String expected = "<h1>Start a list</h1><ul><li>Item 1</li><li>Item 2</li></ul><p>End a list</p>" ;
0 commit comments