Go to file
Andrew Ekstedt 0094e9584c Modernize our use of py.test
This commit updates the tests to take advantage of some of py.test's
newer features.  Requires py.test 2.3 or newer.  Tested with 2.3.0 and
2.5.2.

Tests which were parametrized now use py.test's built-in
parametrization[1].

The session and lookup objects are now implemented as fixtures[2].
The media root is a fixture as well.  Fixtures are automatically passed
to any function that expects them.

Since the session is now created in one place, it is now possible to
provide an engine URI on the command line when running py.test.  Ditto
for the index directory.  (But the environment variables still work of
course.)

Slow tests are now marked as such and not run unless the --all option is
given.

A couple media tests are marked as xfail (expected to fail) because they
are broken.

[1]: http://pytest.org/latest/parametrize.html
[2]: http://pytest.org/latest/fixture.html
2014-07-06 21:45:05 -07:00
bin python => python2 2012-11-17 04:12:54 -08:00
doc Add TypeGameIndex to docs 2014-07-03 20:16:40 -07:00
pokedex Modernize our use of py.test 2014-07-06 21:45:05 -07:00
scripts Rerip all the Gen IV tutors. :D #27 #82 2012-12-01 05:17:31 -05:00
.gitignore Added whoosh and sqlite files to .gitignore. 2009-08-23 20:46:21 -07:00
conftest.py Modernize our use of py.test 2014-07-06 21:45:05 -07:00
item-questions Effects for the remaining B/W items. #247 2011-04-10 16:41:59 -07:00
LICENSE Added a README and licensed under MIT. 2009-07-23 00:04:47 -07:00
README Update some URLs to point to github.com 2012-12-02 17:14:08 -08:00
setup.py Whoosh 2.5 performance quickfix 2014-05-13 23:06:19 -07:00

This software is copyrighted and licensed under the MIT license.  See the file
entitled LICENSE for full copyright and license text.

This software comes bundled with data, sprites, and sounds extracted from the
Pokémon series of video games.  Some terminology from the Pokémon franchise is
also necessarily used within the software itself.  This is all the intellectual
property of Nintendo, Creatures, inc., and GAME FREAK, inc. and is protected by
various copyrights and trademarks.  The author believes that the use of this
intellectual property for a fan reference is covered by fair use and that the
software is significantly impaired without said property included.  Any use of
this copyrighted property is at your own legal risk.

A complete revision history of this software is available from
https://github.com/veekun/pokedex.

Contributors:
Alex Munroe (Eevee): git@veekun.com