Skip to content

Test Framework #2

@eric-tramel

Description

@eric-tramel

Thanks to @sdrangan (and @mborgerding), we now have some base functionality of the vampyre package! And on the Christmas holidays to boot...

I'm curious about the current framework for tests. Currently, there exist a number of testing functions spread across most of the source code. I'm wondering if we shouldn't look at consolidating all of the test code. Additionally, is it necessary that these tests exist as modules within the package, or should they be completely external to the package?

If they remain internal to the package, then perhaps we can write the module vampyre.test (which already has a bit of a scaffold). If the tests exist outside the package, then all of these tests can be written as individual scripts in the top level test directory. Thanks to nose.collector, running all of the tests can be handled automatically; it seems that the test_version() is duplicating some of this functionality.

If agreed upon, I propose to re-write some of this functionality in whichever direction we want to take it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions