File tree Expand file tree Collapse file tree 5 files changed +293
-335
lines changed Expand file tree Collapse file tree 5 files changed +293
-335
lines changed Original file line number Diff line number Diff line change 6
6
install :
7
7
- python setup.py install
8
8
script :
9
- - py.test test_replays test_s2gs
9
+ - python -m unittest discover test_replays
10
+ - python -m unittest discover test_s2gs
10
11
notifications :
11
12
irc : " chat.freenode.net#sc2reader"
Original file line number Diff line number Diff line change @@ -4,11 +4,14 @@ CHANGELOG
4
4
0.5.2 -
5
5
--------------------
6
6
7
+ * Added a sc2json script contributed by @ChrisLundquist
7
8
* Hooked up travis-ci for continuous testing. https://travis-ci.org/GraylinKim/sc2reader
9
+ * Switched to built in python unittest module for testing.
8
10
* Log a warning instead of throwing an exception when using an unknown colors.
9
11
* An unknown hex value will use the hex value as the name.
10
12
* An unknown color name will use 0x000000 as the color.
11
13
14
+
12
15
0.5.1 - June 1, 2013
13
16
--------------------
14
17
Original file line number Diff line number Diff line change @@ -251,9 +251,8 @@ We use py.test for testing. You can install it via pip/easy_install::
251
251
252
252
To run the tests just use::
253
253
254
- py.test # Runs all the tests
255
- py.test test_replays # Only run tests on replays
256
- py.test test_s2gs # Only run tests on summary files
254
+ python -m unittest discover test_replays
255
+ python -m unittest discover test_s2gs
257
256
258
257
When repeatedly running tests it can be very helpful to make sure you've
259
258
set a local cache directory to prevent long fetch times from battle.net::
You can’t perform that action at this time.
0 commit comments