Skip to content

Commit

Permalink
Rename Fest to FEST and reduce default font size
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-costigliola committed Feb 13, 2013
1 parent 3a0a588 commit 6ff6ac6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions index.html
Expand Up @@ -11,14 +11,14 @@

<script type="text/javascript" src="javascripts/prettify.js"></script>

<title>Fest-eclipse-plugin by joel-costigliola</title>
<title>FEST Eclipse plugin</title>
</head>

<body onload="prettyPrint()">

<div class="container">
<section id="main_content">
<h1>Welcome to Fest eclipse plugin documentation !</h1>
<h1>Welcome to FEST eclipse plugin documentation !</h1>

<p>This plugin will help you to get assertions for your own classes by generating them, it relies internally on <a href="https://github.com/joel-costigliola/fest-assertion-generator/wiki">fest-assertion-generator</a>.</p>

Expand All @@ -29,18 +29,18 @@ <h1>Welcome to Fest eclipse plugin documentation !</h1>

<p>The project is hosted on <a href="https://github.com/joel-costigliola/fest-eclipse-plugin">GitHub</a> and would not have been possible without <a href="https://github.com/ndemengel">Nicolas Demengel</a> help, Thanks Nicolas !</p>

<h2 id="installation">Fest plugin installation</h2>
<h2 id="installation">FEST plugin installation</h2>

Go to : Help > Install new software > Add...<br>
Then set :
<ol>
<li>Name to : Fest (or whatever you want)</li>
<li>Name to : FEST (or whatever you want)</li>
<li>location to : http://joel-costigliola.github.com/fest-eclipse-plugin/repository/</li>
</ol>

<img src="images/installation-add-repository.png" id="installation-add-repository"/>

<p>If everything is ok, you should be able to select and install Fest plugin </p>
<p>If everything is ok, you should be able to select and install FEST plugin </p>

<img src="images/installation-fest.png" id="installation-fest"/>

Expand Down Expand Up @@ -103,9 +103,9 @@ <h2>Generated assertions</h2>
PlayerAssert.assertThat(player).hasAge(28).hasName("Lebron James").hasTeams("Miami");
</pre>

<p>The generated assertion class is just a quick start for you to have custom assertions, you should complete it with richer assertions to suit your needs !<br>Note that the generated assertions code relies on <a href="https://github.com/alexruiz/fest-assert-2.x/wiki">Fest assert core 2.0M8</a>, it should be on your classpath along with its dependencies (see this <a href="https://github.com/alexruiz/fest-assert-2.x/wiki/One-minute-starting-guide">page</a> to install Fest core assertions).</p>
<p>The generated assertion class is just a quick start for you to have custom assertions, you should complete it with richer assertions to suit your needs !<br>Note that the generated assertions code relies on <a href="https://github.com/alexruiz/fest-assert-2.x/wiki">FEST assert core 2.0M8</a>, it should be on your classpath along with its dependencies (see this <a href="https://github.com/alexruiz/fest-assert-2.x/wiki/One-minute-starting-guide">page</a> to install FEST core assertions).</p>

<p>What you could do now, is to provide a single entry point for all assertions : Fest ones and yours.
<p>What you could do now, is to provide a single entry point for all assertions : FEST ones and yours.
It is easy, inherit from Assertions and add assertThat methods for your own types, see the example below or <a href="https://github.com/joel-costigliola/fest-examples/blob/master/src/main/java/org/fest/assertions/examples/custom/MyProjectAssertions.java">this one</a> taken from <a href="https://github.com/joel-costigliola/fest-examples/">fest-examples</a> project :


Expand All @@ -128,7 +128,7 @@ <h2>Generated assertions</h2>
}
</pre>

<h2 id="player-assert">Complete PlayerAssert class source</h2>
Complete PlayerAssert class source :
<pre class="prettyprint">
package example;

Expand Down
1 change: 1 addition & 0 deletions stylesheets/stylesheet.css
Expand Up @@ -80,6 +80,7 @@ header h2 {
#main_content {
width: 100%;
-webkit-font-smoothing: antialiased;
font-size: 17px;
}
section img {
max-width: 100%
Expand Down

0 comments on commit 6ff6ac6

Please sign in to comment.