summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2016-08-29some python3-specific changespy3-continuedBryan Bishop
2016-08-27import unittest.mock as mockBryan Bishop
2016-08-27Merge branch 'master' into py3-continuedBryan Bishop
Conflicts: pokemontools/crystal.py
2016-08-27fix many failing testsBryan Bishop
2016-08-24Fix most Python 3 compat issues with futurize --stage1Eevee (Lexy Munroe)
2013-11-11fix a typo in the switch prompt testBryan Bishop
2013-11-11rename the switch prompt detectorBryan Bishop
2013-11-11fix the is_switch_prompt testBryan Bishop
2013-11-11a test for detecting the yes/no promptBryan Bishop
2013-11-11use set_battle_mon_hp in a testBryan Bishop
2013-11-11detect the "mandatory switch" menuvba-automationBryan Bishop
This requires a slightly slower text_wait function. There is probably a way to refactor that function in a way that doesn't cause cancer.
2013-11-11switch tests to use new battle starterBryan Bishop
2013-11-10bootstrap the battle tests with more monsBryan Bishop
Use the givepoke function to add a few more pokemon to the team before starting the battle-related tests. There are some features of the battle handling code that require more than one pokemon to be present in the party.
2013-11-09make sure an attack works (new test)Bryan Bishop
2013-11-09write another quick battle testBryan Bishop
2013-11-09simplify the battle testsBryan Bishop
2013-11-09simplify the vba-related testsBryan Bishop
The imports for the emulator-related tests are now simplified in the tests/ folder. The bootstrapping.py file contains some shared functions that multiple test files might choose to use. Those functions probably belong in the actual module instead of in tests/. The battle-related tests have been separated from the other emulator tests.
2013-11-09Merge branch 'master' into vba-automationBryan Bishop
Conflicts: pokemontools/vba/vba.py
2013-11-09fix an import in tests.pyBryan Bishop
2013-11-09Merge branch 'master' into vba-automationBryan Bishop
2013-11-09import Battle for testingBryan Bishop
2013-11-09fix a few imports for testing an old funcBryan Bishop
2013-11-09a basic battle testBryan Bishop
2013-10-12move() can now take a list of movements to makeBryan Bishop
2013-09-22additional words for the keyboard testingBryan Bishop
2013-09-22test keyboard typing functionsBryan Bishop
This tests 18 different names being typed on the keyboard. These are supposed to be typed using the shortest possible sequence of button presses to get to the right letter selection.
2013-09-22basic keyboard writing testBryan Bishop
2013-09-22a test for moving in circlesBryan Bishop
Well, it's more like a square.
2013-09-22remove vba.shutdown() from another testBryan Bishop
2013-09-22reduce some duplicated code inside some testsBryan Bishop
Those movement checks are now collapsed into a single function that each test can individually call.
2013-09-22remove unnecessary emulator shutdownBryan Bishop
2013-09-22change the walk test after Elm's LabBryan Bishop
The walk test is useful to see if the player is able to move, but it shouldn't walk down and out of the building because the test is comparing against the MapNumber for Elm's Lab and not New Bark Town.
2013-09-22test that the Elm's Lab sequence worksBryan Bishop
2013-09-22test that the current map is correctBryan Bishop
2013-09-22add more defaults to setup_wram for testingBryan Bishop
This is sorta absurd, it should just load these values by parsing wram.asm on its own.
2013-09-22test the walk_into_new_bark_town vba methodBryan Bishop
2013-09-22test autoplayer handle_momBryan Bishop
2013-09-22remove old jython comments from the vba testsBryan Bishop
2013-09-22combine some tests togetherBryan Bishop
2013-09-22make the vba tests passBryan Bishop
2013-09-22use the state property during test bootstrappingBryan Bishop
2013-09-22fix the autoplayer bootstrapper for test_vba.pyBryan Bishop
2013-09-21move tests into test_vba.pyBryan Bishop
They didn't belong in pokemontools/vba/vba.py in the first place.
2013-09-12move find_labels_without_addresses into labels.pyBryan Bishop
2013-09-12remove an unused import from integration testsBryan Bishop
2013-09-08fix some imports in test_vba.pyBryan Bishop
2013-09-08vba_tests.py -> test_vba.pyBryan Bishop
This matches the other filenames in the tests/ directory.
2013-09-08crude tests for the vba automation softwareBryan Bishop
2013-09-01move index and grouper into helpers.pyBryan Bishop
2013-09-01make the TestPostParsing test case work againBryan Bishop
It needs to be a subclass of unittest.TestCase in order to get any of the testing methods. Otherwise all of the tests fail when nosetests finds those tests.