| | 1 | = Obtaining Epic = |
| | 2 | |
| | 3 | Epic does not yet have a stable release candidate. For now, you should use Subversion to checkout the package: |
| | 4 | |
| | 5 | {{{ |
| | 6 | svn co http://svn.epictest.org/trunk/epic epic |
| | 7 | }}} |
| | 8 | |
| | 9 | Epic can be downloaded anywhere on your system (as long as you can {{{\import}}} it from there). |
| | 10 | |
| | 11 | |
| | 12 | = Installing epic.sql = |
| | 13 | |
| | 14 | Simply execute/import the epic.sql file into the database you'd like to test: |
| | 15 | |
| | 16 | {{{ |
| | 17 | psql mydb |
| | 18 | mydb=# \i '~/epic/epic.sql' |
| | 19 | CREATE FUNCTION |
| | 20 | assert_test_schema |
| | 21 | -------------------- |
| | 22 | t |
| | 23 | (1 row) |
| | 24 | |
| | 25 | DROP FUNCTION |
| | 26 | CREATE FUNCTION |
| | 27 | CREATE VIEW |
| | 28 | CREATE FUNCTION |
| | 29 | CREATE FUNCTION |
| | 30 | ... |
| | 31 | }}} |
| | 32 | |
| | 33 | Then, execute/import any tests you've written: |
| | 34 | |
| | 35 | {{{ |
| | 36 | mydb=# \i '~/test_users.sql' |
| | 37 | SET |
| | 38 | CREATE FUNCTION |
| | 39 | ... |
| | 40 | }}} |