Permalink
Browse files

#10 fix example on main page

Update the readme to specify that a transaction should be active, as well as linking to the JPA Unit tests for further documentation.
  • Loading branch information...
1 parent 8907edb commit 6b450ba617bc41f5faa38fc6da9ced90b0f26d01 @sberan committed Sep 14, 2012
Showing with 7 additions and 9 deletions.
  1. +7 −9 README.md
View
@@ -2,11 +2,15 @@ Fixy : Yaml fixtures for Java
========
[![Build Status](https://secure.travis-ci.org/sberan/Fixy.png?branch=master)](http://travis-ci.org/sberan/Fixy)
+ *Winner - 2012 10gen Open Source Hackathon*
+
+ *"Fixy has made my unit-testing life (outside of using Play framework) quite a bit easier" -Fixy User*
Fixy makes unit testing your persistence layer much easier using [SnakeYAML](http://code.google.com/p/snakeyaml/) to
create test fixtures and persist them to your database. It's similar to Rails and Play! Framework's test
fixtures, with a few goodies added such as **package declaration**, **imports**, and **processors**
+
Supported Persistence Frameworks:
---------------------------------
- JPA
@@ -28,7 +32,7 @@ employees.yaml:
lastName: Gibbons
manager: Employee(bill)
-Now use your fixtures from Java:
+Now use your fixtures from Java: (assuming you have a transaction active)
//load fixtures
Fixy fixtures = JPAFixy.create(entityManager);
@@ -113,13 +117,7 @@ Contributors
- Chris Collison (@collisonchris)
- Mohamed Mounirou (@mmounirou)
-Upgrading from 1.X:
------------
- - Change dependency artifactId from fixy to fixy-jpa
- - Change package from com.pearson to com.fixy
- - Use JPAFixy.create() rather than new Fixy()
-
-More Info
+Additional Documentation
-----------
-For now, have a look at the unit tests for your persistence framework.
+See the [JPA unit tests](https://github.com/sberan/Fixy/tree/master/fixy-jpa/src/test) for some great usage examples.

0 comments on commit 6b450ba

Please sign in to comment.