Skip to content

Commit d57fc61

Browse files
committed
#1 Introduction to UnitTest in Magento
- Setup presentation
1 parent 9e12a88 commit d57fc61

File tree

1 file changed

+131
-0
lines changed

1 file changed

+131
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
<!doctype html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
7+
<title>Unit-Test in Magento</title>
8+
9+
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
10+
<meta name="author" content="Mike Pretzlaw">
11+
12+
<meta name="apple-mobile-web-app-capable" content="yes" />
13+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
14+
15+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
16+
17+
<link rel="stylesheet" href="css/reveal.min.css">
18+
<link rel="stylesheet" href="css/theme/solarized.css" id="theme">
19+
20+
<!-- For syntax highlighting -->
21+
<link rel="stylesheet" href="lib/css/zenburn.css">
22+
23+
<!-- If the query includes 'print-pdf', use the PDF print sheet -->
24+
<script>
25+
document.write('<link rel="stylesheet" href="css/print/' + ( window.location.search.match(/print-pdf/gi) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">');
26+
</script>
27+
28+
<!--[if lt IE 9]>
29+
<script src="lib/js/html5shiv.js"></script>
30+
<![endif]-->
31+
32+
<style type="text/css">
33+
body {
34+
background: #9dc29f;
35+
background: -moz-radial-gradient(center, circle cover, #c6f4c9 0%, #9dc29f 100%);
36+
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #C6F4C9), color-stop(100%, #9dc29f));
37+
background: -webkit-radial-gradient(center, circle cover, #C6F4C9 0%, #9dc29f 100%);
38+
background: -o-radial-gradient(center, circle cover, #C6F4C9 0%, #9dc29f 100%);
39+
background: -ms-radial-gradient(center, circle cover, #C6F4C9 0%, #9dc29f 100%);
40+
background: radial-gradient(center, circle cover, #C6F4C9 0%, #9dc29f 100%);
41+
background-color: #C6F4C9;
42+
}
43+
44+
.reveal p, ul {
45+
color: #21282f;
46+
}
47+
</style>
48+
</head>
49+
50+
<body>
51+
52+
<div class="reveal">
53+
54+
<!-- Any section element inside of this container is displayed as a slide -->
55+
<div class="slides">
56+
57+
<section>
58+
<h1>Unit-Test in Magento</h1>
59+
60+
<strong>Using Acme_UnitTest</strong>
61+
62+
<p>
63+
<small>Created by <a href="http://mike-pretzlaw.de">Mike Pretzlaw</a> /
64+
<a href="http://twitter.com/hakimel">@fxrmp</a></small>
65+
</p>
66+
</section>
67+
68+
<section>
69+
<h2>What is this?</h2>
70+
71+
<ul>
72+
<li>Introduction to UnitTest</li>
73+
<li>Usage of EcomDev_UnitTest for Magento</li>
74+
<li>Usage of Acme_UnitTest as a helper</li>
75+
</ul>
76+
77+
<aside class="notes">
78+
Acme_UnitTest contains helping classes for easily creating UnitTests in Magento.
79+
You'll need Magento itself and EcomDev_UnitTest to use these.
80+
</aside>
81+
</section>
82+
83+
</div>
84+
85+
</div>
86+
87+
<script src="lib/js/head.min.js"></script>
88+
<script src="js/reveal.min.js"></script>
89+
90+
<script>
91+
92+
// Full list of configuration options available here:
93+
// https://github.com/hakimel/reveal.js#configuration
94+
Reveal.initialize({
95+
controls: false,
96+
progress: true,
97+
history: true,
98+
center: true,
99+
100+
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
101+
transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
102+
103+
// Optional libraries used to extend on reveal.js
104+
dependencies: [
105+
{ src: 'lib/js/classList.js', condition: function () {
106+
return !document.body.classList;
107+
} },
108+
{ src: 'plugin/markdown/marked.js', condition: function () {
109+
return !!document.querySelector('[data-markdown]');
110+
} },
111+
{ src: 'plugin/markdown/markdown.js', condition: function () {
112+
return !!document.querySelector('[data-markdown]');
113+
} },
114+
{ src: 'plugin/highlight/highlight.js', async: true, callback: function () {
115+
hljs.initHighlightingOnLoad();
116+
} },
117+
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function () {
118+
return !!document.body.classList;
119+
} },
120+
{ src: 'plugin/notes/notes.js', async: true, condition: function () {
121+
return !!document.body.classList;
122+
} }
123+
// { src: 'plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; } }
124+
// { src: 'plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } }
125+
]
126+
});
127+
128+
</script>
129+
130+
</body>
131+
</html>

0 commit comments

Comments
 (0)