Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Better testing - integration and unit tests, revive old tests #4

Open
5 tasks
leandor opened this issue Oct 16, 2016 · 1 comment
Open
5 tasks

Better testing - integration and unit tests, revive old tests #4

leandor opened this issue Oct 16, 2016 · 1 comment
Labels
goal Long term goal. May be code-related or a meta goal.
Milestone

Comments

@leandor
Copy link
Contributor

leandor commented Oct 16, 2016

In the original SVN repository (cloned here, for now) there were some files on the release folder that ran some test suit on the compiled CBash.dll

Maybe split those into atomic tests and run them all in sequence, at least for those ones that make sense to automate.


TODO

  • Recover NewVegas tests from sourceforge (need to think proper directory structure for handling several games tests)
  • Split big ObTest.py into atomic tests.
  • Convert tests to unit-tests which rely on check premises and fail.
  • Refactor tests to not depend on Oblivion.esm (generally, on any <game>.esm), by recreating a file that contains the proper records needed for each test.
  • Alternatively, if present, detect game and copy master file to test directory as part of the startup code.
@leandor leandor added enhancement Request to add or enhance a feature. TODO Specific item that needs to be accomplished in working towards a goal. papi Issue is primarily related to the Python API. labels Oct 23, 2016
@leandor
Copy link
Contributor Author

leandor commented Oct 24, 2016

The tests were added to branch leandor-wip in commit 2cc9ed9

leandor added a commit that referenced this issue Oct 24, 2016
Moved some global functions that are used by several tests into a
module called helpers.py (for now).
leandor added a commit that referenced this issue Oct 28, 2016
Moved some global functions that are used by several tests into a
module called helpers.py (for now).
@Infernio Infernio added goal Long term goal. May be code-related or a meta goal. and removed TODO Specific item that needs to be accomplished in working towards a goal. enhancement Request to add or enhance a feature. papi Issue is primarily related to the Python API. labels Sep 20, 2019
@Infernio Infernio changed the title Bring back from the dead the test cases made by Waruddar Better testing - integration and unit tests, revive old tests Sep 20, 2019
@Infernio Infernio added this to the Code Quality milestone Sep 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
goal Long term goal. May be code-related or a meta goal.
Projects
None yet
Development

No branches or pull requests

2 participants