Skip to content

Commit e8d0930

Browse files
committed
add demo video
1 parent af4ed28 commit e8d0930

File tree

5 files changed

+53
-2
lines changed

5 files changed

+53
-2
lines changed

docs/index.html

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ <h1>UnitCon: Synthesizing Targeted Unit Tests for Java Runtime Exceptions</h1>
199199
<div class="entry-content">
200200
<h1>Introduction</h1>
201201
<strong>UnitCon</strong> is a system that synthesizes targeted unit tests to trigger runtime exceptions in Java programs. UnitCon uses static analysis to prune and prioritize the search space, enabling efficient discovery of exception-triggering tests. Applied to 51 open-source projects, UnitCon found 21 previously unknown null pointer exception (NPE) bugs.
202-
</div>
202+
</div>
203203
<div class="entry-content">
204204
<style>
205205
.overview-ul {
@@ -239,6 +239,31 @@ <h1>Overview of UnitCon</h1>
239239
If the targeted exception is successfully reproduced, the test case is returned; otherwise, it is discarded.
240240
</li>
241241
</ul>
242+
</div>
243+
<div class="entry-content">
244+
<style>
245+
.demo-video {
246+
margin-left:auto;
247+
margin-right:auto;
248+
width: 100%;
249+
}
250+
</style>
251+
252+
<h1>Demo Video</h1>
253+
254+
<video class="demo-video" autoplay muted loop>
255+
<source src="video/unitcon-demo.mp4" type="video/mp4">
256+
Your browser does not support the video tag.
257+
</video>
258+
259+
This video demonstrates the process of running UnitCon on an example program.
260+
<br>
261+
The example program is the <b><em>Main</em></b> program inside the <b><em>test</em></b> directory.
262+
Line <b><em>11</em></b> of the <b><em>Main.java</em></b> file in this program is the target location.
263+
By executing UnitCon's <em>build</em>, <em>analyze</em>, and <em>synthesize</em> commands in order, you can synthesize a unit test case that triggers the target error.
264+
<br>
265+
If UnitCon successfully synthesizes a unit test case that triggers the target error, it returns the location of the generated test file and the command to run it.
266+
Then, you can run it!
242267
</div>
243268
<div class="entry-content">
244269
<style>

docs/video/unitcon-demo.mp4

13.9 MB
Binary file not shown.

static/video/unitcon-demo.mp4

13.9 MB
Binary file not shown.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<style>
2+
.demo-video {
3+
margin-left:auto;
4+
margin-right:auto;
5+
width: 100%;
6+
}
7+
</style>
8+
9+
<h1>Demo Video</h1>
10+
11+
<video class="demo-video" autoplay muted loop>
12+
<source src="video/unitcon-demo.mp4" type="video/mp4">
13+
Your browser does not support the video tag.
14+
</video>
15+
16+
This video demonstrates the process of running UnitCon on an example program.
17+
<br>
18+
The example program is the <b><em>Main</em></b> program inside the <b><em>test</em></b> directory.
19+
Line <b><em>11</em></b> of the <b><em>Main.java</em></b> file in this program is the target location.
20+
By executing UnitCon's <em>build</em>, <em>analyze</em>, and <em>synthesize</em> commands in order, you can synthesize a unit test case that triggers the target error.
21+
<br>
22+
If UnitCon successfully synthesizes a unit test case that triggers the target error, it returns the location of the generated test file and the command to run it.
23+
Then, you can run it!

themes/PaperMod/layouts/partials/home_info.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ <h1>{{ .Title | markdownify }}</h1>
2424
<div class="entry-content">
2525
<h1>Introduction</h1>
2626
{{ .Content | markdownify }}
27-
</div>
27+
</div>
2828
<div class="entry-content">
2929
{{ partial "overview.html" }}
3030
</div>
31+
<div class="entry-content">
32+
{{ partial "demo.html" }}
33+
</div>
3134
<div class="entry-content">
3235
{{ partial "bug_report.html" }}
3336
</div>

0 commit comments

Comments
 (0)